[Aptitude-devel] [PATCH 4 of 4] Use Undo stock which underlines the U

Luca Bruno lethalman88 at gmail.com
Sat Jan 3 20:24:18 UTC 2009


# HG changeset patch
# User Luca Bruno <lethalman88 at gmail.com>
# Date 1231014220 -3600
# Node ID b1c2edd67fbcecafecdf3c2784fa4f4b2462e136
# Parent  9ef32aef4bd5cea4e79503cbc39566378ad1c8b1
Use Undo stock which underlines the U.
* aptitude.glade:
  Having the same accelerator as Update Package List is not a problem as
  they are inside different menus and doesn't affect key bindings. People
  would expect the underlined U from a default GUI.

diff --git a/src/gtk/aptitude.glade b/src/gtk/aptitude.glade
--- a/src/gtk/aptitude.glade
+++ b/src/gtk/aptitude.glade
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
-<!--Generated with glade3 3.4.5 on Sat Jan  3 21:20:22 2009 -->
+<!--Generated with glade3 3.4.5 on Sat Jan  3 21:21:28 2009 -->
 <glade-interface>
   <widget class="GtkWindow" id="main_window">
     <property name="title" translatable="yes">Aptitude Package Manager</property>
@@ -218,14 +218,9 @@
                       <widget class="GtkImageMenuItem" id="menu_undo_undo">
                         <property name="visible">True</property>
                         <property name="tooltip" translatable="yes">Undo the last package operation or group of operations</property>
-                        <property name="label" translatable="yes">Undo</property>
+                        <property name="label" translatable="yes">gtk-undo</property>
                         <property name="use_underline">True</property>
-                        <child internal-child="image">
-                          <widget class="GtkImage" id="menu-item-image17">
-                            <property name="stock">gtk-undo</property>
-                            <property name="icon_size">1</property>
-                          </widget>
-                        </child>
+                        <property name="use_stock">True</property>
                       </widget>
                     </child>
                     <child>



More information about the Aptitude-devel mailing list