177 |
set_label (GTK_NOTEBOOK(MainNotebook), CurrentPage); |
set_label (GTK_NOTEBOOK(MainNotebook), CurrentPage); |
178 |
print_msg (_("Read-only mode deactivated")); |
print_msg (_("Read-only mode deactivated")); |
179 |
} |
} |
180 |
else print_msg (g_strdup_printf(_("Readonly mode cannot be toggled - \"%s\" is write protected"), FPROPS(CurrentPage, BaseName))); |
else print_msg (g_strdup_printf(_("Readonly mode cannot be toggled - \"%s\" is write protected."), FPROPS(CurrentPage, BaseName))); |
181 |
} |
} |
182 |
|
|
183 |
|
|
325 |
|
|
326 |
if (strcmp (conf_val, "")) |
if (strcmp (conf_val, "")) |
327 |
{ |
{ |
328 |
gchar *base = g_path_get_basename (conf_val); |
gchar *base = g_path_get_basename (conf_val); |
329 |
|
/* FIXME 1: make it work - how to escape those '/' ? -- Leslie */ |
330 |
|
//gchar *base = g_strdup(conf_val); |
331 |
|
/* FIXME 2: then make display configurable (Glade prefs) -- Leslie */ |
332 |
gchar *menu_title = g_strdup_printf ("/File/_%d %s", i, |
gchar *menu_title = g_strdup_printf ("/File/_%d %s", i, |
333 |
base); |
base); |
334 |
GtkItemFactoryEntry NewEntry = { |
GtkItemFactoryEntry NewEntry = { |