2 * vim:ts=8:sw=3:sts=8:expandtab:cino=>5n-3f0^-2{2
5 #include "e_mod_main.h"
7 /* actual module specifics */
8 E_Module *conf_randr_module = NULL;
11 EAPI E_Module_Api e_modapi =
14 "Settings - Screen Setup"
18 e_modapi_init(E_Module *m)
20 e_configure_registry_category_add("screen", 30, _("Screen"), NULL, "preferences-desktop-display");
21 e_configure_registry_item_add("screen/randr", 20, _("Screen Setup"), NULL, "preferences-system-screen-resolution", e_int_config_randr);
22 conf_randr_module = m;
23 e_module_delayed_set(m, 1);
28 e_modapi_shutdown(E_Module *m __UNUSED__)
31 while ((cfd = e_config_dialog_get("E", "screen/randr")))
32 e_object_del(E_OBJECT(cfd));
33 e_configure_registry_item_del("screen/randr");
34 e_configure_registry_category_del("screen");
35 conf_randr_module = NULL;
40 e_modapi_save(E_Module *m __UNUSED__)