[jokosher-devel] [PATCH] recent project menu items tooltips, about dialog close button
- From: John Kelly <kelly_worth2003 yahoo co uk>
- To: Jokosher development list <jokosher-devel-list gnome org>
- Subject: [jokosher-devel] [PATCH] recent project menu items tooltips, about dialog close button
- Date: Mon, 30 Oct 2006 21:39:01 +0000
Hello everyone,
Two very minor changes. John Green tested out the about dialog patch and reported no problems with it.
The recent project menu items now have tooltips containing a label on where the project is stored.
John.
Index: JokosherApp.py
===================================================================
--- JokosherApp.py (revision 856)
+++ JokosherApp.py (working copy)
@@ -265,6 +265,8 @@
dlg = aboutTree.get_widget("AboutDialog")
dlg.set_transient_for(self.window)
dlg.set_icon(self.icon)
+ dlg.run()
+ dlg.destroy()
#_____________________________________________________________________
@@ -717,10 +719,12 @@
menuitems = self.recentprojectsmenu.get_children()
for c in menuitems:
self.recentprojectsmenu.remove(c)
-
+
+ tooltips = gtk.Tooltips()
if self.recentprojectitems:
for item in self.recentprojectitems:
mitem = gtk.MenuItem(item[1])
+ tooltips.set_tip(mitem, item[0], None)
self.recentprojectsmenu.append(mitem)
mitem.connect("activate", self.OnRecentProjectsItem, item[0], item[1])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]