Use new quickpanel toggle functions.

SVN revision: 47936
This commit is contained in:
Christopher Michael 2010-04-11 20:37:29 +00:00
parent e5c452ce7c
commit 2cf29060cd
1 changed files with 2 additions and 3 deletions

View File

@ -299,14 +299,13 @@ _e_mod_ind_win_cb_mouse_up(void *data, Evas *evas __UNUSED__, Evas_Object *obj _
if (ev->button != 1) return;
if (!(iwin = data)) return;
/* if we are not dragging, send message to show quickpanel */
/* if we are not dragging, send message to toggle quickpanel state */
if ((!iwin->drag.dnd) && (iwin->mouse_down == 1))
{
Ecore_X_Window xwin;
xwin = iwin->win->border->zone->black_win;
ecore_x_e_illume_quickpanel_state_send
(xwin, ECORE_X_ILLUME_QUICKPANEL_STATE_ON);
ecore_x_e_illume_quickpanel_state_toggle(xwin);
}
else if (iwin->drag.dnd)
{