[gnome-system-monitor] Added shortcut for process open files
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-monitor] Added shortcut for process open files
- Date: Wed, 14 Aug 2013 21:11:28 +0000 (UTC)
commit b466089c305efd1e9648417acababcc96c15ef01
Author: Robert Roth <robert roth off gmail com>
Date: Thu Aug 15 00:11:16 2013 +0300
Added shortcut for process open files
data/menus.ui | 3 ++-
src/application.cpp | 1 +
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/data/menus.ui b/data/menus.ui
index 3aadc3d..7bd0e47 100644
--- a/data/menus.ui
+++ b/data/menus.ui
@@ -136,8 +136,9 @@
<attribute name="accel"><Primary>m</attribute>
</item>
<item>
- <attribute name="label" translatable="yes" comments="Translators: this means 'Files that are open'
(open is not a verb here)">Open _Files</attribute>
+ <attribute name="label" translatable="yes" comments="Translators: this means 'Files that are open'
(open is not a verb here)">Open _Files</attribute>
<attribute name="action">win.open-files</attribute>
+ <attribute name="accel"><Primary>o</attribute>
</item>
</section>
<section>
diff --git a/src/application.cpp b/src/application.cpp
index cdc87ec..7b62f48 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("<Primary>o", "win.open-files", NULL);
add_accelerator("<Alt>Return", "win.process-properties", NULL);
add_accelerator("<Primary>f", "win.search", NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]