Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bugs with the new unity and gnome shell

  • Loading branch information...
commit bfbf21331e91681dc257e74e36f16101c45d2cec 1 parent c6267b9
@chuchiperriman authored
View
4 src/cloudsn/core/notification.py
@@ -43,6 +43,10 @@ def notify_process ():
# else:
# return
+ if not Notify.is_initted():
+ logger.warn('The notification library has not been initialized yet')
+ return
+
while len(notifications) > 0:
n = notifications.pop(0)
#n.connect("closed", notify_closed_cb)
View
4 src/cloudsn/ui/indicators/statusicon.py
@@ -31,7 +31,7 @@ def get_name(self):
def create_main_menu(self):
indmenu = Gtk.Menu()
- indmenuItem = Gtk.MenuItem("")
+ indmenuItem = Gtk.MenuItem("---")
indmenuItem.get_child().set_markup("<b>%s</b>" % (APP_LONG_NAME))
indmenuItem.connect('activate', self.preferences_cb, self.statusIcon)
#indmenuItem.set_sensitive(False)
@@ -42,7 +42,7 @@ def create_main_menu(self):
def create_pref_menu(self):
menu = Gtk.Menu()
menuItem = Gtk.ImageMenuItem.new_from_stock(Gtk.STOCK_REFRESH, None)
- menuItem.get_child().set_text(_("Update accounts"))
+ menuItem.set_label(_("Update accounts"))
menuItem.connect('activate', self.update_accounts_cb, self.statusIcon)
menu.append(menuItem)
menuItem = Gtk.ImageMenuItem.new_from_stock(Gtk.STOCK_PREFERENCES, None)
Please sign in to comment.
Something went wrong with that request. Please try again.