summaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorBrian Tarricone <brian@tarricone.org>2008-12-27 05:00:00 +0000
committerBrian Tarricone <brian@tarricone.org>2008-12-27 05:00:00 +0000
commit77b10cb5d0db476bed70ea97db82684371f141f7 (patch)
tree97aed4f1598462c0aa249cbfa0c4b2b87bdabef8 /engines
parentdfbbddcbe8d68107325a78e4629c1ca3865647a9 (diff)
downloadxfce4-session-77b10cb5d0db476bed70ea97db82684371f141f7.tar.gz
* engines/balou/config.c: Use xfce_message_dialog() instead of
xfce_err(), fix string a bit. (Old svn revision: 29057)
Diffstat (limited to 'engines')
-rw-r--r--engines/balou/config.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/engines/balou/config.c b/engines/balou/config.c
index c5a7e378..7b5ced3d 100644
--- a/engines/balou/config.c
+++ b/engines/balou/config.c
@@ -330,9 +330,16 @@ config_install_theme (GtkWidget *item,
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);