]> git.donarmstrong.com Git - xournal.git/blobdiff - src/xo-file.c
focus and other patches
[xournal.git] / src / xo-file.c
index 4dd7396b59490db800e1c7a95e5416be61a1c0fc..1ae30fc15317551b3e140f3aba780223a1ebc5f7 100644 (file)
@@ -1209,7 +1209,8 @@ void update_mru_menu(void)
   
   for (i=0; i<MRU_SIZE; i++) {
     if (ui.mru[i]!=NULL) {
-      tmp = g_strdup_printf("_%d %s", i+1, g_basename(ui.mru[i]));
+      tmp = g_strdup_printf("_%d %s", i+1,
+               g_strjoinv("__", g_strsplit_set(g_basename(ui.mru[i]),"_",-1)));
       gtk_label_set_text_with_mnemonic(GTK_LABEL(gtk_bin_get_child(GTK_BIN(ui.mrumenu[i]))),
           tmp);
       g_free(tmp);