From f03c284e60d39a58eb10c8d9be7386d01d10a809 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 10 Oct 2013 18:43:13 +0200 Subject: [PATCH] Rational "Month View" label review1128002 --- tryton/gui/window/view_form/view/calendar_gtk/toolbar.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tryton/gui/window/view_form/view/calendar_gtk/toolbar.py b/tryton/gui/window/view_form/view/calendar_gtk/toolbar.py index 30efd2f335..630f7d4feb 100644 --- a/tryton/gui/window/view_form/view/calendar_gtk/toolbar.py +++ b/tryton/gui/window/view_form/view/calendar_gtk/toolbar.py @@ -90,10 +90,8 @@ class Toolbar(gtk.Toolbar): gtk.gdk.MODIFIER_MASK, gtk.ACCEL_VISIBLE) self.insert(week_button, -1) - month_view_label = gtk.Label(_('Month View')) month_button = gtk.RadioToolButton(week_button) - month_button.set_icon_widget(month_view_label) - month_button.set_label(_('month_view')) + month_button.set_label(_('Month View')) month_button.connect("clicked", self.on_month_button_clicked) month_button.add_accelerator("clicked", self.accel_group, gtk.keysyms.m, gtk.gdk.MODIFIER_MASK, gtk.ACCEL_VISIBLE)