From 5d6f81407b29cf3acc627df4e31cee6fa68a980b Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Fri, 21 Nov 2008 14:02:12 +0000 Subject: [PATCH] fix default illume profile conifg to have config module fix centering - turn it off in illume SVN revision: 37730 --- config/illume/e.src | 80 +++++++++++++++---------------- src/modules/illume/e_mod_layout.c | 2 + x-ui.sh | 4 +- 3 files changed, 44 insertions(+), 42 deletions(-) diff --git a/config/illume/e.src b/config/illume/e.src index 3e3cf6aa2..93fc23621 100644 --- a/config/illume/e.src +++ b/config/illume/e.src @@ -48,6 +48,14 @@ group "E_Config" struct { value "priority" int: 0; } } + group "modules" list { + group "E_Config_Module" struct { + value "name" string: "conf"; + value "enabled" uchar: 1; + value "delayed" uchar: 1; + value "priority" int: 0; + } + } group "modules" list { group "E_Config_Module" struct { value "name" string: "conf_desk"; @@ -104,46 +112,6 @@ group "E_Config" struct { value "priority" int: 0; } } - group "modules" list { - group "E_Config_Module" struct { - value "name" string: "battery"; - value "enabled" uchar: 1; - value "delayed" uchar: 1; - value "priority" int: 0; - } - } - group "modules" list { - group "E_Config_Module" struct { - value "name" string: "mixer"; - value "enabled" uchar: 1; - value "delayed" uchar: 1; - value "priority" int: 0; - } - } - group "modules" list { - group "E_Config_Module" struct { - value "name" string: "clock"; - value "enabled" uchar: 1; - value "delayed" uchar: 1; - value "priority" int: 0; - } - } - group "modules" list { - group "E_Config_Module" struct { - value "name" string: "pager"; - value "enabled" uchar: 1; - value "delayed" uchar: 1; - value "priority" int: 0; - } - } - group "modules" list { - group "E_Config_Module" struct { - value "name" string: "connman"; - value "enabled" uchar: 1; - value "delayed" uchar: 1; - value "priority" int: 0; - } - } group "modules" list { group "E_Config_Module" struct { value "name" string: "conf_display"; @@ -240,6 +208,38 @@ group "E_Config" struct { value "priority" int: -100; } } + group "modules" list { + group "E_Config_Module" struct { + value "name" string: "battery"; + value "enabled" uchar: 1; + value "delayed" uchar: 1; + value "priority" int: 0; + } + } + group "modules" list { + group "E_Config_Module" struct { + value "name" string: "mixer"; + value "enabled" uchar: 1; + value "delayed" uchar: 1; + value "priority" int: 0; + } + } + group "modules" list { + group "E_Config_Module" struct { + value "name" string: "clock"; + value "enabled" uchar: 1; + value "delayed" uchar: 1; + value "priority" int: 0; + } + } + group "modules" list { + group "E_Config_Module" struct { + value "name" string: "pager"; + value "enabled" uchar: 1; + value "delayed" uchar: 1; + value "priority" int: 0; + } + } group "font_defaults" list { group "E_Font_Default" struct { value "text_class" string: "default"; diff --git a/src/modules/illume/e_mod_layout.c b/src/modules/illume/e_mod_layout.c index e86aaa6b3..55270cdcb 100644 --- a/src/modules/illume/e_mod_layout.c +++ b/src/modules/illume/e_mod_layout.c @@ -395,6 +395,7 @@ _e_mod_layout_cb_hook_post_fetch(void *data, E_Border *bd) bd->bordername = evas_stringshare_add("borderless"); bd->client.border.changed = 1; } + bd->client.e.state.centered = 0; } } @@ -418,6 +419,7 @@ _e_mod_layout_post_border_assign(E_Border *bd, int not_new) e_slipshelf_safe_app_region_get(bd->zone, &wx, &wy, &ww, &wh); e_kbd_safe_app_region_get(bd->zone, &wx2, &wy2, &ww2, &wh2); E_RECTS_CLIP_TO_RECT(wx, wy, ww, wh, wx2, wy2, ww2, wh2); + bd->client.e.state.centered = 0; if ((bd->client.netwm.type == ECORE_X_WINDOW_TYPE_DOCK) || (bd->client.qtopia.soft_menu)) { diff --git a/x-ui.sh b/x-ui.sh index 35bf239ca..7a3b32f82 100755 --- a/x-ui.sh +++ b/x-ui.sh @@ -14,5 +14,5 @@ Xephyr :1 -noreset -ac -br -dpi 284 -screen 480x640x16 & sleep 1 export DISPLAY=:1 unset E_RESTART E_START E_IPC_SOCKET E_START_TIME -#E_CONF_PROFILE=default enlightenment_start -enlightenment_start -profile illume +E_CONF_PROFILE=default enlightenment_start +#enlightenment_start -profile illume