forked from enlightenment/enlightenment
Fix more config dialog window class problems.
SVN revision: 44158
This commit is contained in:
parent
6b8ba302fa
commit
70e9d80c6c
|
@ -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 =
|
||||
{
|
||||
|
|
|
@ -127,7 +127,7 @@ e_int_config_color_classes(E_Container *con, const char *params __UNUSED__)
|
|||
v->advanced.apply_cfdata = _adv_apply_data;
|
||||
v->advanced.create_widgets = _adv_create_widgets;
|
||||
|
||||
cfd = e_config_dialog_new(con, _("Colors"), "E", "appearance/colors",
|
||||
cfd = e_config_dialog_new(con, _("Colors"), "E", "_config_color_classes_dialog",
|
||||
"preferences-desktop-color", 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 =
|
||||
{
|
||||
|
|
|
@ -33,7 +33,7 @@ e_int_config_desk(E_Container *con, const char *params)
|
|||
if (sscanf(params, "%i %i %i %i", &con_num, &zone_num, &dx, &dy) != 4)
|
||||
return NULL;
|
||||
|
||||
if (e_config_dialog_find("E", "internal/desk")) return NULL;
|
||||
if (e_config_dialog_find("E", "_config_desk_dialog")) return NULL;
|
||||
|
||||
v = E_NEW(E_Config_Dialog_View, 1);
|
||||
|
||||
|
@ -49,7 +49,7 @@ e_int_config_desk(E_Container *con, const char *params)
|
|||
v->basic.create_widgets = _basic_create;
|
||||
v->override_auto_apply = 1;
|
||||
|
||||
cfd = e_config_dialog_new(con, _("Desk Settings"), "E", "internal/desk",
|
||||
cfd = e_config_dialog_new(con, _("Desk Settings"), "E", "_config_desk_dialog",
|
||||
"preferences-desktop", 0, v, cfdata);
|
||||
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 =
|
||||
{
|
||||
|
|
|
@ -79,7 +79,7 @@ e_int_config_desklock(E_Container *con, const char *params __UNUSED__)
|
|||
E_Config_Dialog *cfd;
|
||||
E_Config_Dialog_View *v;
|
||||
|
||||
if (e_config_dialog_find("E", "screen/screen_lock")) return NULL;
|
||||
if (e_config_dialog_find("E", "_config_desklock_dialog")) return NULL;
|
||||
v = E_NEW(E_Config_Dialog_View, 1);
|
||||
if (!v) return NULL;
|
||||
v->create_cfdata = _create_data;
|
||||
|
@ -94,7 +94,7 @@ e_int_config_desklock(E_Container *con, const char *params __UNUSED__)
|
|||
v->override_auto_apply = 1;
|
||||
|
||||
cfd = e_config_dialog_new(con, _("Screen Lock Settings"), "E",
|
||||
"screen/screen_lock", "preferences-desklock",
|
||||
"_config_desklock_dialog", "preferences-desklock",
|
||||
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 =
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@ e_int_config_dialogs(E_Container *con, const char *params __UNUSED__)
|
|||
E_Config_Dialog *cfd;
|
||||
E_Config_Dialog_View *v;
|
||||
|
||||
if (e_config_dialog_find("E", "settings/dialogs")) return NULL;
|
||||
if (e_config_dialog_find("E", "_config_config_dialog_dialog")) return NULL;
|
||||
v = E_NEW(E_Config_Dialog_View, 1);
|
||||
|
||||
v->create_cfdata = _create_data;
|
||||
|
@ -35,7 +35,7 @@ e_int_config_dialogs(E_Container *con, const char *params __UNUSED__)
|
|||
|
||||
cfd = e_config_dialog_new(con,
|
||||
_("Dialog Settings"),
|
||||
"E", "settings/dialogs",
|
||||
"E", "_config_config_dialog_dialog",
|
||||
"preferences-dialogs", 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 =
|
||||
{
|
||||
|
|
|
@ -216,7 +216,7 @@ e_int_config_display(E_Container *con, const char *params __UNUSED__)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
if (e_config_dialog_find("E", "screen/screen_resolution")) return NULL;
|
||||
if (e_config_dialog_find("E", "_config_display_dialog")) return NULL;
|
||||
v = E_NEW(E_Config_Dialog_View, 1);
|
||||
v->create_cfdata = _create_data;
|
||||
v->free_cfdata = _free_data;
|
||||
|
@ -226,7 +226,7 @@ e_int_config_display(E_Container *con, const char *params __UNUSED__)
|
|||
v->override_auto_apply = 1;
|
||||
|
||||
cfd = e_config_dialog_new(con, _("Screen Resolution Settings"),
|
||||
"E", "screen/screen_resolution",
|
||||
"E", "_config_display_dialog",
|
||||
"preferences-system-screen-resolution", 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 =
|
||||
{
|
||||
|
|
|
@ -22,7 +22,7 @@ e_int_config_remembers(E_Container *con, const char *params __UNUSED__)
|
|||
E_Config_Dialog *cfd;
|
||||
E_Config_Dialog_View *v;
|
||||
|
||||
if (e_config_dialog_find("E", "windows/window_remembers")) return NULL;
|
||||
if (e_config_dialog_find("E", "_config_remember_dialog")) return NULL;
|
||||
|
||||
v = E_NEW(E_Config_Dialog_View, 1);
|
||||
v->create_cfdata = _create_data;
|
||||
|
@ -31,7 +31,7 @@ e_int_config_remembers(E_Container *con, const char *params __UNUSED__)
|
|||
v->basic.create_widgets = _basic_create;
|
||||
|
||||
cfd = e_config_dialog_new(con, _("Window Remembers"), "E",
|
||||
"windows/window_remembers",
|
||||
"_config_remember_dialog",
|
||||
"preferences-desktop-window-remember", 0, v, NULL);
|
||||
e_dialog_resizable_set(cfd->dia, 1);
|
||||
return cfd;
|
||||
|
|
Loading…
Reference in New Issue