[cheese/camerabin2-format: 6/27] Stop warnings caused by the mode buttons
- From: Oleksij Rempel <orempel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese/camerabin2-format: 6/27] Stop warnings caused by the mode buttons
- Date: Sat, 24 Mar 2012 08:29:07 +0000 (UTC)
commit 24a5cb252dd034178aae268f33d061ab8e1f7261
Author: Bastien Nocera <hadess hadess net>
Date: Mon Mar 12 15:52:56 2012 +0100
Stop warnings caused by the mode buttons
Once we've set the related action, the label will have been synced, and
we won't be able to add an image to the button.
Setting "use-action-appearance" to False before setting the
related-action works around the problem. See GTK+ bug 671912.
https://bugzilla.gnome.org/show_bug.cgi?id=671913
data/cheese-main-window.ui | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/cheese-main-window.ui b/data/cheese-main-window.ui
index a435114..bdc84c5 100644
--- a/data/cheese-main-window.ui
+++ b/data/cheese-main-window.ui
@@ -50,8 +50,8 @@
<property name="column-spacing">2</property>
<child>
<object class="GtkToggleButton" id="photo_toggle_button">
- <property name="related-action">photo_mode</property>
<property name="use-action-appearance">False</property>
+ <property name="related-action">photo_mode</property>
<property name="tooltip_text" translatable="yes">Photo mode</property>
<child>
<object class="GtkImage" id="photo_toggle_button_image">
@@ -62,8 +62,8 @@
</child>
<child>
<object class="GtkToggleButton" id="video_toggle_button">
- <property name="related-action">video_mode</property>
<property name="use-action-appearance">False</property>
+ <property name="related-action">video_mode</property>
<property name="tooltip_text" translatable="yes">Video mode</property>
<child>
<object class="GtkImage" id="video_toggle_button_image">
@@ -74,8 +74,8 @@
</child>
<child>
<object class="GtkToggleButton" id="burst_toggle_button">
- <property name="related-action">burst_mode</property>
<property name="use-action-appearance">False</property>
+ <property name="related-action">burst_mode</property>
<property name="tooltip_text" translatable="yes">Photo burst mode</property>
<child>
<object class="GtkImage" id="burst_toggle_button_image">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]