[Buildbot-commits] buildbot/contrib bb_applet.py,1.1,1.2

Brian Warner warner at users.sourceforge.net
Tue Jan 23 08:01:37 UTC 2007


Update of /cvsroot/buildbot/buildbot/contrib
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20622/contrib

Modified Files:
	bb_applet.py 
Log Message:
[project @ bb_applet.py: add dots, swap columns left-right]

Original author: warner at lothar.com
Date: 2007-01-23 07:28:57

Index: bb_applet.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/contrib/bb_applet.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- bb_applet.py	23 Jan 2007 07:19:56 -0000	1.1
+++ bb_applet.py	23 Jan 2007 08:01:35 -0000	1.2
@@ -67,7 +67,7 @@
 
     def create(self):
         self.vbox = gtk.VBox(False)
-        l = gtk.Label("")
+        l = gtk.Label(".")
         self.current_box = box = gtk.EventBox()
         # these size requests are somewhat non-deterministic. I think it
         # depends upon how large label is, or how much space was already
@@ -78,13 +78,13 @@
         self.current_box.modify_bg(gtk.STATE_NORMAL,
                                    gtk.gdk.color_parse("gray50"))
 
-        l2 = gtk.Label("")
+        l2 = gtk.Label(".")
         self.last_box = gtk.EventBox()
         self.current_box.set_size_request(self.hslice, self.size * 0.25)
         self.last_box.add(l2)
         self.vbox.pack_end(self.last_box, True, True)
         self.vbox.show_all()
-        self.hbox.pack_end(self.vbox, True, True)
+        self.hbox.pack_start(self.vbox, True, True)
 
     def remove(self):
         self.hbox.remove(self.box)





More information about the Commits mailing list