forked from enlightenment/enlightenment
Fix a few more config dialog window class problems.
SVN revision: 44159
This commit is contained in:
parent
70e9d80c6c
commit
69fa1736c0
|
@ -95,7 +95,7 @@ e_int_config_dpms(E_Container *con, const char *params __UNUSED__)
|
|||
E_Config_Dialog *cfd;
|
||||
E_Config_Dialog_View *v;
|
||||
|
||||
if ((e_config_dialog_find("E", "screen/power_management")) ||
|
||||
if ((e_config_dialog_find("E", "_config_dpms_dialogt")) ||
|
||||
(!_e_int_config_dpms_available()) ||
|
||||
(!_e_int_config_dpms_capable()))
|
||||
return NULL;
|
||||
|
@ -110,7 +110,7 @@ e_int_config_dpms(E_Container *con, const char *params __UNUSED__)
|
|||
v->override_auto_apply = 1;
|
||||
|
||||
cfd = e_config_dialog_new(con, _("Display Power Management Settings"), "E",
|
||||
"screen/power_management", "preferences-system-power-management",
|
||||
"_config_dpms_dialog", "preferences-system-power-management",
|
||||
0, v, NULL);
|
||||
return cfd;
|
||||
}
|
||||
|
|
|
@ -4,23 +4,9 @@
|
|||
#include "e.h"
|
||||
#include "e_mod_main.h"
|
||||
|
||||
/***************************************************************************/
|
||||
/**/
|
||||
/* actual module specifics */
|
||||
|
||||
static E_Module *conf_module = NULL;
|
||||
|
||||
/**/
|
||||
/***************************************************************************/
|
||||
|
||||
/***************************************************************************/
|
||||
/**/
|
||||
|
||||
/**/
|
||||
/***************************************************************************/
|
||||
|
||||
/***************************************************************************/
|
||||
/**/
|
||||
/* module setup */
|
||||
EAPI E_Module_Api e_modapi =
|
||||
{
|
||||
|
|
|
@ -93,7 +93,7 @@ e_int_config_edgebindings(E_Container *con, const char *params)
|
|||
E_Config_Dialog *cfd;
|
||||
E_Config_Dialog_View *v;
|
||||
|
||||
if (e_config_dialog_find("E", "keyboard_and_mouse/edge_bindings")) return NULL;
|
||||
if (e_config_dialog_find("E", "_config_edgebindings_dialog")) return NULL;
|
||||
v = E_NEW(E_Config_Dialog_View, 1);
|
||||
|
||||
v->create_cfdata = _create_data;
|
||||
|
@ -103,7 +103,7 @@ e_int_config_edgebindings(E_Container *con, const char *params)
|
|||
v->override_auto_apply = 1;
|
||||
|
||||
cfd = e_config_dialog_new(con, _("Edge Binding Settings"), "E",
|
||||
"keyboard_and_mouse/edge_bindings",
|
||||
"_config_edgebindings_dialog",
|
||||
"enlightenment/edges", 0, v, NULL);
|
||||
if ((params) && (params[0]))
|
||||
{
|
||||
|
|
|
@ -4,23 +4,9 @@
|
|||
#include "e.h"
|
||||
#include "e_mod_main.h"
|
||||
|
||||
/***************************************************************************/
|
||||
/**/
|
||||
/* actual module specifics */
|
||||
|
||||
static E_Module *conf_module = NULL;
|
||||
|
||||
/**/
|
||||
/***************************************************************************/
|
||||
|
||||
/***************************************************************************/
|
||||
/**/
|
||||
|
||||
/**/
|
||||
/***************************************************************************/
|
||||
|
||||
/***************************************************************************/
|
||||
/**/
|
||||
/* module setup */
|
||||
EAPI E_Module_Api e_modapi =
|
||||
{
|
||||
|
|
|
@ -25,7 +25,7 @@ e_int_config_engine(E_Container *con, const char *params __UNUSED__)
|
|||
E_Config_Dialog *cfd;
|
||||
E_Config_Dialog_View *v;
|
||||
|
||||
if (e_config_dialog_find("E", "advanced/engine")) return NULL;
|
||||
if (e_config_dialog_find("E", "_config_engine_dialog")) return NULL;
|
||||
v = E_NEW(E_Config_Dialog_View, 1);
|
||||
if (!v) return NULL;
|
||||
v->create_cfdata = _create_data;
|
||||
|
@ -36,7 +36,7 @@ e_int_config_engine(E_Container *con, const char *params __UNUSED__)
|
|||
|
||||
cfd = e_config_dialog_new(con,
|
||||
_("Engine Settings"),
|
||||
"E", "advanced/engine",
|
||||
"E", "_config_engine_dialog",
|
||||
"preferences-engine", 0, v, NULL);
|
||||
return cfd;
|
||||
}
|
||||
|
|
|
@ -4,23 +4,9 @@
|
|||
#include "e.h"
|
||||
#include "e_mod_main.h"
|
||||
|
||||
/***************************************************************************/
|
||||
/**/
|
||||
/* actual module specifics */
|
||||
|
||||
static E_Module *conf_module = NULL;
|
||||
|
||||
/**/
|
||||
/***************************************************************************/
|
||||
|
||||
/***************************************************************************/
|
||||
/**/
|
||||
|
||||
/**/
|
||||
/***************************************************************************/
|
||||
|
||||
/***************************************************************************/
|
||||
/**/
|
||||
/* module setup */
|
||||
EAPI E_Module_Api e_modapi =
|
||||
{
|
||||
|
|
|
@ -36,7 +36,7 @@ e_int_config_exebuf(E_Container *con, const char *params __UNUSED__)
|
|||
E_Config_Dialog *cfd;
|
||||
E_Config_Dialog_View *v;
|
||||
|
||||
if (e_config_dialog_find("E", "advanced/run_command")) return NULL;
|
||||
if (e_config_dialog_find("E", "_config_exebuf_dialog")) return NULL;
|
||||
v = E_NEW(E_Config_Dialog_View, 1);
|
||||
|
||||
v->create_cfdata = _create_data;
|
||||
|
@ -47,7 +47,7 @@ e_int_config_exebuf(E_Container *con, const char *params __UNUSED__)
|
|||
v->advanced.create_widgets = _advanced_create_widgets;
|
||||
cfd = e_config_dialog_new(con,
|
||||
_("Run Command Settings"),
|
||||
"E", "advanced/run_command",
|
||||
"E", "_config_exebuf_dialog",
|
||||
"system-run", 0, v, NULL);
|
||||
return cfd;
|
||||
}
|
||||
|
|
|
@ -4,23 +4,9 @@
|
|||
#include "e.h"
|
||||
#include "e_mod_main.h"
|
||||
|
||||
/***************************************************************************/
|
||||
/**/
|
||||
/* actual module specifics */
|
||||
|
||||
static E_Module *conf_module = NULL;
|
||||
|
||||
/**/
|
||||
/***************************************************************************/
|
||||
|
||||
/***************************************************************************/
|
||||
/**/
|
||||
|
||||
/**/
|
||||
/***************************************************************************/
|
||||
|
||||
/***************************************************************************/
|
||||
/**/
|
||||
/* module setup */
|
||||
EAPI E_Module_Api e_modapi =
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue