parent
7120b06df7
commit
04b88fea5f
|
@ -1800,6 +1800,22 @@ ACT_FN_GO(halt_now)
|
||||||
e_sys_action_do(E_SYS_HALT_NOW, NULL);
|
e_sys_action_do(E_SYS_HALT_NOW, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***************************************************************************/
|
||||||
|
ACT_FN_GO(mode_presentation_toggle)
|
||||||
|
{
|
||||||
|
e_config->mode.presentation = !e_config->mode.presentation;
|
||||||
|
e_config_mode_changed();
|
||||||
|
e_config_save_queue();
|
||||||
|
}
|
||||||
|
|
||||||
|
/***************************************************************************/
|
||||||
|
ACT_FN_GO(mode_offline_toggle)
|
||||||
|
{
|
||||||
|
e_config->mode.offline = !e_config->mode.offline;
|
||||||
|
e_config_mode_changed();
|
||||||
|
e_config_save_queue();
|
||||||
|
}
|
||||||
|
|
||||||
/***************************************************************************/
|
/***************************************************************************/
|
||||||
static E_Dialog *logout_dialog = NULL;
|
static E_Dialog *logout_dialog = NULL;
|
||||||
|
|
||||||
|
@ -2787,6 +2803,16 @@ e_actions_init(void)
|
||||||
e_action_predef_name_set(_("Enlightenment"), _("Exit Now"),
|
e_action_predef_name_set(_("Enlightenment"), _("Exit Now"),
|
||||||
"exit_now", NULL, NULL, 0);
|
"exit_now", NULL, NULL, 0);
|
||||||
|
|
||||||
|
ACT_GO(mode_presentation_toggle);
|
||||||
|
e_action_predef_name_set(_("Enlightenment : Mode"),
|
||||||
|
_("Presentation Mode Toggle"),
|
||||||
|
"mode_presentation_toggle", NULL, NULL, 0);
|
||||||
|
|
||||||
|
ACT_GO(mode_offline_toggle);
|
||||||
|
e_action_predef_name_set(_("Enlightenment : Mode"),
|
||||||
|
_("Offline Mode Toggle"),
|
||||||
|
"mode_offline_toggle", NULL, NULL, 0);
|
||||||
|
|
||||||
ACT_GO(logout);
|
ACT_GO(logout);
|
||||||
e_action_predef_name_set(_("System"), _("Log Out"), "logout",
|
e_action_predef_name_set(_("System"), _("Log Out"), "logout",
|
||||||
NULL, NULL, 0);
|
NULL, NULL, 0);
|
||||||
|
|
Loading…
Reference in New Issue