ubuntu-project main python module commented code uses wrong nameing convention for preferences dialog
Bug #421648 reported by
Rick Spencer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Quickly |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The main window tries to use SearchyPreferen
Related branches
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 |
Changed in quickly: | |
milestone: | none → 0.2.1 |
Changed in quickly: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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 * ialog, PreferencesMypr ojectDialog encesDialog. NewMyprojectPre ferencesDialog( ) ojectDialog. NewPreferencesM yprojectDialog( ) preferences_ myproject_ dialog. xml: <glade-widget-class title="Myproject Preferences Dialog" name="Preferenc esMyprojectDial og" PreferencesMypr ojectDialog. ui: <object class=" PreferencesMypr ojectDialog" id="preferences _myproject_ dialog" > PreferencesMypr ojectDialog. pyc concordant PreferencesMypr ojectDialog. py:class PreferencesMypr ojectDialog( gtk.Dialog) : PreferencesMypr ojectDialog. py: __gtype_name__ = "PreferencesMyp rojectDialog" PreferencesMypr ojectDialog. py: Creation of a PreferencesMypr ojectDialog requires redeading the associated ui PreferencesMypr ojectDialog. py: and then calling PreferencesMypr ojectDialog. finish_ initializing( ). PreferencesMypr ojectDialog. py: Use the convenience function NewPreferencesM yprojectDialog to create PreferencesMypr ojectDialog. py: self.__record_type = "http:// wiki.ubuntu. com/Quickly/ RecordTypes/ Myproject/ Preferences" PreferencesMypr ojectDialog. py:def NewPreferencesM yprojectDialog( ): PreferencesMypr ojectDialog. py: """NewPreferenc esMyprojectDial og - returns a fully instantiated PreferencesMypr ojectDialog. py: PreferencesMypr ojectDialog object. Use this function rather than PreferencesMypr ojectDialog. py: creating a PreferencesMypr ojectDialog instance directly. PreferencesMypr ojectDialog. py: ui_filename = os.path. join(getdatapat h(), 'ui', 'PreferencesMyp rojectDialog. ui') PreferencesMypr ojectDialog. py: dialog = NewPreferencesM yprojectDialog( )
bin/myproject:from myproject import AboutMyprojectD
bin/myproject: #dlg = MyprojectPrefer
bin/myproject: prefs = PreferencesMypr
data/ui/
data/ui/
Fichier binaire myproject/
myproject/
myproject/
myproject/
myproject/
myproject/
myproject/
myproject/
myproject/
myproject/
myproject/
myproject/
myproject/
I only see this line as a candidate (but it's currently commented): encesDialog. NewMyprojectPre ferencesDialog( )
bin/myproject: #dlg = MyprojectPrefer
but it's in line 51, not 53.