diff -Nur ibus-1.4.2/ui/gtk/panel.py ibus-1.4.2-new/ui/gtk/panel.py --- ibus-1.4.2/ui/gtk/panel.py 2012-08-22 22:16:51.000000000 +0800 +++ ibus-1.4.2-new/ui/gtk/panel.py 2013-02-08 23:57:47.465504005 +0800 @@ -103,19 +103,6 @@ self.__status_icon = gtk.StatusIcon() - # gnome-shell checks XClassHint.res_class with ShellTrayIcon. - # gtk_status_icon_set_name() can set XClassHint.res_class . - # However gtk_status_icon_new() also calls gtk_window_realize() so - # gtk_status_icon_set_visible() needs to be called to set WM_CLASS - # so that gtk_window_realize() is called later again. - # set_title is for gnome-shell notificationDaemon in bottom right. - self.__status_icon.set_visible(False) - # gtk_status_icon_set_name() is not available in pygtk2 2.17 - if hasattr(self.__status_icon, 'set_name'): - self.__status_icon.set_name('ibus-ui-gtk') - self.__status_icon.set_title(_("IBus Panel")) - # Hide icon until bus get the name owner. - #self.__status_icon.set_visible(True) self.__status_icon.connect("popup-menu", self.__status_icon_popup_menu_cb) self.__status_icon.connect("activate", self.__status_icon_activate_cb) self.__status_icon.set_from_icon_name(ICON_KEYBOARD)