summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@enlightenment.org>2013-11-20 12:30:21 -0500
committerMike Blumenkrantz <zmike@enlightenment.org>2013-11-20 15:32:30 -0500
commit12ce306457103cf588d3290458c3164484136f29 (patch)
tree2675f092b1a2113372b1f4b153f4c8dd5a8fbb3e
parent7cc9e7db3bf7cad18b300ea934f07e30cce4b6c8 (diff)
accurately set menu radio item in client vdesk Move to... submenu
T478
-rw-r--r--src/bin/e_int_border_menu.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bin/e_int_border_menu.c b/src/bin/e_int_border_menu.c
index ef12f6fc0..919a49be2 100644
--- a/src/bin/e_int_border_menu.c
+++ b/src/bin/e_int_border_menu.c
@@ -937,14 +937,12 @@ _e_border_menu_cb_sendto_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
937 E_Menu *subm; 937 E_Menu *subm;
938 E_Menu_Item *submi; 938 E_Menu_Item *submi;
939 E_Border *bd; 939 E_Border *bd;
940 E_Desk *desk_cur;
941 E_Zone *zone; 940 E_Zone *zone;
942 Eina_List *l = NULL; 941 Eina_List *l = NULL;
943 char buf[128]; 942 char buf[128];
944 int zones, i; 943 int zones, i;
945 944
946 bd = data; 945 bd = data;
947 desk_cur = e_desk_current_get(bd->zone);
948 zones = eina_list_count(bd->zone->container->zones); 946 zones = eina_list_count(bd->zone->container->zones);
949 947
950 subm = e_menu_new(); 948 subm = e_menu_new();
@@ -979,7 +977,7 @@ _e_border_menu_cb_sendto_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
979#ifdef DESKMIRROR_TEST 977#ifdef DESKMIRROR_TEST
980 e_menu_item_icon_file_set(submi, "sup"); 978 e_menu_item_icon_file_set(submi, "sup");
981#endif 979#endif
982 if ((bd->zone == zone) && (desk_cur == desk)) 980 if ((bd->zone == zone) && (!bd->iconic) && (bd->desk == desk))
983 e_menu_item_toggle_set(submi, 1); 981 e_menu_item_toggle_set(submi, 1);
984 else 982 else
985 e_menu_item_callback_set(submi, _e_border_menu_cb_sendto, desk); 983 e_menu_item_callback_set(submi, _e_border_menu_cb_sendto, desk);