diff options
author | Simon Tischer <simon@t-tischer.de> | 2020-04-04 21:12:46 +0200 |
---|---|---|
committer | Christopher Michael <devilhorns@comcast.net> | 2020-04-04 15:19:36 -0400 |
commit | 66f0eb79b1406df565cdf980189c8f18653f8418 (patch) | |
tree | b3de3214661003650e05ce18a39b25f0f0cbd747 /src/modules/conf_theme | |
parent | 8194f7c663c1c33727d05433df5d60db23719dfa (diff) | |
download | enlightenment-66f0eb79b1406df565cdf980189c8f18653f8418.tar.gz |
Wallpaper Selector - add button for online themes/wallpapers using extra (extra.e.org) also for advanced
Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11648
Diffstat (limited to 'src/modules/conf_theme')
-rw-r--r-- | src/modules/conf_theme/e_int_config_wallpaper.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/conf_theme/e_int_config_wallpaper.c b/src/modules/conf_theme/e_int_config_wallpaper.c index 288a7cfd61..069880b3ee 100644 --- a/src/modules/conf_theme/e_int_config_wallpaper.c +++ b/src/modules/conf_theme/e_int_config_wallpaper.c @@ -671,6 +671,13 @@ _adv_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data * _cb_import, cfdata, NULL); e_widget_table_object_append(ot, ow, 0, 1, 1, 1, 1, 0, 0, 0); + if (efreet_util_desktop_file_id_find("extra.desktop")) + { + ow = e_widget_button_add(evas, _("Import Online..."), "preferences-desktop-theme", + _cb_import_online, NULL, NULL); + e_widget_table_object_append(ot, ow, 1, 1, 1, 1, 1, 0, 0, 0); + } + mw = 320; mh = (320 * zone->h) / zone->w; oa = e_widget_aspect_add(evas, mw, mh); |