diff options
author | Mike Blumenkrantz <michael.blumenkrantz@gmail.com> | 2012-12-10 08:26:51 +0000 |
---|---|---|
committer | Mike Blumenkrantz <michael.blumenkrantz@gmail.com> | 2012-12-10 08:26:51 +0000 |
commit | 15c4760ff3ab50abb20c351c8b2e9846ae93cbc8 (patch) | |
tree | 6ff653172f657175edc8d47df219ddfb5cd566f9 /src/modules/conf_theme | |
parent | dd20b3c07de81f3774f64b3312acf4f8404f02c3 (diff) | |
download | enlightenment-15c4760ff3ab50abb20c351c8b2e9846ae93cbc8.tar.gz |
more exchange remnants in theme dialog
SVN revision: 80583
Diffstat (limited to 'src/modules/conf_theme')
-rw-r--r-- | src/modules/conf_theme/e_int_config_wallpaper.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/modules/conf_theme/e_int_config_wallpaper.c b/src/modules/conf_theme/e_int_config_wallpaper.c index 763b0038fc..34d168ec8e 100644 --- a/src/modules/conf_theme/e_int_config_wallpaper.c +++ b/src/modules/conf_theme/e_int_config_wallpaper.c @@ -410,10 +410,9 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata) E_Zone *zone = NULL; E_Radio_Group *rg; char path[PATH_MAX]; - int mw, mh, online; + int mw, mh; e_dialog_resizable_set(cfd->dia, 1); - online = ecore_file_download_protocol_available("http://"); zone = e_zone_current_get(cfd->con); o = e_widget_list_add(evas, 0, 1); @@ -469,7 +468,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata) &cfdata->use_theme_bg); cfdata->o_theme_bg = ow; evas_object_smart_callback_add(ow, "changed", _cb_theme_wallpaper, cfdata); - e_widget_table_object_append(ot, ow, 0, 0, 2 + online, 1, 1, 0, 0, 0); + e_widget_table_object_append(ot, ow, 0, 0, 2, 1, 1, 0, 0, 0); ow = e_widget_button_add(evas, _("Picture..."), "folder-image", _cb_import, cfdata, NULL); e_widget_table_object_append(ot, ow, 0, 1, 1, 1, 1, 0, 0, 0); @@ -480,7 +479,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata) cfdata->o_preview = ow; _bg_set(cfdata); evas_object_show(ow); - e_widget_table_object_append(ot, ow, 0, 2, 2 + online, 1, 1, 1, 1, 1); + e_widget_table_object_append(ot, ow, 0, 2, 2, 1, 1, 1, 1, 1); e_widget_list_object_append(o, ot, 1, 1, 0.5); return o; } @@ -528,10 +527,9 @@ _adv_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata) E_Zone *zone = NULL; E_Radio_Group *rg; char path[PATH_MAX]; - int mw, mh, online; + int mw, mh; e_dialog_resizable_set(cfd->dia, 1); - online = ecore_file_download_protocol_available("http://"); zone = e_zone_current_get(cfd->con); o = e_widget_list_add(evas, 0, 1); @@ -580,7 +578,7 @@ _adv_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata) &cfdata->use_theme_bg); cfdata->o_theme_bg = ow; evas_object_smart_callback_add(ow, "changed", _cb_theme_wallpaper, cfdata); - e_widget_table_object_append(ot, ow, 0, 0, 2 + online, 1, 1, 0, 0, 0); + e_widget_table_object_append(ot, ow, 0, 0, 2, 1, 1, 0, 0, 0); ow = e_widget_button_add(evas, _("Picture..."), "folder-image", _cb_import, cfdata, NULL); e_widget_table_object_append(ot, ow, 0, 1, 1, 1, 1, 0, 0, 0); @@ -591,7 +589,7 @@ _adv_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata) evas_object_size_hint_aspect_set(ow, EVAS_ASPECT_CONTROL_BOTH, zone->w, zone->h); cfdata->o_preview = ow; _bg_set(cfdata); - e_widget_table_object_append(ot, ow, 0, 2, 2 + online, 1, 1, 1, 1, 1); + e_widget_table_object_append(ot, ow, 0, 2, 2, 1, 1, 1, 1, 1); rg = e_widget_radio_group_new(&(cfdata->all_this_desk_screen)); of = e_widget_frametable_add(evas, _("Where to place the Wallpaper"), 0); @@ -604,7 +602,7 @@ _adv_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata) (e_util_container_zone_number_get(1, 0)))) e_widget_disabled_set(ow, 1); e_widget_frametable_object_append(of, ow, 0, 2, 1, 1, 1, 0, 1, 0); - e_widget_table_object_append(ot, of, 0, 3, 2 + online, 1, 1, 0, 1, 0); + e_widget_table_object_append(ot, of, 0, 3, 2, 1, 1, 0, 1, 0); e_widget_list_object_append(o, ot, 1, 1, 0.0); |