Hi, here's a small patch that disable (not erase) get-e.org stuffs
from themes and wallpaper configuration modules.
I preferred to use #if 0 ... #endif blocks instead of removing code
because these blocks can remains here as placehoders, making easier
add stuffs from exchange library, when it will be usable.

Regards

Massimiliano
Index: conf_theme/Makefile.am
===================================================================
RCS file: /var/cvs/e/e17/apps/e/src/modules/conf_theme/Makefile.am,v
retrieving revision 1.2
diff -u -r1.2 Makefile.am
--- conf_theme/Makefile.am	2 Jul 2008 11:29:14 -0000	1.2
+++ conf_theme/Makefile.am	28 Jul 2008 21:23:43 -0000
@@ -23,9 +23,9 @@
 			 e_int_config_theme.c \
 			 e_int_config_theme.h \
 			 e_int_config_theme_import.c \
-			 e_int_config_theme_import.h \
-			 e_int_config_theme_web.c \
-			 e_int_config_theme_web.h			 
+			 e_int_config_theme_import.h
+#			 e_int_config_theme_web.c
+#			 e_int_config_theme_web.h			 
 
 module_la_LIBADD       = @e_libs@ @dlopen_libs@
 module_la_LDFLAGS      = -module -avoid-version
Index: conf_theme/e_int_config_theme.c
===================================================================
RCS file: /var/cvs/e/e17/apps/e/src/modules/conf_theme/e_int_config_theme.c,v
retrieving revision 1.13
diff -u -r1.13 e_int_config_theme.c
--- conf_theme/e_int_config_theme.c	2 Jul 2008 11:29:14 -0000	1.13
+++ conf_theme/e_int_config_theme.c	28 Jul 2008 21:23:52 -0000
@@ -37,7 +37,9 @@
 
    /* Dialog */
    E_Win *win_import;
+#if 0   
    E_Win *win_web;
+#endif
 };
 
 EAPI E_Config_Dialog *
@@ -72,6 +74,7 @@
    cfdata->win_import = NULL;
 }
 
+#if 0
 EAPI void
 e_int_config_theme_web_done(E_Config_Dialog *dia)
 {
@@ -80,6 +83,7 @@
    cfdata = dia->cfdata;
    cfdata->win_web = NULL;
 }
+#endif
 
 EAPI void
 e_int_config_theme_update(E_Config_Dialog *dia, char *file)
@@ -256,6 +260,7 @@
      cfdata->win_import = e_int_config_theme_import(cfdata->cfd);
 }
 
+#if 0
 static void
 _cb_web(void *data1, void *data2)
 {
@@ -267,6 +272,7 @@
    else
      cfdata->win_web = e_int_config_theme_web(cfdata->cfd);
 }
+#endif
 
 static void
 _fill_data(E_Config_Dialog_Data *cfdata)
@@ -393,12 +399,14 @@
    o = e_widget_button_add(evas, _(" Import..."), "enlightenment/themes",
 			   _cb_import, cfdata, NULL);
    e_widget_list_object_append(il, o, 1, 0, 0.5);
+#if 0   
    if (ecore_file_download_protocol_available("http://";))
    {
       o = e_widget_button_add(evas, _(" Online..."), "enlightenment/website",
 			      _cb_web, cfdata, NULL);
       e_widget_list_object_append(il, o, 1, 0, 0.5);
-   }	   
+   }
+#endif   
    e_widget_list_object_append(of, il, 1, 0, 0.0);
 
    {
Index: conf_theme/e_mod_main.h
===================================================================
RCS file: /var/cvs/e/e17/apps/e/src/modules/conf_theme/e_mod_main.h,v
retrieving revision 1.3
diff -u -r1.3 e_mod_main.h
--- conf_theme/e_mod_main.h	2 Jul 2008 11:29:14 -0000	1.3
+++ conf_theme/e_mod_main.h	28 Jul 2008 21:23:57 -0000
@@ -7,11 +7,15 @@
 #define E_TYPEDEFS 1
 #include "e_int_config_theme.h"
 #include "e_int_config_theme_import.h"
+#if 0
 #include "e_int_config_theme_web.h"
+#endif
 #undef E_TYPEDEFS
 #include "e_int_config_theme.h"
 #include "e_int_config_theme_import.h"
+#if 0
 #include "e_int_config_theme_web.h"
+#endif
 
 EAPI extern E_Module_Api e_modapi;
 
Index: conf_wallpaper/Makefile.am
===================================================================
RCS file: /var/cvs/e/e17/apps/e/src/modules/conf_wallpaper/Makefile.am,v
retrieving revision 1.2
diff -u -r1.2 Makefile.am
--- conf_wallpaper/Makefile.am	5 Mar 2008 05:35:37 -0000	1.2
+++ conf_wallpaper/Makefile.am	28 Jul 2008 21:23:58 -0000
@@ -25,9 +25,9 @@
 			 e_int_config_wallpaper_gradient.h \
 			 e_int_config_wallpaper.h \
 			 e_int_config_wallpaper_import.c \
-			 e_int_config_wallpaper_import.h \
-			 e_int_config_wallpaper_web.c \
-			 e_int_config_wallpaper_web.h
+			 e_int_config_wallpaper_import.h
+#			 e_int_config_wallpaper_web.c \
+#			 e_int_config_wallpaper_web.h
 
 module_la_LIBADD       = @e_libs@ @dlopen_libs@
 module_la_LDFLAGS      = -module -avoid-version
Index: conf_wallpaper/e_int_config_wallpaper.c
===================================================================
RCS file: /var/cvs/e/e17/apps/e/src/modules/conf_wallpaper/e_int_config_wallpaper.c,v
retrieving revision 1.12
diff -u -r1.12 e_int_config_wallpaper.c
--- conf_wallpaper/e_int_config_wallpaper.c	12 May 2008 20:49:44 -0000	1.12
+++ conf_wallpaper/e_int_config_wallpaper.c	28 Jul 2008 21:24:04 -0000
@@ -53,7 +53,9 @@
    /* dialogs */
    E_Win *win_import;
    E_Dialog *dia_gradient;
+#if 0
    E_Dialog *dia_web;
+#endif   
 };
 
 EAPI E_Config_Dialog *
