[gnome-boxes] actions-popover: More separation of options
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] actions-popover: More separation of options
- Date: Tue, 28 Apr 2015 13:59:33 +0000 (UTC)
commit 934b11c924bb61b2b43da244bad4159a4f024f11
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Apr 28 14:56:38 2015 +0100
actions-popover: More separation of options
Lets put "Pause", "Delete" and "Force shutdown" in a separate section.
https://bugzilla.gnome.org/show_bug.cgi?id=748537
src/actions-popover.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/actions-popover.vala b/src/actions-popover.vala
index 39adc0e..287959c 100644
--- a/src/actions-popover.vala
+++ b/src/actions-popover.vala
@@ -42,6 +42,10 @@ private class Boxes.ActionsPopover: Gtk.Popover {
section.append (_("Remove from Favorites"), "box.favorite");
else
section.append (_("Add to Favorites"), "box.favorite");
+ menu.append_section (null, section);
+
+ // New section for force shutdown, pause and delete
+ section = new GLib.Menu ();
if (machine is LibvirtMachine) {
section.append (_("Force Shutdown"), "box.force_shutdown");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]