[Pkg-bazaar-commits] ./bzr-gtk/unstable r185: Fix status dialog size.

Jelmer Vernooij jelmer at samba.org
Fri Apr 10 07:49:35 UTC 2009


------------------------------------------------------------
revno: 185
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Wed 2007-03-28 01:43:01 +0200
message:
  Fix status dialog size.
modified:
  status.py
-------------- next part --------------
=== modified file 'status.py'
--- a/status.py	2007-02-03 17:01:18 +0000
+++ b/status.py	2007-03-27 23:43:01 +0000
@@ -22,13 +22,12 @@
 
 import gtk
 
-class StatusDialog(gtk.MessageDialog):
+class StatusDialog(gtk.Dialog):
     """ Display Status window and perform the needed actions. """
     def __init__(self, wt, wtpath):
         """ Initialize the Status window. """
-        super(StatusDialog, self).__init__(flags=gtk.DIALOG_MODAL, buttons=gtk.BUTTONS_OK)
+        super(StatusDialog, self).__init__(flags=gtk.DIALOG_MODAL, buttons=(gtk.STOCK_OK, gtk.RESPONSE_ACCEPT))
         self.set_title("Working tree changes")
-        self.set_image(gtk.Label("Working tree status"))
         self._create()
         self.wt = wt
         self.wtpath = wtpath



More information about the Pkg-bazaar-commits mailing list