summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannes Janetzek <hannes.janetzek@gmail.com>2010-10-14 15:07:43 +0000
committerHannes Janetzek <hannes.janetzek@gmail.com>2010-10-14 15:07:43 +0000
commit61e4808f760457914b2700ef3b7368a5f4d359c6 (patch)
tree969b6342c7793c89cd008ea753a2cb0eedf93627
parentb14d2fd823c1be34a7c07637c20a5c741744e1fd (diff)
build empris again
SVN revision: 53404
-rw-r--r--src/e_mod_main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/e_mod_main.c b/src/e_mod_main.c
index 0dcdbc2..0aee347 100644
--- a/src/e_mod_main.c
+++ b/src/e_mod_main.c
@@ -233,11 +233,12 @@ _empris_cb_mouse_down (void *data, Evas * e, Evas_Object * obj,
233 ev = event_info; 233 ev = event_info;
234 if ((ev->button == 3) && (!empris_config->menu)) 234 if ((ev->button == 3) && (!empris_config->menu))
235 { 235 {
236 E_Menu *mn; 236 E_Menu *mn, *mg;
237 E_Menu_Item *mi; 237 E_Menu_Item *mi;
238 int x, y, w, h; 238 int x, y, w, h;
239 239
240 mn = e_menu_new (); 240 mn = e_menu_new ();
241 mg = e_menu_new ();
241 e_menu_post_deactivate_callback_set (mn, _empris_menu_cb_post, inst); 242 e_menu_post_deactivate_callback_set (mn, _empris_menu_cb_post, inst);
242 empris_config->menu = mn; 243 empris_config->menu = mn;
243 244
@@ -249,7 +250,7 @@ _empris_cb_mouse_down (void *data, Evas * e, Evas_Object * obj,
249 mi = e_menu_item_new (mn); 250 mi = e_menu_item_new (mn);
250 e_menu_item_separator_set (mi, 1); 251 e_menu_item_separator_set (mi, 1);
251 252
252 e_gadcon_client_util_menu_items_append (inst->gcc, mn, 0); 253 e_gadcon_client_util_menu_items_append (inst->gcc, mn,mg, 0);
253 e_gadcon_canvas_zone_geometry_get (inst->gcc->gadcon, &x, &y, &w, &h); 254 e_gadcon_canvas_zone_geometry_get (inst->gcc->gadcon, &x, &y, &w, &h);
254 e_menu_activate_mouse (mn, 255 e_menu_activate_mouse (mn,
255 e_util_zone_current_get (e_manager_current_get 256 e_util_zone_current_get (e_manager_current_get