More gadcon->shelf checks before calling any shelf-specific functions.

SVN revision: 32868
This commit is contained in:
Christopher Michael 2007-11-25 04:15:50 +00:00
parent 0f0a57d127
commit 0509cb1a44
1 changed files with 4 additions and 3 deletions

View File

@ -2189,6 +2189,7 @@ _e_gadcon_client_cb_mouse_down(void *data, Evas *e, Evas_Object *obj, void *even
E_Menu *mn;
int cx, cy, cw, ch;
if (gcc->gadcon->shelf)
e_shelf_locked_set(gcc->gadcon->shelf, 1);
mn = e_menu_new();
e_menu_post_deactivate_callback_set(mn, _e_gadcon_client_cb_menu_post,