Author: kelnos
Date: 2008-12-27 05:00:00 +0000 (Sat, 27 Dec 2008)
New Revision: 29057

Modified:
   xfce4-session/trunk/ChangeLog
   xfce4-session/trunk/engines/balou/config.c
   xfce4-session/trunk/po/xfce4-session.pot
Log:
        * engines/balou/config.c: Use xfce_message_dialog() instead of
          xfce_err(), fix string a bit.

Modified: xfce4-session/trunk/ChangeLog
===================================================================
--- xfce4-session/trunk/ChangeLog       2008-12-27 04:59:51 UTC (rev 29056)
+++ xfce4-session/trunk/ChangeLog       2008-12-27 05:00:00 UTC (rev 29057)
@@ -1,3 +1,8 @@
+2008-12-26     Brian Tarricone <bj...@cornell.edu>
+
+       * engines/balou/config.c: Use xfce_message_dialog() instead of
+         xfce_err(), fix string a bit.
+
 2008-12-03     Brian Tarricone <bj...@cornell.edu>
 
        * xfce4-session/shutdown.c: Change "Log off" text to "Log out" to be

Modified: xfce4-session/trunk/engines/balou/config.c
===================================================================
--- xfce4-session/trunk/engines/balou/config.c  2008-12-27 04:59:51 UTC (rev 
29056)
+++ xfce4-session/trunk/engines/balou/config.c  2008-12-27 05:00:00 UTC (rev 
29057)
@@ -330,9 +330,16 @@
 
       if (!config_do_install_theme (file, treeview))
         {
-          xfce_err (_("Unable to install splash theme from file %s, "
-                      "please check that the file is a valid splash "
-                      "theme archive."), file);
+          gchar *primary = g_strdup_printf (_("Unable to install splash theme 
from file \"%s\""),
+                                            file);
+          xfce_message_dialog (GTK_WINDOW (toplevel),
+                               _("Theme File Error"),
+                               GTK_STOCK_DIALOG_ERROR,
+                               primary,
+                               _("Please check that the file is a valid splash 
"
+                                 "theme archive."),
+                               GTK_STOCK_CLOSE, GTK_RESPONSE_ACCEPT, NULL);
+          g_free (primary);
         }
 
       g_free (file);

Modified: xfce4-session/trunk/po/xfce4-session.pot
===================================================================
--- xfce4-session/trunk/po/xfce4-session.pot    2008-12-27 04:59:51 UTC (rev 
29056)
+++ xfce4-session/trunk/po/xfce4-session.pot    2008-12-27 05:00:00 UTC (rev 
29057)
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-12-26 20:55-0800\n"
+"POT-Creation-Date: 2008-12-26 20:57-0800\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <em...@address>\n"
 "Language-Team: LANGUAGE <l...@li.org>\n"
@@ -26,45 +26,51 @@
 
 #: ../engines/balou/config.c:333
 #, c-format
-msgid ""
-"Unable to install splash theme from file %s, please check that the file is a "
-"valid splash theme archive."
+msgid "Unable to install splash theme from file \"%s\""
 msgstr ""
 
-#: ../engines/balou/config.c:386
+#: ../engines/balou/config.c:336
+msgid "Theme File Error"
+msgstr ""
+
+#: ../engines/balou/config.c:339
+msgid "Please check that the file is a valid splash theme archive."
+msgstr ""
+
+#: ../engines/balou/config.c:393
 #, c-format
 msgid "Unable to remove splash theme \"%s\" from directory %s."
 msgstr ""
 
-#: ../engines/balou/config.c:471
+#: ../engines/balou/config.c:478
 msgid "Choose theme filename..."
 msgstr ""
 
-#: ../engines/balou/config.c:604
+#: ../engines/balou/config.c:611
 msgid "_Install new theme"
 msgstr ""
 
-#: ../engines/balou/config.c:613
+#: ../engines/balou/config.c:620
 msgid "_Remove theme"
 msgstr ""
 
-#: ../engines/balou/config.c:630
+#: ../engines/balou/config.c:637
 msgid "_Export theme"
 msgstr ""
 
-#: ../engines/balou/config.c:845
+#: ../engines/balou/config.c:852
 msgid "Balou theme"
 msgstr ""
 
-#: ../engines/balou/config.c:930
+#: ../engines/balou/config.c:937
 msgid "Configure Balou..."
 msgstr ""
 
-#: ../engines/balou/config.c:973
+#: ../engines/balou/config.c:980
 msgid "Balou"
 msgstr ""
 
-#: ../engines/balou/config.c:974
+#: ../engines/balou/config.c:981
 msgid "Balou Splash Engine"
 msgstr ""
 

_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to