[anjuta] bgo #694644 - Position of Locals and Stack panes not saved
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] bgo #694644 - Position of Locals and Stack panes not saved
- Date: Sun, 26 May 2013 13:26:41 +0000 (UTC)
commit c219ddbd4bec1310021e0c2ea155bdf0d344a70d
Author: Sébastien Granjoux <seb sfo free fr>
Date: Sun May 26 14:57:50 2013 +0200
bgo #694644 - Position of Locals and Stack panes not saved
Now the position of destroyed widget is kept in the GDL layout unless you
first remove the widget. This needs an update of GDL too.
src/anjuta-window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/anjuta-window.c b/src/anjuta-window.c
index 3f9439c..44fb037 100644
--- a/src/anjuta-window.c
+++ b/src/anjuta-window.c
@@ -1145,7 +1145,6 @@ on_widget_remove (GtkWidget *container, GtkWidget *widget, AnjutaWindow *win)
g_free(unique_name);
g_signal_handlers_disconnect_by_func (G_OBJECT (dock_item),
G_CALLBACK (on_widget_remove), win);
- gdl_dock_item_unbind (GDL_DOCK_ITEM(dock_item));
}
if (g_hash_table_foreach_remove (win->widgets,
remove_from_widgets_hash,
@@ -1336,6 +1335,7 @@ anjuta_window_remove_widget (AnjutaShell *shell, GtkWidget *widget,
/* Remove the widget from container */
g_object_ref (widget);
+ gdl_dock_item_unbind (GDL_DOCK_ITEM(dock_item));
/* It should call on_widget_remove() and clean up should happen */
gtk_container_remove (GTK_CONTAINER (dock_item), widget);
g_object_unref (widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]