From 8133cc7188e8af4861fdc057e806f22bc503a0fb Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Sun, 11 Apr 2010 19:02:29 +0000 Subject: [PATCH] Better method for show/hide of quickpanel. SVN revision: 47931 --- src/modules/illume2/e_illume.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/modules/illume2/e_illume.c b/src/modules/illume2/e_illume.c index 0d506b043..aacd3b533 100644 --- a/src/modules/illume2/e_illume.c +++ b/src/modules/illume2/e_illume.c @@ -1,6 +1,5 @@ #include "e_illume_private.h" #include "e_mod_config.h" -#include "e_mod_quickpanel.h" /** * @defgroup E_Illume_Main_Group Illume API Information @@ -941,11 +940,9 @@ e_illume_quickpanel_by_zone_get(E_Zone *zone) EAPI void e_illume_quickpanel_show(E_Zone *zone) { - E_Illume_Quickpanel *qp; - if (!zone) return; - if (!(qp = e_illume_quickpanel_by_zone_get(zone))) return; - e_mod_quickpanel_show(qp); + ecore_x_e_illume_quickpanel_state_send(zone->black_win, + ECORE_X_ILLUME_QUICKPANEL_STATE_ON); } /** @@ -960,9 +957,7 @@ e_illume_quickpanel_show(E_Zone *zone) EAPI void e_illume_quickpanel_hide(E_Zone *zone) { - E_Illume_Quickpanel *qp; - if (!zone) return; - if (!(qp = e_illume_quickpanel_by_zone_get(zone))) return; - e_mod_quickpanel_hide(qp); + ecore_x_e_illume_quickpanel_state_send(zone->black_win, + ECORE_X_ILLUME_QUICKPANEL_STATE_OFF); }