summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshorne <shorne@gmail.com>2015-11-05 16:03:26 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-11-05 16:03:26 +0900
commit5f3278eba867ff7743512e27568f2c9f58c630c2 (patch)
treed53937444a9c73aecb2d0e355d421478a3a77a57
parent151a5cc532dc0cc3d7a992ca020d0d64a15a5a94 (diff)
e/win_config: allow content of some dialogs to resize with the window
Summary: Currently the dialogs in Winows > Window List Menu and Window Display are resizable the their content does not resize. This patch fixes that. Test Plan: Open windows in window config dialog and ensure they can resize propertly Reviewers: zmike Subscribers: raster, cedric, seoz Differential Revision: https://phab.enlightenment.org/D3275
-rw-r--r--src/modules/conf_window_manipulation/e_int_config_window_display.c8
-rw-r--r--src/modules/winlist/e_int_config_winlist.c10
2 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/conf_window_manipulation/e_int_config_window_display.c b/src/modules/conf_window_manipulation/e_int_config_window_display.c
index a3c49619d..283816be6 100644
--- a/src/modules/conf_window_manipulation/e_int_config_window_display.c
+++ b/src/modules/conf_window_manipulation/e_int_config_window_display.c
@@ -158,7 +158,7 @@ _basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data
158 e_widget_framelist_object_append(of, ow); 158 e_widget_framelist_object_append(of, ow);
159 e_widget_list_object_append(ol, of, 1, 1, 0.5); 159 e_widget_list_object_append(ol, of, 1, 1, 0.5);
160 e_widget_toolbook_page_append(otb, NULL, _("Display"), ol, 160 e_widget_toolbook_page_append(otb, NULL, _("Display"), ol,
161 0, 0, 1, 0, 0.5, 0.0); 161 1, 0, 1, 0, 0.5, 0.0);
162 162
163 /* New Windows */ 163 /* New Windows */
164 ol = e_widget_list_add(evas, 0, 0); 164 ol = e_widget_list_add(evas, 0, 0);
@@ -184,7 +184,7 @@ _basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data
184 &(cfdata->desk_auto_switch)); 184 &(cfdata->desk_auto_switch));
185 e_widget_list_object_append(ol, ow, 1, 1, 0.5); 185 e_widget_list_object_append(ol, ow, 1, 1, 0.5);
186 e_widget_toolbook_page_append(otb, NULL, _("New Windows"), ol, 186 e_widget_toolbook_page_append(otb, NULL, _("New Windows"), ol,
187 0, 0, 1, 0, 0.5, 0.0); 187 1, 0, 1, 0, 0.5, 0.0);
188 188
189 /* Shading */ 189 /* Shading */
190 ol = e_widget_list_add(evas, 0, 0); 190 ol = e_widget_list_add(evas, 0, 0);
@@ -236,7 +236,7 @@ _basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data
236 e_widget_list_object_append(ol, ow, 1, 1, 0.5); 236 e_widget_list_object_append(ol, ow, 1, 1, 0.5);
237 237
238 e_widget_toolbook_page_append(otb, NULL, _("Shading"), ol, 238 e_widget_toolbook_page_append(otb, NULL, _("Shading"), ol,
239 0, 0, 1, 0, 0.5, 0.0); 239 1, 0, 1, 0, 0.5, 0.0);
240 240
241 /* Screen Limits */ 241 /* Screen Limits */
242 ol = e_widget_list_add(evas, 0, 0); 242 ol = e_widget_list_add(evas, 0, 0);
@@ -253,7 +253,7 @@ _basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data
253 e_widget_list_object_append(ol, ow, 1, 1, 0.5); 253 e_widget_list_object_append(ol, ow, 1, 1, 0.5);
254 254
255 e_widget_toolbook_page_append(otb, NULL, _("Screen Limits"), ol, 255 e_widget_toolbook_page_append(otb, NULL, _("Screen Limits"), ol,
256 0, 0, 1, 0, 0.5, 0.0); 256 1, 0, 1, 0, 0.5, 0.0);
257 257
258 e_widget_toolbook_page_show(otb, 0); 258 e_widget_toolbook_page_show(otb, 0);
259 return otb; 259 return otb;
diff --git a/src/modules/winlist/e_int_config_winlist.c b/src/modules/winlist/e_int_config_winlist.c
index 15bf16f34..421676846 100644
--- a/src/modules/winlist/e_int_config_winlist.c
+++ b/src/modules/winlist/e_int_config_winlist.c
@@ -200,7 +200,7 @@ _basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data
200 e_widget_list_object_append(ol, ob, 1, 0, 0.0); 200 e_widget_list_object_append(ol, ob, 1, 0, 0.0);
201 e_widget_check_widget_disable_on_unchecked_add(iconified, ob); 201 e_widget_check_widget_disable_on_unchecked_add(iconified, ob);
202 e_widget_toolbook_page_append(otb, NULL, _("Display"), ol, 202 e_widget_toolbook_page_append(otb, NULL, _("Display"), ol,
203 0, 0, 1, 0, 0.5, 0.0); 203 1, 0, 1, 0, 0.5, 0.0);
204 204
205 ol = e_widget_list_add(evas, 0, 0); 205 ol = e_widget_list_add(evas, 0, 0);
206 ob = e_widget_check_add(evas, _("Focus"), &(cfdata->focus)); 206 ob = e_widget_check_add(evas, _("Focus"), &(cfdata->focus));
@@ -228,7 +228,7 @@ _basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data
228 e_widget_check_widget_disable_on_checked_add(ob, ck); 228 e_widget_check_widget_disable_on_checked_add(ob, ck);
229 e_widget_list_object_append(ol, ob, 1, 0, 0.0); 229 e_widget_list_object_append(ol, ob, 1, 0, 0.0);
230 e_widget_toolbook_page_append(otb, NULL, _("Selecting"), ol, 230 e_widget_toolbook_page_append(otb, NULL, _("Selecting"), ol,
231 0, 0, 1, 0, 0.5, 0.0); 231 1, 0, 1, 0, 0.5, 0.0);
232 232
233 ol = e_widget_list_add(evas, 0, 0); 233 ol = e_widget_list_add(evas, 0, 0);
234 scroll_animate = ob = e_widget_check_add(evas, _("Scroll Animation"), 234 scroll_animate = ob = e_widget_check_add(evas, _("Scroll Animation"),
@@ -242,7 +242,7 @@ _basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data
242 e_widget_check_widget_disable_on_unchecked_add(scroll_animate, ob); 242 e_widget_check_widget_disable_on_unchecked_add(scroll_animate, ob);
243 e_widget_list_object_append(ol, ob, 1, 0, 0.0); 243 e_widget_list_object_append(ol, ob, 1, 0, 0.0);
244 e_widget_toolbook_page_append(otb, NULL, _("Animations"), ol, 244 e_widget_toolbook_page_append(otb, NULL, _("Animations"), ol,
245 0, 0, 1, 0, 0.5, 0.0); 245 1, 0, 1, 0, 0.5, 0.0);
246 246
247 ol = e_widget_list_add(evas, 0, 0); 247 ol = e_widget_list_add(evas, 0, 0);
248 ob = e_widget_label_add(evas, _("Minimum width")); 248 ob = e_widget_label_add(evas, _("Minimum width"));
@@ -272,7 +272,7 @@ _basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data
272 e_widget_on_change_hook_set(ob, _height_limits_changed, cfdata); 272 e_widget_on_change_hook_set(ob, _height_limits_changed, cfdata);
273 e_widget_list_object_append(ol, ob, 1, 0, 0.0); 273 e_widget_list_object_append(ol, ob, 1, 0, 0.0);
274 e_widget_toolbook_page_append(otb, NULL, _("Geometry"), ol, 274 e_widget_toolbook_page_append(otb, NULL, _("Geometry"), ol,
275 0, 0, 1, 0, 0.5, 0.0); 275 1, 0, 1, 0, 0.5, 0.0);
276 276
277 ol = e_widget_list_add(evas, 0, 0); 277 ol = e_widget_list_add(evas, 0, 0);
278 ob = e_widget_label_add(evas, _("Horizontal alignment")); 278 ob = e_widget_label_add(evas, _("Horizontal alignment"));
@@ -286,7 +286,7 @@ _basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data
286 &(cfdata->align_y), NULL, 100); 286 &(cfdata->align_y), NULL, 100);
287 e_widget_list_object_append(ol, ob, 1, 0, 0.0); 287 e_widget_list_object_append(ol, ob, 1, 0, 0.0);
288 e_widget_toolbook_page_append(otb, NULL, _("Alignment"), ol, 288 e_widget_toolbook_page_append(otb, NULL, _("Alignment"), ol,
289 0, 0, 1, 0, 0.5, 0.0); 289 1, 0, 1, 0, 0.5, 0.0);
290 290
291 e_widget_toolbook_page_show(otb, 0); 291 e_widget_toolbook_page_show(otb, 0);
292 292