GTK GUI :

- Use more gtk stock items for the menus
This commit is contained in:
bgk 2008-06-05 08:05:56 +00:00
parent 41b4431506
commit 20def2fca2
1 changed files with 12 additions and 28 deletions

View File

@ -20,16 +20,9 @@
<child> <child>
<widget class="GtkImageMenuItem" id="FileOpen"> <widget class="GtkImageMenuItem" id="FileOpen">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">_Open...</property> <property name="label" translatable="yes">gtk-open</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<accelerator key="O" modifiers="GDK_CONTROL_MASK" signal="activate"/> <property name="use_stock">True</property>
<child internal-child="image">
<widget class="GtkImage" id="menu-item-image4">
<property name="visible">True</property>
<property name="stock">gtk-open</property>
<property name="icon_size">1</property>
</widget>
</child>
</widget> </widget>
</child> </child>
<child> <child>
@ -48,8 +41,9 @@
<child> <child>
<widget class="GtkMenuItem" id="FileSave"> <widget class="GtkMenuItem" id="FileSave">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">_Save...</property> <property name="label" translatable="yes">gtk-save-as</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="use_stock">True</property>
<accelerator key="S" modifiers="GDK_CONTROL_MASK" signal="activate"/> <accelerator key="S" modifiers="GDK_CONTROL_MASK" signal="activate"/>
</widget> </widget>
</child> </child>
@ -274,7 +268,8 @@
<child> <child>
<widget class="GtkCheckMenuItem" id="FilePause"> <widget class="GtkCheckMenuItem" id="FilePause">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">_Pause</property> <property name="label" translatable="yes">gtk-media-pause</property>
<property name="use_stock">True</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<accelerator key="P" modifiers="GDK_CONTROL_MASK" signal="activate"/> <accelerator key="P" modifiers="GDK_CONTROL_MASK" signal="activate"/>
</widget> </widget>
@ -383,30 +378,18 @@
<child> <child>
<widget class="GtkImageMenuItem" id="FileClose"> <widget class="GtkImageMenuItem" id="FileClose">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">_Close</property> <property name="label" translatable="yes">gtk-close</property>
<property name="use_stock">True</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<child internal-child="image">
<widget class="GtkImage" id="menu-item-image5">
<property name="visible">True</property>
<property name="stock">gtk-close</property>
<property name="icon_size">1</property>
</widget>
</child>
</widget> </widget>
</child> </child>
<child> <child>
<widget class="GtkImageMenuItem" id="FileExit"> <widget class="GtkImageMenuItem" id="FileExit">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">_Exit</property> <property name="label" translatable="yes">gtk-quit</property>
<property name="use_stock">True</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<accelerator key="X" modifiers="GDK_CONTROL_MASK" signal="activate"/> <accelerator key="X" modifiers="GDK_CONTROL_MASK" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="menu-item-image6">
<property name="visible">True</property>
<property name="stock">gtk-quit</property>
<property name="icon_size">1</property>
</widget>
</child>
</widget> </widget>
</child> </child>
</widget> </widget>
@ -1593,8 +1576,9 @@
<child> <child>
<widget class="GtkMenuItem" id="HelpMenu"> <widget class="GtkMenuItem" id="HelpMenu">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">_Help</property> <property name="label" translatable="yes">gtk-help</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="use_stock">True</property>
<child> <child>
<widget class="GtkMenu" id="HelpMenu_menu"> <widget class="GtkMenu" id="HelpMenu_menu">
<child> <child>