Merge branch 'master' of 165.213.180.234:/git/slp/pkgs/elementary
authorjaehwan <jae.hwan.kim@samsung.com>
Tue, 5 Oct 2010 06:02:11 +0000 (15:02 +0900)
committerjaehwan <jae.hwan.kim@samsung.com>
Tue, 5 Oct 2010 06:02:11 +0000 (15:02 +0900)
src/lib/elm_panes.c

index 943a4a8..7fb9b4e 100644 (file)
@@ -281,19 +281,20 @@ EAPI Evas_Object
 EAPI Evas_Object *
 elm_panes_content_left_unset(Evas_Object *obj)
 {
-        ELM_CHECK_WIDTYPE(obj, widtype) NULL;
-        Widget_Data *wd;
-        Evas_Object *content;
-
-        wd = elm_widget_data_get(obj);
-
-        content = edje_object_part_swallow_get(wd->panes, "elm.swallow.left");
-        if(!content) return NULL;
-        edje_object_part_unswallow(wd->panes, content);
-        elm_widget_sub_object_del(obj, content);
-        wd->contents.left = NULL;
-        edje_object_signal_emit(wd->panes, "panes_unpair", "elm");
-        return content;
+   ELM_CHECK_WIDTYPE(obj, widtype) NULL;
+   Widget_Data *wd;
+   Evas_Object *content;
+
+   wd = elm_widget_data_get(obj);
+
+   content = edje_object_part_swallow_get(wd->panes, "elm.swallow.left");
+   if(!content) return NULL;
+   edje_object_part_unswallow(wd->panes, content);
+   elm_widget_sub_object_del(obj, content);
+   evas_object_hide(content);
+   wd->contents.left = NULL;
+   edje_object_signal_emit(wd->panes, "panes_unpair", "elm");
+   return content;
 }
 
 /**
@@ -307,19 +308,20 @@ elm_panes_content_left_unset(Evas_Object *obj)
 EAPI Evas_Object *
 elm_panes_content_right_unset(Evas_Object *obj)
 {
-        ELM_CHECK_WIDTYPE(obj, widtype) NULL;
-        Widget_Data *wd;
-        Evas_Object *content;
-
-        wd = elm_widget_data_get(obj);
-
-        content = edje_object_part_swallow_get(wd->panes, "elm.swallow.right");
-        if(!content) return NULL;
-        edje_object_part_unswallow(wd->panes, content);
-        elm_widget_sub_object_del(obj, content);
-        wd->contents.right = NULL;
-        edje_object_signal_emit(wd->panes, "panes_unpair", "elm");
-        return content;
+   ELM_CHECK_WIDTYPE(obj, widtype) NULL;
+   Widget_Data *wd;
+   Evas_Object *content;
+
+   wd = elm_widget_data_get(obj);
+
+   content = edje_object_part_swallow_get(wd->panes, "elm.swallow.right");
+   if(!content) return NULL;
+   edje_object_part_unswallow(wd->panes, content);
+   elm_widget_sub_object_del(obj, content);
+   evas_object_hide(content);
+   wd->contents.right = NULL;
+   edje_object_signal_emit(wd->panes, "panes_unpair", "elm");
+   return content;
 }
 
 /**