forked from enlightenment/enlightenment
parent
0c282e6018
commit
0e70e6e0ae
|
@ -32,6 +32,7 @@
|
||||||
ICON("preferences-desktop-signal-bindings", 80, "icon_preferences-desktop-signal-bindings.png")
|
ICON("preferences-desktop-signal-bindings", 80, "icon_preferences-desktop-signal-bindings.png")
|
||||||
ICON("preferences-variables", 80, "icon_preferences-variables.png")
|
ICON("preferences-variables", 80, "icon_preferences-variables.png")
|
||||||
ICON("preferences-interaction", 80, "icon_preferences-interaction.png")
|
ICON("preferences-interaction", 80, "icon_preferences-interaction.png")
|
||||||
|
ICON("preferences-composite", 80, "icon_preferences-composite.png")
|
||||||
|
|
||||||
ICON("enlightenment/wallpaper_stretch", 80, "icon_wallpaper_stretch.png")
|
ICON("enlightenment/wallpaper_stretch", 80, "icon_wallpaper_stretch.png")
|
||||||
ICON("enlightenment/wallpaper_center", 80, "icon_wallpaper_center.png")
|
ICON("enlightenment/wallpaper_center", 80, "icon_wallpaper_center.png")
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
|
@ -1,6 +1,5 @@
|
||||||
conf_compdir = $(MDIR)/conf_comp
|
conf_compdir = $(MDIR)/conf_comp
|
||||||
conf_comp_DATA = conf_comp/e-module-comp.edj \
|
conf_comp_DATA = conf_comp/module.desktop
|
||||||
conf_comp/module.desktop
|
|
||||||
|
|
||||||
EXTRA_DIST += $(comp_DATA)
|
EXTRA_DIST += $(comp_DATA)
|
||||||
|
|
||||||
|
|
Binary file not shown.
|
@ -95,7 +95,6 @@ e_int_config_comp_module(E_Container *con,
|
||||||
{
|
{
|
||||||
E_Config_Dialog *cfd;
|
E_Config_Dialog *cfd;
|
||||||
E_Config_Dialog_View *v;
|
E_Config_Dialog_View *v;
|
||||||
char buf[4096];
|
|
||||||
Mod *mod = _comp_mod;
|
Mod *mod = _comp_mod;
|
||||||
|
|
||||||
if (e_config_dialog_find("E", "appearance/comp")) return NULL;
|
if (e_config_dialog_find("E", "appearance/comp")) return NULL;
|
||||||
|
@ -108,10 +107,8 @@ e_int_config_comp_module(E_Container *con,
|
||||||
v->advanced.apply_cfdata = _advanced_apply_data;
|
v->advanced.apply_cfdata = _advanced_apply_data;
|
||||||
v->advanced.create_widgets = _advanced_create_widgets;
|
v->advanced.create_widgets = _advanced_create_widgets;
|
||||||
|
|
||||||
snprintf(buf, sizeof(buf), "%s/e-module-comp.edj",
|
|
||||||
e_module_dir_get(mod->module));
|
|
||||||
cfd = e_config_dialog_new(con, _("Composite Settings"),
|
cfd = e_config_dialog_new(con, _("Composite Settings"),
|
||||||
"E", "appearance/comp", buf, 0, v, mod);
|
"E", "appearance/comp", "preferences-composite", 0, v, mod);
|
||||||
mod->config_dialog = cfd;
|
mod->config_dialog = cfd;
|
||||||
return cfd;
|
return cfd;
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,12 +27,10 @@ static void
|
||||||
_e_mod_config_menu_create(void *d EINA_UNUSED, E_Menu *m)
|
_e_mod_config_menu_create(void *d EINA_UNUSED, E_Menu *m)
|
||||||
{
|
{
|
||||||
E_Menu_Item *mi;
|
E_Menu_Item *mi;
|
||||||
char buf[4096];
|
|
||||||
|
|
||||||
mi = e_menu_item_new(m);
|
mi = e_menu_item_new(m);
|
||||||
snprintf(buf, sizeof(buf), "%s/e-module-comp.edj", e_module_dir_get(_comp_mod->module));
|
|
||||||
e_menu_item_label_set(mi, _("Composite"));
|
e_menu_item_label_set(mi, _("Composite"));
|
||||||
e_menu_item_icon_file_set(mi, buf);
|
e_util_menu_item_theme_icon_set(mi, "preferences-composite");
|
||||||
e_menu_item_callback_set(mi, _e_mod_comp_conf_cb, NULL);
|
e_menu_item_callback_set(mi, _e_mod_comp_conf_cb, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,7 +38,6 @@ EAPI void *
|
||||||
e_modapi_init(E_Module *m)
|
e_modapi_init(E_Module *m)
|
||||||
{
|
{
|
||||||
Mod *mod;
|
Mod *mod;
|
||||||
char buf[4096];
|
|
||||||
E_Comp_Config *conf;
|
E_Comp_Config *conf;
|
||||||
|
|
||||||
conf = e_comp_config_get();
|
conf = e_comp_config_get();
|
||||||
|
@ -54,11 +51,10 @@ e_modapi_init(E_Module *m)
|
||||||
m->data = mod;
|
m->data = mod;
|
||||||
|
|
||||||
mod->module = m;
|
mod->module = m;
|
||||||
snprintf(buf, sizeof(buf), "%s/e-module-comp.edj", e_module_dir_get(m));
|
|
||||||
e_configure_registry_category_add("appearance", 10, _("Look"), NULL,
|
e_configure_registry_category_add("appearance", 10, _("Look"), NULL,
|
||||||
"preferences-look");
|
"preferences-look");
|
||||||
e_configure_registry_item_add("appearance/comp", 120, _("Composite"), NULL,
|
e_configure_registry_item_add("appearance/comp", 120, _("Composite"), NULL,
|
||||||
buf, e_int_config_comp_module);
|
"preferences-composite", e_int_config_comp_module);
|
||||||
|
|
||||||
mod->conf = conf;
|
mod->conf = conf;
|
||||||
maug = e_int_menus_menu_augmentation_add_sorted("config/1", _("Composite"), _e_mod_config_menu_create, NULL, NULL, NULL);
|
maug = e_int_menus_menu_augmentation_add_sorted("config/1", _("Composite"), _e_mod_config_menu_create, NULL, NULL, NULL);
|
||||||
|
|
Loading…
Reference in New Issue