[Pkg-bazaar-commits] ./bzr-gtk/unstable r408: Made the close menu item actually appear when the viz is opened from another window.

Daniel Schierbeck daniel.schierbeck at gmail.com
Fri Apr 10 07:44:59 UTC 2009


------------------------------------------------------------
revno: 408
committer: Daniel Schierbeck <daniel.schierbeck at gmail.com>
branch nick: menubar
timestamp: Tue 2007-11-27 22:35:15 +0100
message:
  Made the close menu item actually appear when the viz is opened from another window.
modified:
  viz/branchwin.py
-------------- next part --------------
=== modified file 'viz/branchwin.py'
--- a/viz/branchwin.py	2007-11-27 21:32:37 +0000
+++ b/viz/branchwin.py	2007-11-27 21:35:15 +0000
@@ -121,7 +121,7 @@
         file_menu_quit = gtk.ImageMenuItem(gtk.STOCK_QUIT, self.accel_group)
         file_menu_quit.connect('activate', lambda x: gtk.main_quit())
         
-        if self.parent is not None:
+        if self._parent is not None:
             file_menu.add(file_menu_close)
         file_menu.add(file_menu_quit)
 



More information about the Pkg-bazaar-commits mailing list