[Xfce4-commits] r24086 - squeeze/trunk/src

Stephan Arts stephan at xfce.org
Tue Dec 12 12:52:46 CET 2006


Author: stephan
Date: 2006-12-12 11:52:46 +0000 (Tue, 12 Dec 2006)
New Revision: 24086

Modified:
   squeeze/trunk/src/notebook.c
Log:
Fixed stuff



Modified: squeeze/trunk/src/notebook.c
===================================================================
--- squeeze/trunk/src/notebook.c	2006-12-12 09:11:59 UTC (rev 24085)
+++ squeeze/trunk/src/notebook.c	2006-12-12 11:52:46 UTC (rev 24086)
@@ -21,6 +21,7 @@
 #include <glib.h>
 #include <gtk/gtk.h>
 #include <libsqueeze/libsqueeze.h>
+#include <gettext.h>
 #include "archive_store.h"
 #include "navigation_bar.h"
 #include "tool_bar.h"
@@ -310,8 +311,10 @@
 #endif /* DEBUG */
 	if(lsq_archive_get_status(archive) == LSQ_ARCHIVESTATUS_ERROR)
 	{
-		GtkWidget *dialog = gtk_message_dialog_new(NULL, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, "Failed to open archive '%s'.", archive->path);
+		GtkWidget *dialog = gtk_message_dialog_new(NULL, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, _("Failed to open archive '%s'."), archive->path);
+		gdk_threads_enter();
 		gtk_dialog_run((GtkDialog *)dialog);
+		gdk_threads_leave();
 		gtk_widget_destroy(dialog);
 	}
 }



More information about the Xfce4-commits mailing list