[gnome-clocks] Make sure toolbar can be grabbed to unmaximize
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] Make sure toolbar can be grabbed to unmaximize
- Date: Fri, 17 Aug 2012 07:41:33 +0000 (UTC)
commit a497ed0861e21c2380e8bf1c5285cef8c493383f
Author: Paolo Borelli <pborelli gnome org>
Date: Fri Aug 17 09:39:57 2012 +0200
Make sure toolbar can be grabbed to unmaximize
gnomeclocks/app.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gnomeclocks/app.py b/gnomeclocks/app.py
index bdaeb95..cdb3048 100644
--- a/gnomeclocks/app.py
+++ b/gnomeclocks/app.py
@@ -141,6 +141,9 @@ class ClocksToolbar(Gtk.Toolbar):
Gtk.Toolbar.__init__(self)
self.get_style_context().add_class("clocks-toolbar")
+ self.set_icon_size(Gtk.IconSize.MENU)
+ self.get_style_context ().add_class(Gtk.STYLE_CLASS_MENUBAR)
+
toolitem = Gtk.ToolItem()
toolitem.set_expand(True)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]