# HG changeset patch
# User Adrian Buehlmann <adr...@cadifra.com>
# Date 1252605654 -7200
# Node ID 95c42e4cb54d96c04ccc3e69b26fc89d925982d8
# Parent  6d11661bbb0014393cf15ac206909cf6f69f591a
gdialog: draw checkmarks instead of radio marks on checkmark menu items

"as radio" should only be used for mutually exclusive menu items
(which is not the case here, given current uses of "aschecks").

diff --git a/hggtk/gdialog.py b/hggtk/gdialog.py
--- a/hggtk/gdialog.py
+++ b/hggtk/gdialog.py
@@ -443,7 +443,6 @@ class GDialog(gtk.Window):
                     if aschecks:
                         item = gtk.CheckMenuItem(name)
                         item.set_active(icon_or_var)
-                        item.set_draw_as_radio(True)
                     elif icon_or_var:
                         item = gtk.ImageMenuItem(name)
                         if icon_or_var.startswith('gtk'):

------------------------------------------------------------------------------
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