[Buildbot-commits] buildbot/buildbot/clients gtkPanes.py,1.9,1.10 debug.py,1.2,1.3

Brian Warner warner at users.sourceforge.net
Fri Oct 28 00:02:52 UTC 2005


Update of /cvsroot/buildbot/buildbot/buildbot/clients
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19683/buildbot/clients

Modified Files:
	gtkPanes.py debug.py 
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-404
Creator:  Brian Warner <warner at lothar.com>

fix GUI bugs in debugclient and statusgui

	* buildbot/clients/gtkPanes.py
	(TwoRowClient.remote_builderRemoved): disappearing Builders used
	to cause the app to crash, now they don't.

	* buildbot/clients/debug.py: display the buildmaster's location
	in the window's title bar


Index: debug.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/clients/debug.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- debug.py	25 Oct 2005 01:57:33 -0000	1.2
+++ debug.py	28 Oct 2005 00:02:49 -0000	1.3
@@ -29,6 +29,8 @@
         self.connectbutton = g('connectbutton')
         self.connectlabel = g('connectlabel')
         g('window1').connect('destroy', lambda win: gtk.mainquit())
+        # put the master info in the window's titlebar
+        g('window1').set_title("Buildbot Debug Tool: %s" % master)
         c = xml.signal_connect
         c('do_connect', self.do_connect)
         c('do_reload', self.do_reload)

Index: gtkPanes.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/clients/gtkPanes.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- gtkPanes.py	14 Oct 2005 19:42:40 -0000	1.9
+++ gtkPanes.py	28 Oct 2005 00:02:49 -0000	1.10
@@ -363,8 +363,8 @@
         b.getState()
 
     def remote_builderRemoved(self, buildername):
-        self.builders.remove(buildername)
-        del self.builder_ref[buildername]
+        del self.builders[buildername]
+        self.buildernames.remove(buildername)
         self.rebuildTable()
 
     def remote_builderChangedState(self, name, state, eta):





More information about the Commits mailing list