f-spot r3876 - in trunk/src: . UI.Dialog
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r3876 - in trunk/src: . UI.Dialog
- Date: Wed, 7 May 2008 10:25:59 +0100 (BST)
Author: sdelcroix
Date: Wed May 7 09:25:59 2008
New Revision: 3876
URL: http://svn.gnome.org/viewvc/f-spot?rev=3876&view=rev
Log:
hide the restart-me label if gtk 2.12.2
Modified:
trunk/src/UI.Dialog/PreferenceDialog.cs
trunk/src/f-spot.glade
Modified: trunk/src/UI.Dialog/PreferenceDialog.cs
==============================================================================
--- trunk/src/UI.Dialog/PreferenceDialog.cs (original)
+++ trunk/src/UI.Dialog/PreferenceDialog.cs Wed May 7 09:25:59 2008
@@ -50,6 +50,7 @@
[Glade.Widget] private RadioButton themenone_radio;
[Glade.Widget] private RadioButton themecustom_radio;
[Glade.Widget] private Label themelist_label;
+ [Glade.Widget] private Label restartlabel;
[Glade.Widget] private FileChooserButton theme_filechooser;
[Glade.Widget] private Table theme_table;
private ComboBox themelist_combo;
@@ -131,6 +132,10 @@
theme_filechooser.SelectionChanged += HandleThemeFileActivated;
themecustom_radio.Active = (Preferences.Get (Preferences.GTK_RC) as string != String.Empty);
+#if GTK_2_12_2
+ restartlabel.Visible = false;
+#endif
+
Preferences.SettingChanged += OnPreferencesChanged;
this.Dialog.Destroyed += HandleDestroyed;
}
Modified: trunk/src/f-spot.glade
==============================================================================
--- trunk/src/f-spot.glade (original)
+++ trunk/src/f-spot.glade Wed May 7 09:25:59 2008
@@ -6706,7 +6706,7 @@
</packing>
</child>
<child>
- <widget class="GtkLabel" id="label8">
+ <widget class="GtkLabel" id="restartlabel">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="xpad">12</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]