summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Aguirre <aguirre.nicolas@gmail.com>2012-12-17 23:07:47 +0000
committerTom Hacohen <tom@stosb.com>2013-06-17 10:03:52 +0100
commit4877344a04b1dc570e82bea97eca108bdc1dbeb5 (patch)
treea62564f27e6989a55313ec92296e98902282086f
parent83a9b32b60a79322d3368d449b0f70a093acd8c8 (diff)
E-MODULES-EXTRA/elfe : let be fullscreen and sticked on the desktop when illume module is not loaded
SVN revision: 81193
-rwxr-xr-xlaunch.sh2
-rw-r--r--src/main.c9
2 files changed, 6 insertions, 5 deletions
diff --git a/launch.sh b/launch.sh
index aa7c887..d762d41 100755
--- a/launch.sh
+++ b/launch.sh
@@ -1,2 +1,2 @@
1#!/bin/sh 1#!/bin/sh
2x-ui.sh --profile=illume --screen=480x800 \ No newline at end of file 2x-ui.sh --profile=mobile --screen=1280x800
diff --git a/src/main.c b/src/main.c
index f4cab05..4c95496 100644
--- a/src/main.c
+++ b/src/main.c
@@ -157,9 +157,10 @@ _elfe_home_win_new(E_Zone *zone)
157 e_win_title_set(hwin->win, "Elfe"); 157 e_win_title_set(hwin->win, "Elfe");
158 e_win_name_class_set(hwin->win, "Illume-Home", "Illume-Home"); 158 e_win_name_class_set(hwin->win, "Illume-Home", "Illume-Home");
159 e_win_resize_callback_set(hwin->win, _elfe_home_win_cb_resize); 159 e_win_resize_callback_set(hwin->win, _elfe_home_win_cb_resize);
160 e_win_no_remember_set(hwin->win, EINA_TRUE); 160 e_win_no_remember_set(hwin->win, EINA_FALSE);
161 //ecore_x_e_illume_conformant_set(hwin->win->evas_win, EINA_TRUE); 161 //ecore_x_e_illume_conformant_set(hwin->win->evas_win, EINA_TRUE);
162 162 e_win_sticky_set(hwin->win, EINA_TRUE);
163 e_win_borderless_set(hwin->win, EINA_TRUE);
163 snprintf(buf, sizeof(buf), "%s/default.edj", 164 snprintf(buf, sizeof(buf), "%s/default.edj",
164 elfe_home_cfg->mod_dir); 165 elfe_home_cfg->mod_dir);
165 166
@@ -169,7 +170,7 @@ _elfe_home_win_new(E_Zone *zone)
169 evas_object_move(rect, 0, 0); 170 evas_object_move(rect, 0, 0);
170 evas_object_resize(rect, zone->w, zone->h); 171 evas_object_resize(rect, zone->w, zone->h);
171 evas_object_show(rect); 172 evas_object_show(rect);
172 173 e_win_size_min_set(hwin->win, zone->w, zone->h);
173 174
174 /* Specific ELM initialisation */ 175 /* Specific ELM initialisation */
175 ecore_app_args_get(&argc, &argv); 176 ecore_app_args_get(&argc, &argv);
@@ -220,7 +221,7 @@ _elfe_home_win_new(E_Zone *zone)
220 evas_object_move(hwin->layout, 0, 0); 221 evas_object_move(hwin->layout, 0, 0);
221 evas_object_show(hwin->layout); 222 evas_object_show(hwin->layout);
222 223
223 e_win_move_resize(hwin->win, zone->x, zone->y, zone->w, (zone->h / 2)); 224 e_win_move_resize(hwin->win, zone->x, zone->y, zone->w, zone->h);
224 e_win_show(hwin->win); 225 e_win_show(hwin->win);
225 e_border_zone_set(hwin->win->border, zone); 226 e_border_zone_set(hwin->win->border, zone);
226 if (hwin->win->evas_win) 227 if (hwin->win->evas_win)