[gnome-clocks] Expand toolbar buttons
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] Expand toolbar buttons
- Date: Sat, 15 Sep 2012 09:30:06 +0000 (UTC)
commit 2d611bbd5dd73c3f769e19072685cde16efbd77f
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Sep 15 11:28:16 2012 +0200
Expand toolbar buttons
gnomeclocks/app.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomeclocks/app.py b/gnomeclocks/app.py
index bdff31b..ca5bd9c 100644
--- a/gnomeclocks/app.py
+++ b/gnomeclocks/app.py
@@ -163,7 +163,7 @@ class ClockButton(Gtk.RadioButton):
self.label.set_markup(text)
self.add(self.label)
self.set_alignment(0.5, 0.5)
- self.set_size_request(100, 34)
+ self.set_size_request(100, -1)
self.get_style_context().add_class('linked')
if not ClockButton._group:
ClockButton._group = self
@@ -234,7 +234,7 @@ class ClocksToolbar(Gtk.Toolbar):
self.current_view = None
for view in views:
button = ClockButton(view.label)
- self.buttonBox.pack_start(button, False, False, 0)
+ self.buttonBox.pack_start(button, True, True, 0)
button.connect("toggled", self._on_toggled, view)
self.viewsButtons[view] = button
if view.hasSelectionMode:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]