Merge pull request #8 from cbrunet/master
authorTobias Schlitt <toby@php.net>
Wed, 30 Oct 2013 17:32:28 +0000 (10:32 -0700)
committerTobias Schlitt <toby@php.net>
Wed, 30 Oct 2013 17:32:28 +0000 (10:32 -0700)
Corrected bug for Ubuntu 13.10

indicator-chars.py

index 545c2d9..913437b 100755 (executable)
@@ -74,7 +74,6 @@ class IndicatorChars:
 
         # Create menu
         menu = gtk.Menu()
-        self.ind.set_menu(menu)
         
         for charLine in charDef:
             charLine = unicode(charLine)
@@ -111,6 +110,7 @@ class IndicatorChars:
         menu.append(quit_item)
 
         # Show the menu
+        self.ind.set_menu(menu)
         menu.show_all()
 
     def on_char_click(self, widget, char):