f-spot r4563 - in trunk: . src
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r4563 - in trunk: . src
- Date: Mon, 3 Nov 2008 21:42:37 +0000 (UTC)
Author: sdelcroix
Date: Mon Nov 3 21:42:37 2008
New Revision: 4563
URL: http://svn.gnome.org/viewvc/f-spot?rev=4563&view=rev
Log:
2008-11-03 Stephane Delcroix <sdelcroix novell com>
* src/main.cs: initialize the translation catalog earlier. Fix a nasty
bug.
Modified:
trunk/ChangeLog
trunk/src/main.cs
Modified: trunk/src/main.cs
==============================================================================
--- trunk/src/main.cs (original)
+++ trunk/src/main.cs Mon Nov 3 21:42:37 2008
@@ -66,6 +66,8 @@
bool view = false;
bool slideshow = false;
string import_uri = null;
+
+ Catalog.Init ("f-spot", Defines.LOCALE_DIR);
FSpot.Global.PhotoDirectory = Preferences.Get<string> (Preferences.STORAGE_PATH);
for (int i = 0; i < args.Length && !shutdown; i++) {
@@ -164,8 +166,6 @@
Application.Init (Defines.PACKAGE, ref args);
if (slideshow == true) {
- Catalog.Init ("f-spot", Defines.LOCALE_DIR);
-
Core core = new Core ();
core.ShowSlides (null);
Application.Run ();
@@ -224,7 +224,6 @@
Gtk.Rc.AddDefaultFile (Preferences.Get<string> (Preferences.GTK_RC));
}
- Catalog.Init ("f-spot", Defines.LOCALE_DIR);
try {
Gtk.Window.DefaultIconList = new Gdk.Pixbuf [] {
GtkUtil.TryLoadIcon (FSpot.Global.IconTheme, "f-spot", 16, (Gtk.IconLookupFlags)0),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]