Comment 1 for bug 374850

Revision history for this message
Eemil Lagerspetz (eemil-lagerspetz) wrote :

Probably related: When I rundockbarx.py run-in-window, I get:

$ dockbarx.py run-in-window
dockbar init
Traceback (most recent call last):
  File "/usr/bin/dockbarx.py", line 2837, in <module>
    dockbarwin = DockBarWindow()
  File "/usr/bin/dockbarx.py", line 2808, in __init__
    self.dockbar = DockBar(None)
  File "/usr/bin/dockbarx.py", line 2544, in __init__
    self.window_opened(self.screen, window)
  File "/usr/bin/dockbarx.py", line 2776, in window_opened
    self.groups.add_group(class_group_name, GroupButton(self,class_group))
  File "/usr/bin/dockbarx.py", line 1271, in __init__
    self.button.drag_source_set_icon_pixbuf(self.icon_factory.find_icon_pixbuf(32))
  File "/usr/bin/dockbarx.py", line 266, in find_icon_pixbuf
    if self.icon_theme.has_icon(icon_name):
UnboundLocalError: local variable 'icon_name' referenced before assignment