AttributeError: 'DrawersWindow' object has no attribute 'title'

Bug #1244048 reported by Luke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drawers
Fix Released
High
Unassigned

Bug Description

I get the following exception when creating a new AppMenu Drawer:

Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/drawers/drawers/DrawersWindow.py", line 287, in appmenudrawer
    self.on_preferences_activate(None)
  File "/opt/extras.ubuntu.com/drawers/drawers/DrawersWindow.py", line 262, in on_preferences_activate
    self.title.set_text(prefwindow.name)
AttributeError: 'DrawersWindow' object has no attribute 'title'

To reproduce:
Open main Drawers dialog;
Select "Create an AppMenu Drawer"
Change the Drawer Name field from Applications to something else.
Click the Close button.

Tested on Ubuntu 12.04 and 13.10

icb410 (ian-berke)
Changed in drawers:
status: New → Triaged
Revision history for this message
Luke (tiliqua-au) wrote :

To fix, change line 262 in DrawersWindow.py form self.title.set_text(prefwindow.name) to self.set_title(prefwindow.name)

Revision history for this message
icb410 (ian-berke) wrote :

Thanks Luke! I am working on an update and will incorporate this fix.

Changed in drawers:
status: Triaged → In Progress
importance: Undecided → High
icb410 (ian-berke)
Changed in drawers:
status: In Progress → Fix Committed
icb410 (ian-berke)
Changed in drawers:
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.