[california] Fix the size of the window menu
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [california] Fix the size of the window menu
- Date: Tue, 10 Jun 2014 21:32:38 +0000 (UTC)
commit 4984f5856ab8f0d923d73712c42fb05192b912c6
Author: Yosef Or Boczko <yoseforb src gnome org>
Date: Fri Jun 6 08:38:23 2014 +0300
Fix the size of the window menu
https://bugzilla.gnome.org/show_bug.cgi?id=731316
src/host/host-main-window.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/host/host-main-window.vala b/src/host/host-main-window.vala
index 8b32178..7bed590 100644
--- a/src/host/host-main-window.vala
+++ b/src/host/host-main-window.vala
@@ -206,8 +206,9 @@ public class MainWindow : Gtk.ApplicationWindow {
calendars.set_action_name(Application.DETAILED_ACTION_CALENDAR_MANAGER);
Gtk.MenuButton window_menu = new Gtk.MenuButton();
+ window_menu.valign = Gtk.Align.CENTER;
window_menu.menu_model = Resource.load<MenuModel>("window-menu.interface", "window-menu");
- window_menu.add(new Gtk.Image.from_icon_name("emblem-system-symbolic", Gtk.IconSize.SMALL_TOOLBAR));
+ window_menu.image = new Gtk.Image.from_icon_name("emblem-system-symbolic", Gtk.IconSize.MENU);
// Vertically center all buttons and put them in a SizeGroup to handle situations where
// the text button is smaller than the icons buttons due to language (i.e. Hebrew)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]