disable currently-set orientation for shelf on orientation change menu

SVN revision: 80766
This commit is contained in:
Mike Blumenkrantz 2012-12-12 14:44:10 +00:00
parent d577e24b7e
commit 86aa333211
1 changed files with 1 additions and 0 deletions

View File

@ -2409,6 +2409,7 @@ _e_shelf_menu_orientation_pre_cb(void *data, E_Menu *m)
e_menu_item_callback_set(mi, _e_shelf_cb_menu_orient, es);
if (es->cfg->orient == orient)
e_menu_item_toggle_set(mi, 1);
e_menu_item_disabled_set(mi, es->cfg->orient == orient);
}
}