Use correct dir separator for "Scanning folder ..." in statusbar.
authorAndrej Kacian <ticho@claws-mail.org>
Tue, 26 Apr 2016 08:21:22 +0000 (10:21 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Tue, 26 Apr 2016 08:21:22 +0000 (10:21 +0200)
src/folderview.c
src/imap.c

index a433d90..af71005 100644 (file)
@@ -1012,9 +1012,8 @@ static void folderview_set_folders(FolderView *folderview)
 static gchar *get_scan_str(FolderItem *item)
 {
        if (item->path)
 static gchar *get_scan_str(FolderItem *item)
 {
        if (item->path)
-               return g_strdup_printf(_("Scanning folder %s%c%s..."),
-                                     item->folder->name, G_DIR_SEPARATOR,
-                                     item->path);
+               return g_strdup_printf(_("Scanning folder %s/%s..."),
+                                     item->folder->name, item->path);
        else
                return g_strdup_printf(_("Scanning folder %s..."),
                                      item->folder->name);      
        else
                return g_strdup_printf(_("Scanning folder %s..."),
                                      item->folder->name);      
index b038196..a38c8d0 100644 (file)
@@ -4641,9 +4641,8 @@ gint imap_get_num_list(Folder *folder, FolderItem *_item, GSList **msgnum_list,
 
        lock_session(session);
        if (FOLDER_ITEM(item)->path) 
 
        lock_session(session);
        if (FOLDER_ITEM(item)->path) 
-               statusbar_print_all(_("Scanning folder %s%c%s..."),
+               statusbar_print_all(_("Scanning folder %s/%s..."),
                                      FOLDER_ITEM(item)->folder->name, 
                                      FOLDER_ITEM(item)->folder->name, 
-                                     '/',
                                      FOLDER_ITEM(item)->path);
        else
                statusbar_print_all(_("Scanning folder %s..."),
                                      FOLDER_ITEM(item)->path);
        else
                statusbar_print_all(_("Scanning folder %s..."),