Try to fix a weird bug in reparenting the notebook widget when splitting on Windows. It still occurs on unsplitting.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3161 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2008-10-29 20:52:22 +00:00
parent a3b27b3714
commit c9fc4a1048
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2008-10-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/splitwindow.c:
Try to fix a weird bug in reparenting the notebook widget when
splitting on Windows.
It still occurs on unsplitting.
2008-10-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> 2008-10-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.txt, doc/geany.html: * doc/geany.txt, doc/geany.html:

View File

@ -295,8 +295,8 @@ static void on_split_view(GtkMenuItem *menuitem, gpointer user_data)
p_support->lookup_widget(geany->main_widgets->window, "vbox1")); p_support->lookup_widget(geany->main_widgets->window, "vbox1"));
pane = gtk_hpaned_new(); pane = gtk_hpaned_new();
gtk_container_add(GTK_CONTAINER(parent), pane);
gtk_widget_reparent(notebook, pane); gtk_widget_reparent(notebook, pane);
gtk_container_add(GTK_CONTAINER(parent), pane);
box = gtk_vbox_new(FALSE, 0); box = gtk_vbox_new(FALSE, 0);
toolbar = create_toolbar(); toolbar = create_toolbar();