[gdl] Show visible widgets when loading a new layout
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdl] Show visible widgets when loading a new layout
- Date: Tue, 24 Jul 2012 20:29:05 +0000 (UTC)
commit 76f7f1641d3c3af6751be69d2a3963397e198794
Author: SÃbastien Granjoux <seb sfo free fr>
Date: Tue Jul 24 22:28:45 2012 +0200
Show visible widgets when loading a new layout
gdl/gdl-dock-layout.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gdl/gdl-dock-layout.c b/gdl/gdl-dock-layout.c
index d6f329d..9017c78 100644
--- a/gdl/gdl-dock-layout.c
+++ b/gdl/gdl-dock-layout.c
@@ -382,6 +382,11 @@ gdl_dock_layout_setup_object (GdlDockMaster *master,
/* finally unref object class */
g_type_class_unref (object_class);
+ if (GDL_IS_DOCK_ITEM (object) &&
+ !gdl_dock_item_is_placeholder (GDL_DOCK_ITEM (object)) &&
+ !GDL_DOCK_ITEM_ICONIFIED (object)) gdl_dock_item_show_item(GDL_DOCK_ITEM (object));
+
+
return object;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]