forked from enlightenment/enventor
statsbar - save/load the hotkey status.
This commit is contained in:
parent
f4c8ab7558
commit
f662c73b22
|
@ -74,6 +74,11 @@ void base_hotkeys_set(Evas_Object *hotkeys)
|
|||
{
|
||||
base_data *bd = g_bd;
|
||||
elm_object_part_content_set(bd->layout, "elm.swallow.hotkeys", hotkeys);
|
||||
|
||||
if (config_hotkeys_get())
|
||||
elm_object_signal_emit(bd->layout, "elm,state,hotkeys,show", "");
|
||||
else
|
||||
elm_object_signal_emit(bd->layout, "elm,state,hotkeys,hide", "");
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -193,6 +193,8 @@ eddc_init()
|
|||
dummy_swallow, EET_T_UCHAR);
|
||||
EET_DATA_DESCRIPTOR_ADD_BASIC(edd_base, config_data, "auto_indent",
|
||||
auto_indent, EET_T_UCHAR);
|
||||
EET_DATA_DESCRIPTOR_ADD_BASIC(edd_base, config_data, "hotkeys",
|
||||
hotkeys, EET_T_UCHAR);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -217,9 +219,6 @@ config_init(const char *edc_path, const char *edc_img_path,
|
|||
if (edc_snd_path) config_edc_snd_path_set(edc_snd_path);
|
||||
if (edc_fnt_path) config_edc_fnt_path_set(edc_fnt_path);
|
||||
if (edc_data_path) config_edc_data_path_set(edc_data_path);
|
||||
|
||||
//hotkey is not decided yet to keep the function or not.
|
||||
cd->hotkeys = EINA_TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue