Cannot run dbx_preference if selected theme is missing

Bug #908761 reported by Faheem Pervez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DockbarX
New
Undecided
Unassigned

Bug Description

Hi,

Minor bug: If you install an external theme (in my case it was the Deep theme), choose it from the preferences, close the preferences window, remove the external theme and then try to open up dbx_preference again, you'll be greeted with the following:

Traceback (most recent call last):
  File "/usr/bin/dbx_preference", line 2032, in <module>
    PrefDialog()
  File "/usr/bin/dbx_preference", line 219, in __init__
    self.popup_style = PopupStyle()
  File "/usr/lib/python2.7/site-packages/dockbarx/theme.py", line 382, in __init__
    self.on_style_changed()
  File "/usr/lib/python2.7/site-packages/dockbarx/theme.py", line 407, in on_style_changed
    elif self.globals.default_popup_style in styles:
AttributeError: 'Globals' object has no attribute 'default_popup_style'

Running "gconftool-2 -s /apps/dockbarx/theme -t string DBX" allowed me to launch dbx_preference again.

Reproducibility: Always (run "gconftool-2 -s /apps/dockbarx/theme -t string DBX1", for example)
Running: DockbarX BZR revision 479 in Xfce (Xfapplet) on Arch Linux

Thanks for DockbarX.

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.