smart+question
Hi nkour,
here is the proposed patch against 0.8.2, and you have to change this (according to the conversation just now on gajim@conferences.jabber.no) in the gtkgui.glade file next to the edit menu. (Sorry no patch, cause I'm using glade-2 and it's breaking everything...the diff is just to nasty to paste here ;))
<child> <widget class="GtkMenuItem" id="help_menu"> <property name="visible">True</property> <property name="label" translatable="yes">_Help</property> <property name="use_underline">True</property>
\<child>
\<widget class="GtkMenu" id="help_menu_menu">
\<child>
\<widget class="GtkMenuItem" id="about_menu_item">
\<property name="visible">True\</property>
\<property name="label" translatable="yes">_About\</property>
\<property name="use_underline">True\</property>
\<signal name="activate" handler="on_about_menuitem_activate" last_modification_time="Fri, 09 Sep 2005 17:32:16 GMT"/>
\</widget>
\</child>
\</widget>
diff -ur gajim-0.8.2.orig/src/roster_window.py gajim-0.8.2.orig.patch/src/roster_window.py --- gajim-0.8.2.orig/src/roster_window.py 2005-09-06 15:30:15.000000000 +0000 +++ gajim-0.8.2.orig.patch/src/roster_window.py 2005-09-09 17:41:43.099510216 +0000 @@ -39,6 +39,13 @@ from common import helpers from common import i18n
+try:
-
import LaunchpadIntegration
-
launchpad = True
+except ImportError:
-
launchpad = False
-
pass
_ = i18n._ APP = i18n.APP gtk.glade.bindtextdomain(APP, i18n.DIR) @@ -2034,10 +2041,23 @@ start = '* ' self.window.set_title(start + 'Gajim')
-
def setupLaunchpadIntegration(self):
-
widget = self.xml.get_widget('help_menu_menu')
-
LaunchpadIntegration.set_sourcepackagename('gajim')
-
LaunchpadIntegration.add_items(widget,1,True,False)
-
def __init__(self, plugin): self.xml = gtk.glade.XML(GTKGUI_GLADE, 'roster_window', APP) self.window = self.xml.get_widget('roster_window') self.tree = self.xml.get_widget('roster_treeview')
-
#
-
# added by sh@sourcecode.de
-
# 2005-09-09
-
#
-
if launchpad:
-
self.setupLaunchpadIntegration()
-
self.plugin = plugin self.nb_unread = 0 self.last_save_dir = None