f-spot r3965 - trunk/src/UI.Dialog
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r3965 - trunk/src/UI.Dialog
- Date: Wed, 21 May 2008 09:23:55 +0000 (UTC)
Author: sdelcroix
Date: Wed May 21 09:23:55 2008
New Revision: 3965
URL: http://svn.gnome.org/viewvc/f-spot?rev=3965&view=rev
Log:
shortening the lines
Modified:
trunk/src/UI.Dialog/PreferenceDialog.cs
Modified: trunk/src/UI.Dialog/PreferenceDialog.cs
==============================================================================
--- trunk/src/UI.Dialog/PreferenceDialog.cs (original)
+++ trunk/src/UI.Dialog/PreferenceDialog.cs Wed May 21 09:23:55 2008
@@ -123,8 +123,8 @@
string active_theme = Preferences.Get (Preferences.GTK_RC) as string;
int it = 0;
foreach (string theme in theme_list.Keys) {
- themelist_combo.AppendText (System.IO.Path.GetFileName (theme));
- if (active_theme.Contains (System.IO.Path.DirectorySeparatorChar + System.IO.Path.GetFileName (theme) + System.IO.Path.DirectorySeparatorChar))
+ themelist_combo.AppendText (Path.GetFileName (theme));
+ if (active_theme.Contains (Path.DirectorySeparatorChar + Path.GetFileName (theme) + Path.DirectorySeparatorChar))
themelist_combo.Active = it;
it ++;
}
@@ -133,7 +133,7 @@
themelist_combo.Changed += HandleThemeComboChanged;
themelist_combo.Show ();
themelist_combo.Sensitive = theme_filechooser.Sensitive = themecustom_radio.Active;
- if (System.IO.File.Exists (active_theme))
+ if (File.Exists (active_theme))
theme_filechooser.SetFilename (Preferences.Get (Preferences.GTK_RC) as string);
theme_filechooser.SelectionChanged += HandleThemeFileActivated;
themecustom_radio.Active = (active_theme != String.Empty);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]