[gnome-boxes] actions-popover: "Take Screenshot" for displays only
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] actions-popover: "Take Screenshot" for displays only
- Date: Tue, 12 Sep 2017 09:19:17 +0000 (UTC)
commit 9be60f9712e62eefbc796a2d8db7dee60347968a
Author: Felipe Borges <felipeborges gnome org>
Date: Mon Jun 5 10:57:57 2017 +0200
actions-popover: "Take Screenshot" for displays only
Don't show the "Take Screenshot" option action in the overview.
https://bugzilla.gnome.org/show_bug.cgi?id=783423
src/actions-popover.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/actions-popover.vala b/src/actions-popover.vala
index 4281b27..1f7b6ce 100644
--- a/src/actions-popover.vala
+++ b/src/actions-popover.vala
@@ -43,6 +43,9 @@ private class Boxes.ActionsPopover: Gtk.Popover {
section.append (_("Open in New Window"), "box.open-in-new-win");
var action = action_group.lookup_action ("open-in-new-win") as GLib.SimpleAction;
action.set_enabled (!importing);
+ } else {
+ // Take Screenshot
+ section.append (_("Take Screenshot"), "box.take_screenshot");
}
// Favorite
@@ -52,9 +55,6 @@ private class Boxes.ActionsPopover: Gtk.Popover {
section.append (_("Add to Favorites"), "box.favorite");
menu.append_section (null, section);
- // Take Screenshot
- section.append (_("Take Screenshot"), "box.take_screenshot");
-
// New section for force shutdown, pause and delete
section = new GLib.Menu ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]