[gnome-boxes] app: Remove 'New' entry from global menu
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] app: Remove 'New' entry from global menu
- Date: Wed, 7 May 2014 16:43:21 +0000 (UTC)
commit 716bdac63b05cd2fef2bc1e32085d7a90afbb1b4
Author: Lasse Schuirmann <lasse schuirmann gmail com>
Date: Wed May 7 11:18:13 2014 +0200
app: Remove 'New' entry from global menu
The 'New' operation is context-sensitive and therefore does not belong
here.
https://bugzilla.gnome.org/show_bug.cgi?id=729259
src/app.vala | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/app.vala b/src/app.vala
index 4ac2474..4c9a5c2 100644
--- a/src/app.vala
+++ b/src/app.vala
@@ -54,10 +54,6 @@ private class Boxes.App: Gtk.Application, Boxes.UI {
action.activate.connect (() => { quit_app (); });
add_action (action);
- action = new GLib.SimpleAction ("new", null);
- action.activate.connect (() => { set_state (UIState.WIZARD); });
- add_action (action);
-
action = new GLib.SimpleAction ("select-all", null);
action.activate.connect (() => { window.view.select (SelectionCriteria.ALL); });
add_action (action);
@@ -120,11 +116,6 @@ private class Boxes.App: Gtk.Application, Boxes.UI {
Gtk.init (ref args2);
var menu = new GLib.Menu ();
- menu.append (_("New"), "app.new");
-
- var display_section = new GLib.Menu ();
- menu.append_section (null, display_section);
-
menu.append (_("Help"), "app.help");
menu.append (_("About"), "app.about");
menu.append (_("Quit"), "app.quit");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]