1
1

* glayout.c (create_new_menu): Calculate last position in the

menu before using it.
Этот коммит содержится в:
Pavel Roskin 2001-07-25 18:27:42 +00:00
родитель dd37702f56
Коммит 6a7a2252a3
2 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -1,3 +1,8 @@
2001-07-25 Pavel Roskin <proski@gnu.org>
* glayout.c (create_new_menu): Calculate last position in the
menu before using it.
2001-07-24 Pavel Roskin <proski@gnu.org>
* gutil.c: Remove broken child management.

Просмотреть файл

@ -621,10 +621,14 @@ create_new_menu (GnomeApp *app, WPanel *panel)
gchar *file, *file2;
gint pos;
GtkWidget *shell;
GList *child_list;
shell = gnome_panel_new_menu[0].widget->parent;
file = gnome_unconditional_datadir_file ("mc/templates");
child_list = gtk_container_children (GTK_CONTAINER (shell));
pos = g_list_length (child_list);
pos = create_new_menu_from (file, shell, pos);
file2 = gnome_datadir_file ("mc/templates");