[gnome-system-monitor] Reordered process context menu (bgo#769680)



commit 2d1d00a8e5a375238a0f5049bb0023eaec41d497
Author: Robert Roth <robert roth off gmail com>
Date:   Wed Aug 10 03:52:47 2016 +0300

    Reordered process context menu (bgo#769680)
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769680
    Moved the potentially dangerous menu item farther away
    from the mouse position on right-click, and moved the informative
    actions in their place, so that an accidental click will not have
    severe consequences.

 data/menus.ui |   58 ++++++++++++++++++++++++++++----------------------------
 1 files changed, 29 insertions(+), 29 deletions(-)
---
diff --git a/data/menus.ui b/data/menus.ui
index d81c6d0..61d3a82 100644
--- a/data/menus.ui
+++ b/data/menus.ui
@@ -66,28 +66,21 @@
   <menu id="process-popup-menu">
     <section>
       <item>
-        <attribute name="label" translatable="yes">_Stop</attribute>
-        <attribute name="action">win.send-signal-stop</attribute>
-        <attribute name="accel">&lt;Primary&gt;s</attribute>
-        <attribute name="target" type="i">19</attribute>
-      </item>
-      <item>
-        <attribute name="label" translatable="yes">_Continue</attribute>
-        <attribute name="action">win.send-signal-cont</attribute>
-        <attribute name="accel">&lt;Primary&gt;c</attribute>
-        <attribute name="target" type="i">18</attribute>
+        <attribute name="label" translatable="yes">_Properties</attribute>
+        <attribute name="action">win.process-properties</attribute>
+        <attribute name="accel">&lt;Alt&gt;Return</attribute>
       </item>
+    </section>
+    <section>
       <item>
-        <attribute name="label" translatable="yes">_End</attribute>
-        <attribute name="action">win.send-signal-end</attribute>
-        <attribute name="accel">&lt;Primary&gt;e</attribute>
-        <attribute name="target" type="i">15</attribute>
+        <attribute name="label" translatable="yes">_Memory Maps</attribute>
+        <attribute name="action">win.memory-maps</attribute>
+        <attribute name="accel">&lt;Primary&gt;m</attribute>
       </item>
       <item>
-        <attribute name="label" translatable="yes">_Kill</attribute>
-        <attribute name="action">win.send-signal-kill</attribute>
-        <attribute name="accel">&lt;Primary&gt;k</attribute>
-        <attribute name="target" type="i">9</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">&lt;Primary&gt;o</attribute>
       </item>
     </section>
     <section>
@@ -131,21 +124,28 @@
     </section>
     <section>
       <item>
-        <attribute name="label" translatable="yes">_Memory Maps</attribute>
-        <attribute name="action">win.memory-maps</attribute>
-        <attribute name="accel">&lt;Primary&gt;m</attribute>
+        <attribute name="label" translatable="yes">_Stop</attribute>
+        <attribute name="action">win.send-signal-stop</attribute>
+        <attribute name="accel">&lt;Primary&gt;s</attribute>
+        <attribute name="target" type="i">19</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="action">win.open-files</attribute>
-        <attribute name="accel">&lt;Primary&gt;o</attribute>
+        <attribute name="label" translatable="yes">_Continue</attribute>
+        <attribute name="action">win.send-signal-cont</attribute>
+        <attribute name="accel">&lt;Primary&gt;c</attribute>
+        <attribute name="target" type="i">18</attribute>
       </item>
-    </section>
-    <section>
       <item>
-        <attribute name="label" translatable="yes">_Properties</attribute>
-        <attribute name="action">win.process-properties</attribute>
-        <attribute name="accel">&lt;Alt&gt;Return</attribute>
+        <attribute name="label" translatable="yes">_End</attribute>
+        <attribute name="action">win.send-signal-end</attribute>
+        <attribute name="accel">&lt;Primary&gt;e</attribute>
+        <attribute name="target" type="i">15</attribute>
+      </item>
+      <item>
+        <attribute name="label" translatable="yes">_Kill</attribute>
+        <attribute name="action">win.send-signal-kill</attribute>
+        <attribute name="accel">&lt;Primary&gt;k</attribute>
+        <attribute name="target" type="i">9</attribute>
       </item>
     </section>
   </menu>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]