[gnome-system-monitor] Small improvements for the context menu
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-monitor] Small improvements for the context menu
- Date: Wed, 14 Aug 2013 21:06:45 +0000 (UTC)
commit d096e0353bb4117b6672d518f3432487c78d4d20
Author: Stefano Facchini <stefano facchini gmail com>
Date: Wed Aug 14 15:00:40 2013 +0200
Small improvements for the context menu
Namely:
* Remove a useless separator between signal menu items.
* Add <Alt>Return as keyboard shortcut for process properties
https://bugzilla.gnome.org/show_bug.cgi?id=705989
data/menus.ui | 3 +--
src/application.cpp | 1 +
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/menus.ui b/data/menus.ui
index 844e86c..3aadc3d 100644
--- a/data/menus.ui
+++ b/data/menus.ui
@@ -77,8 +77,6 @@
<attribute name="accel"><Primary>c</attribute>
<attribute name="target" type="i">18</attribute>
</item>
- </section>
- <section>
<item>
<attribute name="label" translatable="yes">_End</attribute>
<attribute name="action">win.send-signal-end</attribute>
@@ -146,6 +144,7 @@
<item>
<attribute name="label" translatable="yes">_Properties</attribute>
<attribute name="action">win.process-properties</attribute>
+ <attribute name="accel"><Alt>Return</attribute>
</item>
</section>
</menu>
diff --git a/src/application.cpp b/src/application.cpp
index 4961f28..cdc87ec 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -383,6 +383,7 @@ void GsmApplication::on_startup()
add_accelerator("<Primary>e", "win.send-signal-end", g_variant_new_int32(SIGTERM));
add_accelerator("<Primary>k", "win.send-signal-kill", g_variant_new_int32 (SIGKILL));
add_accelerator("<Primary>m", "win.memory-maps", NULL);
+ add_accelerator("<Alt>Return", "win.process-properties", NULL);
add_accelerator("<Primary>f", "win.search", NULL);
Gtk::Window::set_default_icon_name ("utilities-system-monitor");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]