[gedit-latex] Fix RadioMenuItem inizialization - close bugzilla bug #667096



commit f750fe41a5e36e487e718d893b8aba5bee522444
Author: Pietro Battiston <me pietrobattiston it>
Date:   Thu Oct 18 20:33:00 2012 +0200

    Fix RadioMenuItem inizialization - close bugzilla bug #667096

 latex/bibtex/views.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/latex/bibtex/views.py b/latex/bibtex/views.py
index 96252b0..7b164ed 100644
--- a/latex/bibtex/views.py
+++ b/latex/bibtex/views.py
@@ -53,7 +53,7 @@ class BibTeXOutlineView(BaseOutlineView):
 
         # add grouping controls to toolbar
 
-        self._item_none = Gtk.RadioMenuItem.new_with_label(None, _("No Grouping"))
+        self._item_none = Gtk.RadioMenuItem.new_with_label([], _("No Grouping"))
         self._item_type = Gtk.RadioMenuItem.new_with_label((self._item_none,), _("Group by Type"))
         self._item_author = Gtk.RadioMenuItem.new_with_label((self._item_none,), _("Group by Author"))
         self._item_year = Gtk.RadioMenuItem.new_with_label((self._item_none,), _("Group by Year"))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]