f-spot r4287 - in trunk/src: . UI.Dialog



Author: sdelcroix
Date: Fri Aug 22 11:43:19 2008
New Revision: 4287
URL: http://svn.gnome.org/viewvc/f-spot?rev=4287&view=rev

Log:
hide the gtkrc selection button if we're not running in --debug mode


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	Fri Aug 22 11:43:19 2008
@@ -53,6 +53,7 @@
 		[Glade.Widget] private RadioButton themecustom_radio;
 		[Glade.Widget] private Label themelist_label;
 		[Glade.Widget] private Label restartlabel;
+		[Glade.Widget] private Label themefile_label;
 		[Glade.Widget] private FileChooserButton theme_filechooser;
 		[Glade.Widget] private Table theme_table;
 		[Glade.Widget] private Button refreshtheme_button;
@@ -132,6 +133,8 @@
 			theme_table.Attach (themelist_combo, 2, 3, 0, 1);
 			themelist_combo.Changed += HandleThemeComboChanged;
 			themelist_combo.Show ();
+			theme_filechooser.Visible = themefile_label.Visible = FSpot.Utils.Log.Debugging;
+
 			themelist_combo.Sensitive = theme_filechooser.Sensitive = themecustom_radio.Active; 
 			if (File.Exists (active_theme))
 				theme_filechooser.SetFilename (Preferences.Get<string> (Preferences.GTK_RC));

Modified: trunk/src/f-spot.glade
==============================================================================
--- trunk/src/f-spot.glade	(original)
+++ trunk/src/f-spot.glade	Fri Aug 22 11:43:19 2008
@@ -5984,7 +5984,7 @@
                               </packing>
                             </child>
                             <child>
-                              <widget class="GtkLabel" id="label21">
+                              <widget class="GtkLabel" id="themefile_label">
                                 <property name="visible">True</property>
                                 <property name="xalign">1</property>
                                 <property name="label" translatable="yes">From gtkrc File:</property>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]