beagle r4385 - trunk/beagle/tools
- From: dbera svn gnome org
- To: svn-commits-list gnome org
- Subject: beagle r4385 - trunk/beagle/tools
- Date: Sat, 12 Jan 2008 06:29:00 +0000 (GMT)
Author: dbera
Date: Sat Jan 12 06:29:00 2008
New Revision: 4385
URL: http://svn.gnome.org/viewvc/beagle?rev=4385&view=rev
Log:
Minor fixes.
Modified:
trunk/beagle/tools/Config.cs
Modified: trunk/beagle/tools/Config.cs
==============================================================================
--- trunk/beagle/tools/Config.cs (original)
+++ trunk/beagle/tools/Config.cs Sat Jan 12 06:29:00 2008
@@ -252,13 +252,19 @@
local_configs = new string [0];
}
+ for (int i = 0; i < global_configs.Length; ++ i)
+ global_configs [i] = Path.GetFileNameWithoutExtension (global_configs [i]);
+
+ for (int i = 0; i < local_configs.Length; ++ i)
+ local_configs [i] = Path.GetFileNameWithoutExtension (local_configs [i]);
+
Console.WriteLine ("Available sections:");
foreach (string file in global_configs)
- Console.WriteLine (" - {0}", Path.GetFileNameWithoutExtension (file));
+ Console.WriteLine (" - {0}", file);
foreach (string file in local_configs)
if (Array.IndexOf (global_configs, file) == -1)
- Console.WriteLine (" - {0}", Path.GetFileNameWithoutExtension (file));
+ Console.WriteLine (" - {0}", file);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]