[gnome-mines] Move the fallback app menu to the headerbar



commit bdec2c91549381d1b537ecbc3bfce8be6efbe5f0
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Nov 25 12:59:02 2013 -0600

    Move the fallback app menu to the headerbar

 src/gnome-mines.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-mines.vala b/src/gnome-mines.vala
index e220a40..70d4573 100644
--- a/src/gnome-mines.vala
+++ b/src/gnome-mines.vala
@@ -125,6 +125,7 @@ public class Mines : Gtk.Application
 
         window = new Gtk.ApplicationWindow (this);
         window.title = _("Mines");
+        window.icon_name = "gnome-mines";
         window.configure_event.connect (window_configure_event_cb);
         window.window_state_event.connect (window_state_event_cb);
         window.focus_out_event.connect (window_focus_out_event_cb);
@@ -135,6 +136,7 @@ public class Mines : Gtk.Application
 
         var headerbar = new Gtk.HeaderBar ();
         headerbar.show_close_button = true;
+        headerbar.show_fallback_app_menu = true;
         headerbar.set_title (_("Mines"));
         headerbar.show ();
         window.set_titlebar (headerbar);


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