2005-01-12 08:03:09 -08:00
|
|
|
#ifdef E_TYPEDEFS
|
|
|
|
|
|
|
|
#define E_CONFIG_LIMIT(v, min, max) {if (v > max) v = max; else if (v < min) v = min;}
|
2004-11-24 19:37:45 -08:00
|
|
|
|
2005-06-30 03:43:21 -07:00
|
|
|
typedef struct _E_Config E_Config;
|
|
|
|
typedef struct _E_Config_Module E_Config_Module;
|
|
|
|
typedef struct _E_Config_Theme E_Config_Theme;
|
|
|
|
typedef struct _E_Config_Binding_Mouse E_Config_Binding_Mouse;
|
|
|
|
typedef struct _E_Config_Binding_Key E_Config_Binding_Key;
|
2009-02-25 14:21:46 -08:00
|
|
|
typedef struct _E_Config_Binding_Edge E_Config_Binding_Edge;
|
2005-09-22 13:20:34 -07:00
|
|
|
typedef struct _E_Config_Binding_Signal E_Config_Binding_Signal;
|
|
|
|
typedef struct _E_Config_Binding_Wheel E_Config_Binding_Wheel;
|
2010-05-29 12:57:13 -07:00
|
|
|
typedef struct _E_Config_Binding_Acpi E_Config_Binding_Acpi;
|
2005-06-30 03:43:21 -07:00
|
|
|
typedef struct _E_Config_Desktop_Background E_Config_Desktop_Background;
|
2005-08-05 21:00:03 -07:00
|
|
|
typedef struct _E_Config_Desktop_Name E_Config_Desktop_Name;
|
2006-02-10 00:14:57 -08:00
|
|
|
typedef struct _E_Config_Gadcon E_Config_Gadcon;
|
|
|
|
typedef struct _E_Config_Gadcon_Client E_Config_Gadcon_Client;
|
2006-02-15 22:32:54 -08:00
|
|
|
typedef struct _E_Config_Shelf E_Config_Shelf;
|
2007-09-04 16:59:01 -07:00
|
|
|
typedef struct _E_Config_Shelf_Desk E_Config_Shelf_Desk;
|
2006-09-16 04:35:54 -07:00
|
|
|
typedef struct _E_Config_Mime_Icon E_Config_Mime_Icon;
|
2008-11-25 00:05:58 -08:00
|
|
|
typedef struct _E_Config_Syscon_Action E_Config_Syscon_Action;
|
2011-05-13 04:39:04 -07:00
|
|
|
typedef struct _E_Config_Env_Var E_Config_Env_Var;
|
2007-04-05 10:20:09 -07:00
|
|
|
typedef struct _E_Event_Config_Icon_Theme E_Event_Config_Icon_Theme;
|
|
|
|
|
2005-01-12 08:03:09 -08:00
|
|
|
#else
|
|
|
|
#ifndef E_CONFIG_H
|
|
|
|
#define E_CONFIG_H
|
2004-12-04 23:43:51 -08:00
|
|
|
|
2010-08-14 03:21:03 -07:00
|
|
|
/* increment this whenever we change config enough that you need new
|
2006-03-09 21:48:46 -08:00
|
|
|
* defaults for e to work.
|
2005-05-07 10:27:03 -07:00
|
|
|
*/
|
2006-08-24 14:58:59 -07:00
|
|
|
#define E_CONFIG_FILE_EPOCH 0x0001
|
2006-06-04 20:16:16 -07:00
|
|
|
/* increment this whenever a new set of config values are added but the users
|
2006-12-17 03:24:59 -08:00
|
|
|
* config doesn't need to be wiped - simply new values need to be put in
|
2006-03-09 21:48:46 -08:00
|
|
|
*/
|
2011-11-05 23:41:39 -07:00
|
|
|
#define E_CONFIG_FILE_GENERATION 0x0146
|
2006-03-09 21:48:46 -08:00
|
|
|
#define E_CONFIG_FILE_VERSION ((E_CONFIG_FILE_EPOCH << 16) | E_CONFIG_FILE_GENERATION)
|
2005-05-07 10:27:03 -07:00
|
|
|
|
2004-12-04 23:43:51 -08:00
|
|
|
struct _E_Config
|
|
|
|
{
|
2006-09-04 16:32:03 -07:00
|
|
|
int config_version; // INTERNAL
|
2007-03-25 15:45:00 -07:00
|
|
|
int show_splash; // GUI
|
2006-06-05 03:50:33 -07:00
|
|
|
const char *init_default_theme; // GUI
|
2006-05-12 08:12:00 -07:00
|
|
|
const char *desktop_default_background; // GUI
|
2008-10-22 04:49:33 -07:00
|
|
|
Eina_List *desktop_backgrounds; // GUI
|
2006-03-02 04:03:48 -08:00
|
|
|
const char *desktop_default_name;
|
2008-10-22 04:49:33 -07:00
|
|
|
Eina_List *desktop_names; // GUI
|
2005-12-17 15:24:36 -08:00
|
|
|
double menus_scroll_speed; // GUI
|
|
|
|
double menus_fast_mouse_move_threshhold; // GUI
|
|
|
|
double menus_click_drag_timeout; // GUI
|
2005-11-18 22:10:52 -08:00
|
|
|
int border_shade_animate; // GUI
|
|
|
|
int border_shade_transition; // GUI
|
|
|
|
double border_shade_speed; // GUI
|
2007-03-25 15:45:00 -07:00
|
|
|
double framerate; // GUI
|
2009-02-05 05:32:24 -08:00
|
|
|
int priority; // GUI
|
2007-03-25 15:45:00 -07:00
|
|
|
int image_cache; // GUI
|
|
|
|
int font_cache; // GUI
|
|
|
|
int edje_cache; // GUI
|
|
|
|
int edje_collection_cache; // GUI
|
2006-02-17 02:25:23 -08:00
|
|
|
int zone_desks_x_count; // GUI
|
|
|
|
int zone_desks_y_count; // GUI
|
2007-07-23 09:32:10 -07:00
|
|
|
int show_desktop_icons; // GUI
|
2006-08-10 07:43:24 -07:00
|
|
|
int edge_flip_dragging; // GUI
|
2007-08-11 13:03:21 -07:00
|
|
|
int use_composite; // GUI
|
2006-10-13 20:09:32 -07:00
|
|
|
const char *language; // GUI
|
2008-10-22 04:49:33 -07:00
|
|
|
Eina_List *modules; // GUI
|
|
|
|
Eina_List *font_fallbacks; // GUI
|
|
|
|
Eina_List *font_defaults; // GUI
|
|
|
|
Eina_List *themes; // GUI
|
|
|
|
Eina_List *mouse_bindings; // GUI
|
|
|
|
Eina_List *key_bindings; // GUI
|
2009-02-25 14:21:46 -08:00
|
|
|
Eina_List *edge_bindings; // GUI
|
2008-10-22 04:49:33 -07:00
|
|
|
Eina_List *signal_bindings;
|
|
|
|
Eina_List *wheel_bindings; // GUI
|
2010-05-29 12:57:13 -07:00
|
|
|
Eina_List *acpi_bindings; // GUI
|
2008-10-22 04:49:33 -07:00
|
|
|
Eina_List *path_append_data; // GUI
|
|
|
|
Eina_List *path_append_images; // GUI
|
|
|
|
Eina_List *path_append_fonts; // GUI
|
|
|
|
Eina_List *path_append_themes; // GUI
|
|
|
|
Eina_List *path_append_init; // GUI
|
|
|
|
Eina_List *path_append_icons; // GUI
|
|
|
|
Eina_List *path_append_modules; // GUI
|
|
|
|
Eina_List *path_append_backgrounds; // GUI
|
|
|
|
Eina_List *path_append_messages; // GUI
|
2006-02-13 05:39:24 -08:00
|
|
|
int window_placement_policy; // GUI
|
2005-11-15 05:07:31 -08:00
|
|
|
int focus_policy; // GUI
|
|
|
|
int focus_setting; // GUI
|
|
|
|
int pass_click_on; // GUI
|
|
|
|
int always_click_to_raise; // GUI
|
|
|
|
int always_click_to_focus; // GUI
|
2005-11-18 22:10:52 -08:00
|
|
|
int use_auto_raise; // GUI
|
|
|
|
double auto_raise_delay; // GUI
|
|
|
|
int use_resist; // GUI
|
2005-05-20 19:49:47 -07:00
|
|
|
int drag_resist;
|
2005-11-18 22:10:52 -08:00
|
|
|
int desk_resist; // GUI
|
|
|
|
int window_resist; // GUI
|
|
|
|
int gadget_resist; // GUI
|
2010-07-06 12:49:48 -07:00
|
|
|
int geometry_auto_move; // GUI
|
|
|
|
int geometry_auto_resize_limit; // GUI
|
2006-01-04 14:20:51 -08:00
|
|
|
int winlist_warp_while_selecting; // GUI
|
|
|
|
int winlist_warp_at_end; // GUI
|
|
|
|
double winlist_warp_speed; // GUI
|
|
|
|
int winlist_scroll_animate; // GUI
|
|
|
|
double winlist_scroll_speed; // GUI
|
|
|
|
int winlist_list_show_iconified; // GUI
|
2006-12-14 21:03:09 -08:00
|
|
|
int winlist_list_show_other_desk_iconified; // GUI
|
|
|
|
int winlist_list_show_other_screen_iconified; // GUI
|
2006-01-04 14:20:51 -08:00
|
|
|
int winlist_list_show_other_desk_windows; // GUI
|
|
|
|
int winlist_list_show_other_screen_windows; // GUI
|
|
|
|
int winlist_list_uncover_while_selecting; // GUI
|
|
|
|
int winlist_list_jump_desk_while_selecting; // GUI
|
|
|
|
int winlist_list_focus_while_selecting; // GUI
|
|
|
|
int winlist_list_raise_while_selecting; // GUI
|
|
|
|
double winlist_pos_align_x; // GUI
|
|
|
|
double winlist_pos_align_y; // GUI
|
|
|
|
double winlist_pos_size_w; // GUI
|
|
|
|
double winlist_pos_size_h; // GUI
|
|
|
|
int winlist_pos_min_w; // GUI
|
|
|
|
int winlist_pos_min_h; // GUI
|
|
|
|
int winlist_pos_max_w; // GUI
|
|
|
|
int winlist_pos_max_h; // GUI
|
2005-11-18 22:10:52 -08:00
|
|
|
int maximize_policy; // GUI
|
2006-05-16 00:32:37 -07:00
|
|
|
int allow_manip; // GUI
|
2007-04-11 08:37:04 -07:00
|
|
|
int border_fix_on_shelf_toggle; // GUI
|
2007-05-29 04:25:54 -07:00
|
|
|
int allow_above_fullscreen; // GUI
|
2005-06-29 01:49:54 -07:00
|
|
|
int kill_if_close_not_possible;
|
|
|
|
int kill_process;
|
|
|
|
double kill_timer_wait;
|
|
|
|
int ping_clients;
|
2006-09-04 15:54:46 -07:00
|
|
|
const char *transition_start; // GUI
|
|
|
|
const char *transition_desk; // GUI
|
|
|
|
const char *transition_change; // GUI
|
2008-10-22 04:49:33 -07:00
|
|
|
Eina_List *remembers;
|
2006-12-16 18:10:24 -08:00
|
|
|
int remember_internal_windows; // GUI
|
2005-11-18 22:10:52 -08:00
|
|
|
int move_info_follows; // GUI
|
|
|
|
int resize_info_follows; // GUI
|
|
|
|
int move_info_visible; // GUI
|
|
|
|
int resize_info_visible; // GUI
|
2006-02-15 21:08:17 -08:00
|
|
|
int focus_last_focused_per_desktop; // GUI
|
|
|
|
int focus_revert_on_hide_or_close; // GUI
|
2007-12-21 17:46:22 -08:00
|
|
|
int pointer_slide; // GUI
|
2006-01-01 16:10:02 -08:00
|
|
|
int use_e_cursor; // GUI
|
2007-03-25 15:45:00 -07:00
|
|
|
int cursor_size; // GUI
|
2005-12-17 15:24:36 -08:00
|
|
|
int menu_autoscroll_margin; // GUI
|
|
|
|
int menu_autoscroll_cursor_margin; // GUI
|
2007-01-07 15:18:37 -08:00
|
|
|
const char *input_method; // GUI
|
2005-09-02 00:38:40 -07:00
|
|
|
struct {
|
|
|
|
int move;
|
|
|
|
int resize;
|
|
|
|
int raise;
|
|
|
|
int lower;
|
|
|
|
int layer;
|
|
|
|
int desktop;
|
|
|
|
int iconify;
|
|
|
|
} transient;
|
2005-09-05 14:46:56 -07:00
|
|
|
int modal_windows;
|
2005-12-17 15:24:36 -08:00
|
|
|
int menu_eap_name_show; // GUI
|
|
|
|
int menu_eap_generic_show; // GUI
|
|
|
|
int menu_eap_comment_show; // GUI
|
2007-05-12 15:40:03 -07:00
|
|
|
int menu_favorites_show; // GUI
|
|
|
|
int menu_apps_show; // GUI
|
2011-03-17 10:08:36 -07:00
|
|
|
int menu_gadcon_client_toplevel; // GUI
|
2006-02-15 21:08:17 -08:00
|
|
|
int fullscreen_policy; // GUI
|
2006-09-19 06:58:04 -07:00
|
|
|
const char *exebuf_term_cmd; // GUI
|
2008-10-22 04:49:33 -07:00
|
|
|
Eina_List *color_classes; // GUI
|
2006-02-13 05:39:24 -08:00
|
|
|
int use_app_icon; // GUI
|
2007-05-10 06:15:09 -07:00
|
|
|
int cnfmdlg_disabled; // GUI
|
2006-02-15 12:28:31 -08:00
|
|
|
int cfgdlg_auto_apply; // GUI
|
2010-08-14 03:21:03 -07:00
|
|
|
int cfgdlg_default_mode; // GUI
|
2008-10-22 04:49:33 -07:00
|
|
|
Eina_List *gadcons; // GUI
|
|
|
|
Eina_List *shelves; // GUI
|
2006-02-27 07:18:10 -08:00
|
|
|
int font_hinting; // GUI
|
2006-03-02 16:02:32 -08:00
|
|
|
|
2006-08-21 08:33:20 -07:00
|
|
|
const char *desklock_personal_passwd; // GUI
|
|
|
|
const char *desklock_background; // GUI
|
2006-08-10 07:43:24 -07:00
|
|
|
int desklock_auth_method; // GUI
|
|
|
|
int desklock_login_box_zone; // GUI
|
2008-11-13 12:39:13 -08:00
|
|
|
int desklock_start_locked; // GUI
|
2010-05-31 08:17:02 -07:00
|
|
|
int desklock_on_suspend; // GUI
|
2007-02-13 08:33:35 -08:00
|
|
|
int desklock_autolock_screensaver; // GUI
|
2009-04-26 19:49:50 -07:00
|
|
|
double desklock_post_screensaver_time; // GUI
|
2007-02-13 08:33:35 -08:00
|
|
|
int desklock_autolock_idle; // GUI
|
|
|
|
double desklock_autolock_idle_timeout; // GUI
|
2007-03-25 15:45:00 -07:00
|
|
|
int desklock_use_custom_desklock; // GUI
|
2007-02-13 08:33:35 -08:00
|
|
|
const char *desklock_custom_desklock_cmd; // GUI
|
2011-08-21 03:44:23 -07:00
|
|
|
unsigned char desklock_ask_presentation; // GUI
|
|
|
|
double desklock_ask_presentation_timeout; // GUI
|
2009-04-26 19:54:43 -07:00
|
|
|
|
2007-03-25 15:45:00 -07:00
|
|
|
int screensaver_enable; // GUI
|
|
|
|
int screensaver_timeout; // GUI
|
|
|
|
int screensaver_interval; // GUI
|
|
|
|
int screensaver_blanking; // GUI
|
|
|
|
int screensaver_expose; // GUI
|
2011-08-21 03:44:23 -07:00
|
|
|
unsigned char screensaver_ask_presentation; // GUI
|
|
|
|
double screensaver_ask_presentation_timeout; // GUI
|
|
|
|
|
|
|
|
unsigned char screensaver_suspend;
|
2011-08-21 04:02:33 -07:00
|
|
|
unsigned char screensaver_suspend_on_ac;
|
2011-08-21 03:44:23 -07:00
|
|
|
double screensaver_suspend_delay;
|
2010-08-14 03:21:03 -07:00
|
|
|
|
2007-03-25 15:45:00 -07:00
|
|
|
int dpms_enable; // GUI
|
|
|
|
int dpms_standby_enable; // GUI
|
|
|
|
int dpms_standby_timeout; // GUI
|
|
|
|
int dpms_suspend_enable; // GUI
|
|
|
|
int dpms_suspend_timeout; // GUI
|
|
|
|
int dpms_off_enable; // GUI
|
|
|
|
int dpms_off_timeout; // GUI
|
2007-02-13 08:33:35 -08:00
|
|
|
|
2007-03-25 15:45:00 -07:00
|
|
|
int clientlist_group_by; // GUI
|
|
|
|
int clientlist_include_all_zones; // GUI
|
|
|
|
int clientlist_separate_with; // GUI
|
|
|
|
int clientlist_sort_by; // GUI
|
|
|
|
int clientlist_separate_iconified_apps; // GUI
|
|
|
|
int clientlist_warp_to_iconified_desktop; // GUI
|
2007-04-11 14:40:53 -07:00
|
|
|
int clientlist_limit_caption_len; // GUI
|
|
|
|
int clientlist_max_caption_len; // GUI
|
2007-02-20 16:05:27 -08:00
|
|
|
|
2008-09-19 19:23:51 -07:00
|
|
|
int mouse_hand; //GUI
|
2007-03-25 15:45:00 -07:00
|
|
|
int mouse_accel_numerator; // GUI
|
|
|
|
int mouse_accel_denominator; // GUI
|
|
|
|
int mouse_accel_threshold; // GUI
|
2010-08-14 03:21:03 -07:00
|
|
|
|
2011-11-05 23:41:39 -07:00
|
|
|
E_Randr_Serialized_Setup *randr_serialized_setup; // GUI
|
2010-08-14 03:21:03 -07:00
|
|
|
|
2006-06-26 17:59:18 -07:00
|
|
|
int border_raise_on_mouse_action; // GUI
|
|
|
|
int border_raise_on_focus; // GUI
|
|
|
|
int desk_flip_wrap; // GUI
|
2009-02-27 10:36:08 -08:00
|
|
|
int fullscreen_flip; // GUI
|
2006-08-20 19:30:10 -07:00
|
|
|
|
2011-08-21 03:44:23 -07:00
|
|
|
const char *icon_theme; // GUI
|
|
|
|
unsigned char icon_theme_overrides; // GUI
|
2010-08-14 03:21:03 -07:00
|
|
|
|
2011-08-21 03:44:23 -07:00
|
|
|
int desk_flip_animate_mode; // GUI
|
|
|
|
int desk_flip_animate_interpolation; // GUI
|
|
|
|
double desk_flip_animate_time; // GUI
|
2010-08-14 03:21:03 -07:00
|
|
|
|
2006-08-15 13:17:19 -07:00
|
|
|
const char *wallpaper_import_last_dev; // INTERNAL
|
|
|
|
const char *wallpaper_import_last_path; // INTERNAL
|
2006-08-20 15:30:44 -07:00
|
|
|
|
|
|
|
int wallpaper_grad_c1_r; // INTERNAL
|
|
|
|
int wallpaper_grad_c1_g; // INTERNAL
|
|
|
|
int wallpaper_grad_c1_b; // INTERNAL
|
|
|
|
int wallpaper_grad_c2_r; // INTERNAL
|
|
|
|
int wallpaper_grad_c2_g; // INTERNAL
|
|
|
|
int wallpaper_grad_c2_b; // INTERNAL
|
2006-10-13 20:45:55 -07:00
|
|
|
|
2006-10-16 01:42:22 -07:00
|
|
|
const char *theme_default_border_style; // GUI
|
2010-08-14 03:21:03 -07:00
|
|
|
|
2008-10-22 04:49:33 -07:00
|
|
|
Eina_List *mime_icons; // GUI
|
2007-01-07 15:45:35 -08:00
|
|
|
int desk_auto_switch; // GUI;
|
2007-04-05 10:20:09 -07:00
|
|
|
|
|
|
|
int thumb_nice;
|
2010-08-14 03:21:03 -07:00
|
|
|
|
2008-01-10 23:33:57 -08:00
|
|
|
int ping_clients_interval;
|
|
|
|
int cache_flush_poll_interval; // GUI
|
2010-08-14 03:21:03 -07:00
|
|
|
|
2008-11-25 00:05:58 -08:00
|
|
|
int thumbscroll_enable; // GUI
|
|
|
|
int thumbscroll_threshhold; // GUI
|
|
|
|
double thumbscroll_momentum_threshhold; // GUI
|
|
|
|
double thumbscroll_friction; // GUI
|
2008-08-10 19:13:22 -07:00
|
|
|
|
2010-10-12 19:53:25 -07:00
|
|
|
int device_desktop;
|
|
|
|
int device_auto_mount;
|
|
|
|
int device_auto_open;
|
2008-09-20 08:53:28 -07:00
|
|
|
|
|
|
|
struct {
|
|
|
|
double timeout;
|
|
|
|
struct {
|
|
|
|
unsigned char dx;
|
|
|
|
unsigned char dy;
|
|
|
|
} move;
|
|
|
|
struct {
|
|
|
|
unsigned char dx;
|
|
|
|
unsigned char dy;
|
|
|
|
} resize;
|
|
|
|
} border_keyboard;
|
2010-08-14 03:21:03 -07:00
|
|
|
|
2008-09-24 06:29:16 -07:00
|
|
|
struct {
|
2008-11-25 00:05:58 -08:00
|
|
|
double min; // GUI
|
|
|
|
double max; // GUI
|
|
|
|
double factor; // GUI
|
|
|
|
int base_dpi; // GUI
|
|
|
|
unsigned char use_dpi; // GUI
|
|
|
|
unsigned char use_custom; // GUI
|
2008-09-24 06:29:16 -07:00
|
|
|
} scale;
|
2008-09-29 07:01:30 -07:00
|
|
|
|
|
|
|
unsigned char show_cursor; // GUI
|
|
|
|
unsigned char idle_cursor; // GUI
|
2010-08-14 03:21:03 -07:00
|
|
|
|
2008-10-25 08:18:48 -07:00
|
|
|
const char *default_system_menu;
|
2008-11-20 19:59:30 -08:00
|
|
|
|
2008-11-25 00:05:58 -08:00
|
|
|
unsigned char cfgdlg_normal_wins; // GUI
|
2010-08-14 03:21:03 -07:00
|
|
|
|
2008-11-25 00:05:58 -08:00
|
|
|
struct {
|
|
|
|
struct {
|
2011-08-21 03:44:23 -07:00
|
|
|
int icon_size;
|
2008-11-25 00:05:58 -08:00
|
|
|
} main, secondary, extra;
|
2011-08-21 03:44:23 -07:00
|
|
|
double timeout;
|
|
|
|
unsigned char do_input;
|
|
|
|
Eina_List *actions;
|
2008-11-25 00:05:58 -08:00
|
|
|
} syscon;
|
add "modes" configuration, now "presentation" and "offline".
They are presented as a submenu with check items. Need to implement
support in modules, so they'll check for these variables.
DESIGNERS: could you please provide the following icons:
* preferences-modes: contain the other icons
* preferences-modes-presentation: system is in presentation mode,
no screensaver, locks and dpms will be available.
* preferences-modes-offline: system is offline, modules that keep
polling internet services (weather, forecasts, ...) should stop
and show "I'm offline" emblem. When network systems (network
manager, connman, exhalt...) are integrated, they will change
this state as well.
SVN revision: 40375
2009-04-25 09:07:45 -07:00
|
|
|
|
|
|
|
struct {
|
2011-08-21 03:44:23 -07:00
|
|
|
unsigned char presentation;
|
|
|
|
unsigned char offline;
|
add "modes" configuration, now "presentation" and "offline".
They are presented as a submenu with check items. Need to implement
support in modules, so they'll check for these variables.
DESIGNERS: could you please provide the following icons:
* preferences-modes: contain the other icons
* preferences-modes-presentation: system is in presentation mode,
no screensaver, locks and dpms will be available.
* preferences-modes-offline: system is offline, modules that keep
polling internet services (weather, forecasts, ...) should stop
and show "I'm offline" emblem. When network systems (network
manager, connman, exhalt...) are integrated, they will change
this state as well.
SVN revision: 40375
2009-04-25 09:07:45 -07:00
|
|
|
} mode;
|
2010-08-14 03:21:03 -07:00
|
|
|
|
2010-01-24 23:38:48 -08:00
|
|
|
struct {
|
2011-08-21 03:44:23 -07:00
|
|
|
double expire_timeout;
|
|
|
|
unsigned char show_run_dialog;
|
|
|
|
unsigned char show_exit_dialog;
|
2010-01-24 23:38:48 -08:00
|
|
|
} exec;
|
2011-03-26 19:24:19 -07:00
|
|
|
|
|
|
|
unsigned char null_container_win;
|
2011-05-13 04:39:04 -07:00
|
|
|
|
|
|
|
Eina_List *env_vars;
|
2011-06-12 08:05:22 -07:00
|
|
|
|
|
|
|
struct {
|
|
|
|
double normal;
|
|
|
|
double dim;
|
|
|
|
double transition;
|
|
|
|
} backlight;
|
2011-07-14 01:18:55 -07:00
|
|
|
|
|
|
|
struct {
|
|
|
|
unsigned char load_xrdb;
|
|
|
|
unsigned char load_xmodmap;
|
|
|
|
unsigned char load_gnome;
|
|
|
|
unsigned char load_kde;
|
|
|
|
} deskenv;
|
2011-09-24 15:05:15 -07:00
|
|
|
|
|
|
|
struct {
|
2011-09-26 18:56:08 -07:00
|
|
|
unsigned char enabled;
|
|
|
|
unsigned char match_e17_theme;
|
|
|
|
unsigned char match_e17_icon_theme;
|
|
|
|
int xft_antialias;
|
|
|
|
int xft_hinting;
|
|
|
|
const char *xft_hint_style;
|
|
|
|
const char *xft_rgba;
|
|
|
|
const char *net_theme_name;
|
|
|
|
const char *net_icon_theme_name;
|
|
|
|
const char *gtk_font_name;
|
2011-09-24 15:05:15 -07:00
|
|
|
} xsettings;
|
2011-05-13 04:39:04 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
struct _E_Config_Env_Var
|
|
|
|
{
|
|
|
|
const char *var;
|
|
|
|
const char *val;
|
|
|
|
unsigned char unset;
|
2008-11-25 00:05:58 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
struct _E_Config_Syscon_Action
|
|
|
|
{
|
|
|
|
const char *action;
|
|
|
|
const char *params;
|
|
|
|
const char *button;
|
|
|
|
const char *icon;
|
|
|
|
int is_main;
|
2004-12-05 01:34:59 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
struct _E_Config_Module
|
|
|
|
{
|
2006-03-02 04:03:48 -08:00
|
|
|
const char *name;
|
2004-12-05 01:34:59 -08:00
|
|
|
unsigned char enabled;
|
2007-07-29 03:24:56 -07:00
|
|
|
unsigned char delayed;
|
2008-05-18 21:37:34 -07:00
|
|
|
int priority;
|
2004-12-04 23:43:51 -08:00
|
|
|
};
|
|
|
|
|
2005-05-01 09:21:57 -07:00
|
|
|
struct _E_Config_Theme
|
|
|
|
{
|
2006-03-02 04:03:48 -08:00
|
|
|
const char *category;
|
|
|
|
const char *file;
|
2005-05-01 09:21:57 -07:00
|
|
|
};
|
|
|
|
|
2005-05-03 08:25:02 -07:00
|
|
|
struct _E_Config_Binding_Mouse
|
|
|
|
{
|
|
|
|
int context;
|
|
|
|
int modifiers;
|
2006-03-02 04:03:48 -08:00
|
|
|
const char *action;
|
|
|
|
const char *params;
|
2005-05-03 08:25:02 -07:00
|
|
|
unsigned char button;
|
|
|
|
unsigned char any_mod;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct _E_Config_Binding_Key
|
|
|
|
{
|
|
|
|
int context;
|
2011-08-26 10:40:14 -07:00
|
|
|
unsigned int modifiers;
|
2006-03-02 04:03:48 -08:00
|
|
|
const char *key;
|
|
|
|
const char *action;
|
|
|
|
const char *params;
|
2005-05-03 08:25:02 -07:00
|
|
|
unsigned char any_mod;
|
|
|
|
};
|
|
|
|
|
2009-02-25 14:21:46 -08:00
|
|
|
struct _E_Config_Binding_Edge
|
|
|
|
{
|
|
|
|
int context;
|
|
|
|
int modifiers;
|
|
|
|
float delay;
|
|
|
|
const char *action;
|
|
|
|
const char *params;
|
|
|
|
unsigned char edge;
|
|
|
|
unsigned char any_mod;
|
|
|
|
};
|
|
|
|
|
2005-09-22 13:20:34 -07:00
|
|
|
struct _E_Config_Binding_Signal
|
|
|
|
{
|
|
|
|
int context;
|
2006-03-02 04:03:48 -08:00
|
|
|
const char *signal;
|
|
|
|
const char *source;
|
2005-09-22 13:20:34 -07:00
|
|
|
int modifiers;
|
|
|
|
unsigned char any_mod;
|
2006-03-02 04:03:48 -08:00
|
|
|
const char *action;
|
|
|
|
const char *params;
|
2005-09-22 13:20:34 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
struct _E_Config_Binding_Wheel
|
|
|
|
{
|
|
|
|
int context;
|
|
|
|
int direction;
|
|
|
|
int z;
|
|
|
|
int modifiers;
|
|
|
|
unsigned char any_mod;
|
2006-03-02 04:03:48 -08:00
|
|
|
const char *action;
|
|
|
|
const char *params;
|
2005-09-22 13:20:34 -07:00
|
|
|
};
|
|
|
|
|
2010-08-14 03:21:03 -07:00
|
|
|
struct _E_Config_Binding_Acpi
|
2010-05-29 12:57:13 -07:00
|
|
|
{
|
|
|
|
int context, type, status;
|
|
|
|
const char *action, *params;
|
|
|
|
};
|
|
|
|
|
2005-06-30 03:43:21 -07:00
|
|
|
struct _E_Config_Desktop_Background
|
|
|
|
{
|
|
|
|
int container;
|
|
|
|
int zone;
|
2005-06-30 07:35:19 -07:00
|
|
|
int desk_x;
|
|
|
|
int desk_y;
|
2006-03-02 04:03:48 -08:00
|
|
|
const char *file;
|
2005-06-30 03:43:21 -07:00
|
|
|
};
|
|
|
|
|
2005-08-05 21:00:03 -07:00
|
|
|
struct _E_Config_Desktop_Name
|
|
|
|
{
|
|
|
|
int container;
|
|
|
|
int zone;
|
|
|
|
int desk_x;
|
|
|
|
int desk_y;
|
2006-03-02 04:03:48 -08:00
|
|
|
const char *name;
|
2005-08-05 21:00:03 -07:00
|
|
|
};
|
|
|
|
|
2006-02-10 00:14:57 -08:00
|
|
|
struct _E_Config_Gadcon
|
|
|
|
{
|
2006-08-10 07:43:24 -07:00
|
|
|
const char *name;
|
2007-10-04 23:05:16 -07:00
|
|
|
int id;
|
2009-07-11 13:46:55 -07:00
|
|
|
int zone;
|
2008-10-22 04:49:33 -07:00
|
|
|
Eina_List *clients;
|
2006-02-10 00:14:57 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
struct _E_Config_Gadcon_Client
|
|
|
|
{
|
2006-08-10 07:43:24 -07:00
|
|
|
const char *name;
|
|
|
|
const char *id;
|
2006-02-10 00:14:57 -08:00
|
|
|
struct {
|
2008-05-18 21:37:34 -07:00
|
|
|
int pos, size, res; //gadcon
|
|
|
|
double pos_x, pos_y, size_w, size_h; //gadman
|
2006-02-10 00:14:57 -08:00
|
|
|
} geom;
|
2006-08-30 21:16:43 -07:00
|
|
|
struct {
|
|
|
|
int seq, flags;
|
|
|
|
} state_info;
|
2006-08-10 07:43:24 -07:00
|
|
|
const char *style;
|
2008-11-10 07:47:25 -08:00
|
|
|
int orient;
|
2006-08-10 07:43:24 -07:00
|
|
|
unsigned char autoscroll;
|
|
|
|
unsigned char resizable;
|
2011-09-24 15:05:15 -07:00
|
|
|
const char *theme;
|
2006-02-10 00:14:57 -08:00
|
|
|
};
|
|
|
|
|
2006-02-15 22:32:54 -08:00
|
|
|
struct _E_Config_Shelf
|
|
|
|
{
|
2006-06-26 17:59:18 -07:00
|
|
|
const char *name;
|
2007-10-04 23:05:16 -07:00
|
|
|
int id;
|
2006-06-26 17:59:18 -07:00
|
|
|
int container, zone;
|
|
|
|
int layer;
|
2006-02-15 22:32:54 -08:00
|
|
|
unsigned char popup;
|
2006-06-26 17:59:18 -07:00
|
|
|
int orient;
|
2006-04-03 07:01:00 -07:00
|
|
|
unsigned char fit_along;
|
|
|
|
unsigned char fit_size;
|
2006-06-26 17:59:18 -07:00
|
|
|
const char *style;
|
|
|
|
int size;
|
2006-10-01 13:10:37 -07:00
|
|
|
int overlap;
|
2007-03-02 09:00:20 -08:00
|
|
|
int autohide;
|
2007-06-10 04:37:40 -07:00
|
|
|
int autohide_show_action;
|
2007-04-11 08:37:04 -07:00
|
|
|
float hide_timeout;
|
|
|
|
float hide_duration;
|
2007-09-04 16:59:01 -07:00
|
|
|
int desk_show_mode;
|
2008-10-22 04:49:33 -07:00
|
|
|
Eina_List *desk_list;
|
2007-09-04 16:59:01 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
struct _E_Config_Shelf_Desk
|
|
|
|
{
|
|
|
|
int x, y;
|
2006-02-15 22:32:54 -08:00
|
|
|
};
|
|
|
|
|
2006-09-16 04:35:54 -07:00
|
|
|
struct _E_Config_Mime_Icon
|
|
|
|
{
|
2006-09-21 12:53:38 -07:00
|
|
|
const char *mime;
|
|
|
|
const char *icon;
|
2006-09-16 04:35:54 -07:00
|
|
|
};
|
|
|
|
|
2007-04-05 10:20:09 -07:00
|
|
|
struct _E_Event_Config_Icon_Theme
|
|
|
|
{
|
|
|
|
const char *icon_theme;
|
|
|
|
};
|
|
|
|
|
2010-11-22 07:21:32 -08:00
|
|
|
EINTERN int e_config_init(void);
|
|
|
|
EINTERN int e_config_shutdown(void);
|
2004-11-24 19:37:45 -08:00
|
|
|
|
2008-10-26 02:04:05 -07:00
|
|
|
EAPI void e_config_load(void);
|
2010-08-14 03:21:03 -07:00
|
|
|
|
2005-08-05 00:19:26 -07:00
|
|
|
EAPI int e_config_save(void);
|
|
|
|
EAPI void e_config_save_flush(void);
|
|
|
|
EAPI void e_config_save_queue(void);
|
2004-12-04 23:43:51 -08:00
|
|
|
|
2008-10-25 01:53:44 -07:00
|
|
|
EAPI const char*e_config_profile_get(void);
|
|
|
|
EAPI char *e_config_profile_dir_get(const char *prof);
|
2008-02-12 20:51:01 -08:00
|
|
|
EAPI void e_config_profile_set(const char *prof);
|
2008-10-22 04:49:33 -07:00
|
|
|
EAPI Eina_List *e_config_profile_list(void);
|
2008-02-12 20:51:01 -08:00
|
|
|
EAPI void e_config_profile_add(const char *prof);
|
|
|
|
EAPI void e_config_profile_del(const char *prof);
|
2005-07-22 03:28:11 -07:00
|
|
|
|
2005-08-05 00:19:26 -07:00
|
|
|
EAPI void e_config_save_block_set(int block);
|
|
|
|
EAPI int e_config_save_block_get(void);
|
2010-08-14 03:21:03 -07:00
|
|
|
|
2008-02-12 20:51:01 -08:00
|
|
|
EAPI void *e_config_domain_load(const char *domain, E_Config_DD *edd);
|
2008-11-20 01:01:23 -08:00
|
|
|
EAPI void *e_config_domain_system_load(const char *domain, E_Config_DD *edd);
|
2005-08-05 00:19:26 -07:00
|
|
|
EAPI int e_config_profile_save(void);
|
2008-02-12 20:51:01 -08:00
|
|
|
EAPI int e_config_domain_save(const char *domain, E_Config_DD *edd, const void *data);
|
2005-07-22 03:28:11 -07:00
|
|
|
|
2005-09-22 13:20:34 -07:00
|
|
|
EAPI E_Config_Binding_Mouse *e_config_binding_mouse_match(E_Config_Binding_Mouse *eb_in);
|
|
|
|
EAPI E_Config_Binding_Key *e_config_binding_key_match(E_Config_Binding_Key *eb_in);
|
2009-02-25 14:21:46 -08:00
|
|
|
EAPI E_Config_Binding_Edge *e_config_binding_edge_match(E_Config_Binding_Edge *eb_in);
|
2005-09-22 13:20:34 -07:00
|
|
|
EAPI E_Config_Binding_Signal *e_config_binding_signal_match(E_Config_Binding_Signal *eb_in);
|
|
|
|
EAPI E_Config_Binding_Wheel *e_config_binding_wheel_match(E_Config_Binding_Wheel *eb_in);
|
2010-05-29 12:57:13 -07:00
|
|
|
EAPI E_Config_Binding_Acpi *e_config_binding_acpi_match(E_Config_Binding_Acpi *eb_in);
|
add "modes" configuration, now "presentation" and "offline".
They are presented as a submenu with check items. Need to implement
support in modules, so they'll check for these variables.
DESIGNERS: could you please provide the following icons:
* preferences-modes: contain the other icons
* preferences-modes-presentation: system is in presentation mode,
no screensaver, locks and dpms will be available.
* preferences-modes-offline: system is offline, modules that keep
polling internet services (weather, forecasts, ...) should stop
and show "I'm offline" emblem. When network systems (network
manager, connman, exhalt...) are integrated, they will change
this state as well.
SVN revision: 40375
2009-04-25 09:07:45 -07:00
|
|
|
EAPI void e_config_mode_changed(void);
|
|
|
|
|
2004-12-04 23:43:51 -08:00
|
|
|
extern EAPI E_Config *e_config;
|
2004-11-24 19:37:45 -08:00
|
|
|
|
2007-04-05 10:20:09 -07:00
|
|
|
extern EAPI int E_EVENT_CONFIG_ICON_THEME;
|
add "modes" configuration, now "presentation" and "offline".
They are presented as a submenu with check items. Need to implement
support in modules, so they'll check for these variables.
DESIGNERS: could you please provide the following icons:
* preferences-modes: contain the other icons
* preferences-modes-presentation: system is in presentation mode,
no screensaver, locks and dpms will be available.
* preferences-modes-offline: system is offline, modules that keep
polling internet services (weather, forecasts, ...) should stop
and show "I'm offline" emblem. When network systems (network
manager, connman, exhalt...) are integrated, they will change
this state as well.
SVN revision: 40375
2009-04-25 09:07:45 -07:00
|
|
|
extern EAPI int E_EVENT_CONFIG_MODE_CHANGED;
|
2011-12-14 09:37:22 -08:00
|
|
|
extern EAPI int E_EVENT_CONFIG_LOADED;
|
2007-04-05 10:20:09 -07:00
|
|
|
|
2004-11-24 19:37:45 -08:00
|
|
|
#endif
|
2005-01-12 08:03:09 -08:00
|
|
|
#endif
|