[Pkg-bazaar-commits] ./bzr-gtk/unstable r378: Changed variable names.

Daniel Schierbeck daniel.schierbeck at gmail.com
Fri Apr 10 07:50:09 UTC 2009


------------------------------------------------------------
revno: 378
committer: Daniel Schierbeck <daniel.schierbeck at gmail.com>
branch nick: menubar
timestamp: Thu 2007-11-08 17:41:15 +0100
message:
  Changed variable names.
modified:
  viz/branchwin.py
-------------- next part --------------
=== modified file 'viz/branchwin.py'
--- a/viz/branchwin.py	2007-11-08 16:39:51 +0000
+++ b/viz/branchwin.py	2007-11-08 16:41:15 +0000
@@ -151,15 +151,15 @@
         
         next_image = gtk.Image()
         next_image.set_from_stock(gtk.STOCK_GO_UP, gtk.ICON_SIZE_MENU)
-        go_menu_forward = gtk.ImageMenuItem("_Next Revision")
-        go_menu_forward.set_image(next_image)
-        go_menu_forward.connect("activate", self._fwd_clicked_cb)
+        go_menu_next = gtk.ImageMenuItem("_Next Revision")
+        go_menu_next.set_image(next_image)
+        go_menu_next.connect("activate", self._fwd_clicked_cb)
 
         prev_image = gtk.Image()
         prev_image.set_from_stock(gtk.STOCK_GO_DOWN, gtk.ICON_SIZE_MENU)
-        go_menu_back = gtk.ImageMenuItem("_Previous Revision")
-        go_menu_back.set_image(prev_image)
-        go_menu_back.connect("activate", self._back_clicked_cb)
+        go_menu_prev = gtk.ImageMenuItem("_Previous Revision")
+        go_menu_prev.set_image(prev_image)
+        go_menu_prev.connect("activate", self._back_clicked_cb)
 
         tags_menu = gtk.Menu()
         go_menu_tags = gtk.MenuItem("_Tags")
@@ -171,8 +171,8 @@
                 tag_item.connect('activate', self._tag_selected_cb, revid)
                 tags_menu.add(tag_item)
 
-        go_menu.add(go_menu_forward)
-        go_menu.add(go_menu_back)
+        go_menu.add(go_menu_next)
+        go_menu.add(go_menu_prev)
         go_menu.add(gtk.SeparatorMenuItem())
         go_menu.add(go_menu_tags)
 



More information about the Pkg-bazaar-commits mailing list