[moserial] fix invisible menu items
- From: Michael J. Chudobiak <mjc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [moserial] fix invisible menu items
- Date: Wed, 17 Aug 2011 14:34:42 +0000 (UTC)
commit 207f1e074d81bb2a272c7623360db7a5c786d431
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date: Wed Aug 17 10:34:27 2011 -0400
fix invisible menu items
data/glade/moserial.glade | 45 +++++++++++++++++++++++++++++++++++----------
data/glade/moserial.ui | 11 +++++++----
2 files changed, 42 insertions(+), 14 deletions(-)
---
diff --git a/data/glade/moserial.glade b/data/glade/moserial.glade
index fe59f3e..4ca1337 100644
--- a/data/glade/moserial.glade
+++ b/data/glade/moserial.glade
@@ -24,10 +24,16 @@
<property name="visible">True</property>
<child>
<widget class="GtkImageMenuItem" id="menubar_open_settings">
- <property name="label">_Open Settings</property>
+ <property name="label">Open Settings</property>
<property name="visible">True</property>
- <property name="use_underline">True</property>
- <property name="use_stock">True</property>
+ <property name="use_stock">False</property>
+ <property name="always_show_image">True</property>
+ <child internal-child="image">
+ <widget class="GtkImage" id="image3">
+ <property name="visible">True</property>
+ <property name="stock">gtk-open</property>
+ </widget>
+ </child>
</widget>
</child>
<child>
@@ -44,18 +50,30 @@
</child>
<child>
<widget class="GtkImageMenuItem" id="menubar_save_settings">
- <property name="label">_Save Settings</property>
+ <property name="label">Save Settings</property>
<property name="visible">True</property>
- <property name="use_underline">True</property>
- <property name="use_stock">True</property>
+ <property name="use_stock">False</property>
+ <property name="always_show_image">True</property>
+ <child internal-child="image">
+ <widget class="GtkImage" id="image2">
+ <property name="visible">True</property>
+ <property name="stock">gtk-save</property>
+ </widget>
+ </child>
</widget>
</child>
<child>
<widget class="GtkImageMenuItem" id="menubar_save_settings_as">
- <property name="label">Save Settings _As</property>
+ <property name="label">Save Settings As</property>
<property name="visible">True</property>
- <property name="use_underline">True</property>
- <property name="use_stock">True</property>
+ <property name="use_stock">False</property>
+ <property name="always_show_image">True</property>
+ <child internal-child="image">
+ <widget class="GtkImage" id="image1">
+ <property name="visible">True</property>
+ <property name="stock">gtk-save-as</property>
+ </widget>
+ </child>
</widget>
</child>
<child>
@@ -69,6 +87,7 @@
<property name="visible">True</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
+ <property name="always_show_image">True</property>
</widget>
</child>
</widget>
@@ -89,6 +108,7 @@
<property name="visible">True</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
+ <property name="always_show_image">True</property>
</widget>
</child>
<child>
@@ -97,6 +117,7 @@
<property name="visible">True</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
+ <property name="always_show_image">True</property>
</widget>
</child>
<child>
@@ -105,6 +126,7 @@
<property name="visible">True</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
+ <property name="always_show_image">True</property>
</widget>
</child>
<child>
@@ -118,6 +140,7 @@
<property name="visible">True</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
+ <property name="always_show_image">True</property>
</widget>
</child>
</widget>
@@ -138,14 +161,16 @@
<property name="visible">True</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
+ <property name="always_show_image">True</property>
</widget>
</child>
<child>
<widget class="GtkImageMenuItem" id="menubar_contents">
- <property name="label">_Contents</property>
+ <property name="label">gtk-help</property>
<property name="visible">True</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
+ <property name="always_show_image">True</property>
<accelerator key="F1" signal="activate"/>
</widget>
</child>
diff --git a/data/glade/moserial.ui b/data/glade/moserial.ui
index 8d05709..d7e049e 100644
--- a/data/glade/moserial.ui
+++ b/data/glade/moserial.ui
@@ -264,8 +264,9 @@
</child>
<child>
<object class="GtkAction" id="menubar_open_settings">
- <property name="stock_id">_Open Settings</property>
+ <property name="stock_id">gtk-open</property>
<property name="name">menubar_open_settings</property>
+ <property name="label">Open Settings</property>
</object>
</child>
<child>
@@ -276,14 +277,16 @@
</child>
<child>
<object class="GtkAction" id="menubar_save_settings">
- <property name="stock_id">_Save Settings</property>
+ <property name="stock_id">gtk-save</property>
<property name="name">menubar_save_settings</property>
+ <property name="label">Save Settings</property>
</object>
</child>
<child>
<object class="GtkAction" id="menubar_save_settings_as">
- <property name="stock_id">Save Settings _As</property>
+ <property name="stock_id">gtk-save-as</property>
<property name="name">menubar_save_settings_as</property>
+ <property name="label">Save Settings As</property>
</object>
</child>
<child>
@@ -336,7 +339,7 @@
</child>
<child>
<object class="GtkAction" id="menubar_contents">
- <property name="stock_id">_Contents</property>
+ <property name="stock_id">gtk-help</property>
<property name="name">menubar_contents</property>
</object>
<accelerator key="F1"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]