@@ -151,6 +153,7 @@
    cfdata->dia_gradient = NULL;
 }
 
+#if 0
 EAPI void
 e_int_config_wallpaper_web_done(E_Config_Dialog *dia)
 {
@@ -159,6 +162,7 @@
    cfdata = dia->cfdata;
    cfdata->dia_web = NULL;
 }
+#endif
 
 EAPI void 
 e_int_config_wallpaper_handler_set(Evas_Object *obj, const char *path, void *data) 
@@ -376,6 +380,7 @@
      cfdata->dia_gradient = e_int_config_wallpaper_gradient(cfdata->cfd);
 }
 
+#if 0
 static void
 _cb_web(void *data1, void *data2)
 {
@@ -387,6 +392,7 @@
    else
       cfdata->dia_web = e_int_config_wallpaper_web(cfdata->cfd);   
 }
+#endif
 
 static void
 _fill_data(E_Config_Dialog_Data *cfdata)
@@ -468,8 +474,10 @@
      e_int_config_wallpaper_del(cfdata->win_import);
    if (cfdata->dia_gradient) 
      e_int_config_wallpaper_gradient_del(cfdata->dia_gradient);
+#if 0   
    if (cfdata->dia_web)
      e_int_config_wallpaper_web_del(cfdata->dia_web);
+#endif   
    E_FREE(cfdata->bg);
    E_FREE(cfd->data);
    E_FREE(cfdata);
@@ -542,12 +550,14 @@
    ow = e_widget_button_add(evas, _("Gradient..."), "enlightenment/gradient",
 			    _cb_gradient, cfdata, NULL);
    e_widget_table_object_append(ot, ow, 1, 1, 1, 1, 1, 0, 0, 0);
+#if 0   
    if (ecore_file_download_protocol_available("http://";))
    {
       ow = e_widget_button_add(evas, _("Online..."), "enlightenment/website",
 			       _cb_web, cfdata, NULL);
       e_widget_table_object_append(ot, ow, 2, 1, 1, 1, 1, 0, 0, 0);
    }
+#endif   
 
    mw = 320;
    mh = (320 * zone->h) / zone->w;
@@ -666,13 +676,15 @@
    ow = e_widget_button_add(evas, _("Gradient..."), "enlightenment/gradient",
 			    _cb_gradient, cfdata, NULL);
    e_widget_table_object_append(ot, ow, 1, 1, 1, 1, 1, 0, 0, 0);
+#if 0   
    if (ecore_file_download_protocol_available("http://";))
    {
       ow = e_widget_button_add(evas, _("Online..."), "enlightenment/website",
 			       _cb_web, cfdata, NULL);
       e_widget_table_object_append(ot, ow, 2, 1, 1, 1, 1, 0, 0, 0);
    }
-
+#endif
+   
    mw = 320;
    mh = (320 * zone->h) / zone->w;
    oa = e_widget_aspect_add(evas, mw, mh);
Index: conf_wallpaper/e_mod_main.h
===================================================================
RCS file: /var/cvs/e/e17/apps/e/src/modules/conf_wallpaper/e_mod_main.h,v
retrieving revision 1.3
diff -u -r1.3 e_mod_main.h
--- conf_wallpaper/e_mod_main.h	5 Mar 2008 05:35:37 -0000	1.3
+++ conf_wallpaper/e_mod_main.h	28 Jul 2008 21:24:05 -0000
@@ -8,12 +8,16 @@
 #include "e_int_config_wallpaper.h"
 #include "e_int_config_wallpaper_import.h"
 #include "e_int_config_wallpaper_gradient.h"
+#if 0
 #include "e_int_config_wallpaper_web.h"
+#endif
 #undef E_TYPEDEFS
 #include "e_int_config_wallpaper.h"
 #include "e_int_config_wallpaper_import.h"
 #include "e_int_config_wallpaper_gradient.h"
+#if 0
 #include "e_int_config_wallpaper_web.h"
+#endif
 
 EAPI extern E_Module_Api e_modapi;
 
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to