thgconfig: disable Apply button on startup
authorTK Soh <teekaysoh@yahoo.com>
Sat, 05 Jul 2008 04:12:16 +0100
changeset 1174 4b30a3efa4b9
parent 1173 67cb458efa2f
child 1175 340028f30d8f
thgconfig: disable Apply button on startup
hggtk/thgconfig.py
--- a/hggtk/thgconfig.py	Fri Jul 04 01:10:43 2008 +0100
+++ b/hggtk/thgconfig.py	Sat Jul 05 04:12:16 2008 +0100
@@ -295,8 +295,8 @@
         self.fill_frame(self.diff_frame, self._diff_info)
 
         # Force dialog into clean state in the beginning
+        self._refresh_vlist()
         self._btn_apply.set_sensitive(False)
-        self._refresh_vlist()
         self.dirty = False
 
     def _delete(self, widget, event):