From 66f0eb79b1406df565cdf980189c8f18653f8418 Mon Sep 17 00:00:00 2001 From: Simon Tischer Date: Sat, 4 Apr 2020 21:12:46 +0200 Subject: [PATCH] Wallpaper Selector - add button for online themes/wallpapers using extra (extra.e.org) also for advanced Reviewed-by: Christopher Michael Differential Revision: https://phab.enlightenment.org/D11648 --- src/modules/conf_theme/e_int_config_wallpaper.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/modules/conf_theme/e_int_config_wallpaper.c b/src/modules/conf_theme/e_int_config_wallpaper.c index 288a7cfd6..069880b3e 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);