# HG changeset patch
# User Yuki KODAMA <endflow....@gmail.com>
# Date 1252080646 -32400
# Node ID ef6f54e8c90391489087ea82ca6687d14531b734
# Parent  39c17db962ddbd8a857a15d8adc19c53c17f895f
history: fix initial state of MQ panel

diff --git a/hggtk/history.py b/hggtk/history.py
--- a/hggtk/history.py
+++ b/hggtk/history.py
@@ -690,7 +690,6 @@
             self.mqpaned = gtk.HPaned()
             self.mqpaned.add1(wrapframe(self.mqwidget))
             self.mqpaned.add2(wrapframe(midpane))
-            gobject.idle_add(lambda: self.mqpaned.set_position(180))

             midpane = self.mqpaned

@@ -1111,11 +1110,7 @@
             self.mqtb.handler_unblock_by_func(self.mq_clicked)

     def mq_clicked(self, toolbutton, data=None):
-        active = self.mqtb.get_active()
-        if active:
-            self.enable_mqpanel(True)
-        else:
-            self.enable_mqpanel(False)
+        self.enable_mqpanel(self.mqtb.get_active())

     def tree_button_press(self, tree, event):
         if event.button == 3 and not (event.state & (gtk.gdk.SHIFT_MASK |

Attachment: thg-kuy_rev3835.patch
Description: Binary data

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to