[iagno] Move fallback app menu to the headerbar
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [iagno] Move fallback app menu to the headerbar
- Date: Mon, 25 Nov 2013 19:26:30 +0000 (UTC)
commit c958fa9319f3b9257bb47d8a5195a4a02fffa80b
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Mon Nov 25 13:10:12 2013 -0600
Move fallback app menu to the headerbar
src/iagno.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/iagno.vala b/src/iagno.vala
index ccb30b8..8d94a63 100644
--- a/src/iagno.vala
+++ b/src/iagno.vala
@@ -88,6 +88,7 @@ public class Iagno : Gtk.Application
var top_grid = builder.get_object ("grid") as Gtk.Grid;
window = builder.get_object ("window") as Gtk.Window;
window.set_title (_("Iagno"));
+ window.icon_name = "iagno";
window.configure_event.connect (window_configure_event_cb);
window.window_state_event.connect (window_state_event_cb);
window.set_default_size (settings.get_int ("window-width"), settings.get_int ("window-height"));
@@ -98,6 +99,7 @@ public class Iagno : Gtk.Application
var headerbar = new Gtk.HeaderBar ();
headerbar.show_close_button = true;
+ headerbar.show_fallback_app_menu = true;
headerbar.set_title (_("Iagno"));
headerbar.show ();
window.set_titlebar (headerbar);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]