* 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:
Pavel Roskin 2001-07-24 20:01:40 +00:00
parent b9714dad8e
commit b502ddc39f
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

@ -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);