ubuntu-project main python module commented code uses wrong nameing convention for preferences dialog

Bug #421648 reported by Rick Spencer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Quickly
Fix Released
Undecided
Unassigned

Bug Description

The main window tries to use SearchyPreferencesSearchyDialogDialog instead of PreferencesSearchyDialog, see line 53 of generated code.

summary: - main python module commented code uses wront nameing convention for
- preferences
+ ubuntu-project main python module commented code uses wrong nameing
+ convention for preferences dialog
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

I don't find where you had this bug.
Here are the result files once "MyProject" was created:

didrocks@didrocks-karmic:~/local/sandbox/MyProject$ grep -r Preferences *
bin/myproject:from myproject import AboutMyprojectDialog, PreferencesMyprojectDialog
bin/myproject: #dlg = MyprojectPreferencesDialog.NewMyprojectPreferencesDialog()
bin/myproject: prefs = PreferencesMyprojectDialog.NewPreferencesMyprojectDialog()
data/ui/preferences_myproject_dialog.xml: <glade-widget-class title="Myproject Preferences Dialog" name="PreferencesMyprojectDialog"
data/ui/PreferencesMyprojectDialog.ui: <object class="PreferencesMyprojectDialog" id="preferences_myproject_dialog">
Fichier binaire myproject/PreferencesMyprojectDialog.pyc concordant
myproject/PreferencesMyprojectDialog.py:class PreferencesMyprojectDialog(gtk.Dialog):
myproject/PreferencesMyprojectDialog.py: __gtype_name__ = "PreferencesMyprojectDialog"
myproject/PreferencesMyprojectDialog.py: Creation of a PreferencesMyprojectDialog requires redeading the associated ui
myproject/PreferencesMyprojectDialog.py: and then calling PreferencesMyprojectDialog.finish_initializing().
myproject/PreferencesMyprojectDialog.py: Use the convenience function NewPreferencesMyprojectDialog to create
myproject/PreferencesMyprojectDialog.py: self.__record_type = "http://wiki.ubuntu.com/Quickly/RecordTypes/Myproject/Preferences"
myproject/PreferencesMyprojectDialog.py:def NewPreferencesMyprojectDialog():
myproject/PreferencesMyprojectDialog.py: """NewPreferencesMyprojectDialog - returns a fully instantiated
myproject/PreferencesMyprojectDialog.py: PreferencesMyprojectDialog object. Use this function rather than
myproject/PreferencesMyprojectDialog.py: creating a PreferencesMyprojectDialog instance directly.
myproject/PreferencesMyprojectDialog.py: ui_filename = os.path.join(getdatapath(), 'ui', 'PreferencesMyprojectDialog.ui')
myproject/PreferencesMyprojectDialog.py: dialog = NewPreferencesMyprojectDialog()

I only see this line as a candidate (but it's currently commented):
bin/myproject: #dlg = MyprojectPreferencesDialog.NewMyprojectPreferencesDialog()
but it's in line 51, not 53.

Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :

Fixed in revision 279

Changed in quickly:
status: New → Fix Committed
Changed in quickly:
milestone: none → 0.2.1
Changed in quickly:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.