[Xfce4-commits] <xfce4-session:master> Use fprint format for string (bug #8658).

Nick Schermer noreply at xfce.org
Mon Apr 9 18:28:01 CEST 2012


Updating branch refs/heads/master
         to dcb7ca9d56657f8932e1f4e5293469c96d77a0ec (commit)
       from 149b25feb0f59210f2e86ba5cdc5a1d39a850889 (commit)

commit dcb7ca9d56657f8932e1f4e5293469c96d77a0ec
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Apr 9 18:26:36 2012 +0200

    Use fprint format for string (bug #8658).

 settings/session-editor.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/settings/session-editor.c b/settings/session-editor.c
index 58838be..a58888a 100644
--- a/settings/session-editor.c
+++ b/settings/session-editor.c
@@ -209,8 +209,7 @@ session_editor_clear_sessions(GtkWidget *btn,
         if(failed){
             gchar *secondary_text;
 
-            secondary_text = g_strconcat(_("You might need to delete some files manually in "),
-                                         cache_dir_path, NULL);
+            secondary_text = g_strdup_printf (_("You might need to delete some files manually in \"%s\"."), cache_dir_path);
             xfce_dialog_show_warning(GTK_WINDOW(gtk_widget_get_toplevel(treeview)),
                                      secondary_text,
                                      _("All Xfce cache files could not be cleared"));


More information about the Xfce4-commits mailing list