mirror of https://github.com/MidnightCommander/mc
* glayout.c (create_new_menu): Use fixed meny position instead
of gnome_app_find_menu_pos() - the later is not reliable and breaks in many locales.
This commit is contained in:
parent
b9714dad8e
commit
b502ddc39f
|
@ -1,3 +1,9 @@
|
|||
2001-07-24 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* glayout.c (create_new_menu): Use fixed meny position instead
|
||||
of gnome_app_find_menu_pos() - the later is not reliable and
|
||||
breaks in many locales.
|
||||
|
||||
2001-07-20 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* gconf.h: Remove some unused defines.
|
||||
|
|
|
@ -622,7 +622,7 @@ create_new_menu (GnomeApp *app, WPanel *panel)
|
|||
gint pos;
|
||||
GtkWidget *shell;
|
||||
|
||||
shell = gnome_app_find_menu_pos (app->menubar, _("File/New/Directory..."), &pos);
|
||||
shell = gnome_panel_new_menu[0].widget->parent;
|
||||
|
||||
file = gnome_unconditional_datadir_file ("mc/templates");
|
||||
pos = create_new_menu_from (file, shell, pos);
|
||||
|
|
Loading…
Reference in New Issue