* glayout.c (create_new_menu): Calculate last position in the
menu before using it.
Этот коммит содержится в:
родитель
dd37702f56
Коммит
6a7a2252a3
@ -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");
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user