devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=66f0eb79b1406df565cdf980189c8f18653f8418

commit 66f0eb79b1406df565cdf980189c8f18653f8418
Author: Simon Tischer <[email protected]>
Date:   Sat Apr 4 21:12:46 2020 +0200

    Wallpaper Selector - add button for online themes/wallpapers using extra 
(extra.e.org) also for advanced
    
    Reviewed-by: Christopher Michael <[email protected]>
    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);

-- 


Reply via email to