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);
last_derive != prefs_common.derive_from_normal_font)
update_font = TRUE;
+ if (!update_font)
+ return;
+
g_free(last_smallfont);
last_smallfont = g_strdup(SMALL_FONT);
g_free(last_normalfont);
last_boldfont = g_strdup(BOLD_FONT);
last_derive = prefs_common.derive_from_normal_font;
- if (update_font) {
- normal_style = normal_color_style = bold_style =
- bold_color_style = bold_tgtfold_style = NULL;
+ normal_style = normal_color_style = bold_style =
+ bold_color_style = bold_tgtfold_style = NULL;
- folderview_init(folderview);
- }
+ folderview_init(folderview);
gtk_cmclist_freeze(GTK_CMCLIST(folderview->ctree));
folderview_column_set_titles(folderview);
folderview_set_all();