[gtranslator] [tab] Fix removing of widgets
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator] [tab] Fix removing of widgets
- Date: Tue, 3 May 2011 14:30:38 +0000 (UTC)
commit baf946671bf8d7fe8bed7ae86444dec26abffafd
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Tue May 3 16:31:18 2011 +0200
[tab] Fix removing of widgets
src/gtr-tab.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gtr-tab.c b/src/gtr-tab.c
index cf14ae1..9b245c0 100644
--- a/src/gtr-tab.c
+++ b/src/gtr-tab.c
@@ -205,8 +205,7 @@ add_widget_to_dock (GtrTab *tab,
if (locked)
{
- flags |=
- GDL_DOCK_ITEM_BEH_NO_GRIP;
+ flags |= GDL_DOCK_ITEM_BEH_NO_GRIP;
}
flags |= GDL_DOCK_ITEM_BEH_CANT_CLOSE |
@@ -237,6 +236,7 @@ remove_widget_from_dock (GtrTab *tab,
/* Remove the widget from container */
gtk_container_remove (GTK_CONTAINER (dock_item), widget);
+ gdl_dock_item_unbind (GDL_DOCK_ITEM (dock_item));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]