E CVS: slideshow devilhorns

2008-04-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_config.c 


Log Message:
Patch from Viktor Kojouharov to add a radio option for setting wallpaper on
the current screen.

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- e_mod_config.c  12 Nov 2007 07:58:34 -  1.35
+++ e_mod_config.c  3 Apr 2008 18:38:52 -   1.36
@@ -114,6 +114,8 @@
e_widget_framelist_object_append (of, ob);
ob = e_widget_radio_add(evas, D_(Set wallpaper on current desktop), 0, 
rg);
e_widget_framelist_object_append (of, ob);
+   ob = e_widget_radio_add(evas, D_(Set wallpaper on current screen), 2, rg);
+   e_widget_framelist_object_append (of, ob);
if(ecore_x_xinerama_screen_count_get()  1)
  {
ob = e_widget_radio_add(evas, D_(Set wallpaper on current monitor 
(Xinerama support)), 2, rg);



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2008-01-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
Patch from Viktor Kojouharov for increasing thumbnail size to accomodate for
the largest possible shelf size.

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -3 -r1.56 -r1.57
--- e_mod_main.c2 Dec 2007 16:35:24 -   1.56
+++ e_mod_main.c16 Jan 2008 00:15:38 -  1.57
@@ -395,7 +395,7 @@
ss = E_NEW(Slideshow, 1);
snprintf(buf, sizeof (buf), %s/slideshow.edj, e_module_dir_get 
(slide_config-module));
ss-img_obj = e_livethumb_add(evas);
-   e_livethumb_vsize_set(ss-img_obj, 16, 16);
+   e_livethumb_vsize_set(ss-img_obj, 120, 120);
evas_object_show(ss-img_obj);
 
ss-slide_obj = edje_object_add(evas);



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2007-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
module.desktop 


Log Message:
Fix up module.desktop descriptions for new box width.

===
RCS file: /cvs/e/e_modules/slideshow/module.desktop,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- module.desktop  4 Nov 2007 15:45:45 -   1.3
+++ module.desktop  30 Dec 2007 19:49:25 -  1.4
@@ -2,5 +2,5 @@
 Type=Link
 Name=Slideshow
 Icon=e-module-slideshow
-Comment=hilightSlideshow Module/hilightbrTurns your desktop 
backgroundbrinto a slideshow.
-Comment[it]=hilightModulo Slideshow/hilightbrTrasforma lo sfondo del 
vostrobrdesktop in uno slideshow.
+Comment=hilightSlideshow Module/hilightbrbrTurns your desktop 
background into a slideshow.
+Comment[it]=hilightModulo Slideshow/hilightbrbrTrasforma lo sfondo del 
vostro desktop in uno slideshow.



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2007-11-24 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c e_mod_main.h 


Log Message:
Fix for gadcon menu breakage.

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -3 -r1.54 -r1.55
--- e_mod_main.c12 Nov 2007 04:15:52 -  1.54
+++ e_mod_main.c25 Nov 2007 05:48:33 -  1.55
@@ -37,7 +37,6 @@
 
 static void _slide_cb_mouse_down (void *data, Evas *e, Evas_Object 
*obj, void *event_info);
 static void _slide_menu_cb_configure (void *data, E_Menu *m, 
E_Menu_Item *mi);
-static void _slide_menu_cb_post  (void *data, E_Menu *m);
 static Config_Item *_slide_config_item_get   (const char *id);
 static Slideshow   *_slide_new   (Evas *evas);
 static void _slide_free  (Slideshow *ss);
@@ -170,15 +169,13 @@
 
inst = data;
ev = event_info;
-   if ((ev-button == 3)  (!slide_config-menu))
+   if ((ev-button == 3)  (!inst-gcc-menu))
  {
E_Menu *mn;
E_Menu_Item *mi;
int x, y, w, h;
 
mn = e_menu_new();
-   e_menu_post_deactivate_callback_set(mn, _slide_menu_cb_post, inst);
-   slide_config-menu = mn;
 
mi = e_menu_item_new(mn);
e_menu_item_label_set(mi, D_(Configuration));
@@ -211,15 +208,6 @@
 }
 
 static void
-_slide_menu_cb_post(void *data, E_Menu *m)
-{
-   if (!slide_config-menu)
- return;
-   e_object_del(E_OBJECT(slide_config-menu));
-   slide_config-menu = NULL;
-}
-
-static void
 _slide_menu_cb_configure(void *data, E_Menu *m, E_Menu_Item *mi)
 {
Instance *inst;
@@ -357,12 +345,6 @@
 
if (slide_config-config_dialog)
  e_object_del(E_OBJECT(slide_config-config_dialog));
-   if (slide_config-menu)
- {
-   e_menu_post_deactivate_callback_set(slide_config-menu, NULL, NULL);
-   e_object_del(E_OBJECT(slide_config-menu));
-   slide_config-menu = NULL;
- }
while (slide_config-items)
  {
Config_Item *ci;
===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- e_mod_main.h31 Oct 2007 14:30:58 -  1.21
+++ e_mod_main.h25 Nov 2007 05:48:33 -  1.22
@@ -10,7 +10,6 @@
 {
E_Module *module;
E_Config_Dialog *config_dialog;
-   E_Menu *menu;
Evas_List *instances;
Evas_List *items;
 };



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2007-10-31 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_config.c e_mod_main.c e_mod_main.h 


Log Message:
Update slideshow for recent module changes.

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- e_mod_config.c  7 Oct 2007 21:26:48 -   1.33
+++ e_mod_config.c  31 Oct 2007 14:30:58 -  1.34
@@ -31,10 +31,13 @@
v-basic.apply_cfdata = _basic_apply_data;
v-basic.create_widgets = _basic_create_widgets;
 
-   snprintf (buf, sizeof (buf), %s/module.edj, 
e_module_dir_get(slide_config-module));
+   snprintf (buf, sizeof (buf), %s/e-module-slideshow.edj, 
+e_module_dir_get(slide_config-module));
con = e_container_current_get (e_manager_current_get ());
-   cfd =
- e_config_dialog_new (con, D_ (Slideshow Configuration), SlideShow, 
_e_modules_slideshow_config_dialog, buf, 0, v, ci);
+   cfd = e_config_dialog_new (con, D_ (Slideshow Configuration), 
+ SlideShow, 
+ _e_modules_slideshow_config_dialog, buf, 
+ 0, v, ci);
slide_config-config_dialog = cfd;
 }
 
===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -3 -r1.52 -r1.53
--- e_mod_main.c16 Sep 2007 03:31:41 -  1.52
+++ e_mod_main.c31 Oct 2007 14:30:58 -  1.53
@@ -383,14 +383,6 @@
return 1;
 }
 
-EAPI int
-e_modapi_about(E_Module *m)
-{
-   e_module_dialog_show(m, D_ (Enlightenment Slide Show Module),
-D_(This module is VERY simple and is used to cycle 
desktop backgrounds));
-   return 1;
-}
-
 static Slideshow *
 _slide_new(Evas *evas)
 {
===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- e_mod_main.h16 Sep 2007 01:46:51 -  1.20
+++ e_mod_main.h31 Oct 2007 14:30:58 -  1.21
@@ -31,7 +31,6 @@
 EAPI void *e_modapi_init(E_Module *m);
 EAPI int   e_modapi_shutdown(E_Module *m);
 EAPI int   e_modapi_save(E_Module *m);
-EAPI int   e_modapi_about(E_Module *m);
 
 void _config_slideshow_module(Config_Item *ci);
 void _slide_config_updated(Config_Item *ci);



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2007-08-20 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
Remove this CamelCase nonsense. Not sure how it got in there, but I want it
out :)

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -3 -r1.48 -r1.49
--- e_mod_main.c25 Jul 2007 17:06:42 -  1.48
+++ e_mod_main.c20 Aug 2007 09:34:38 -  1.49
@@ -460,10 +460,10 @@
 static void
 _slide_get_bg_subdirs(void *data, char *localPath)
 {
-   Ecore_List *dirListing;
-   char fullPath[4096];
-   char itemFullPath[4096];
-   char itemLocalPath[4096];
+   Ecore_List *dir_list;
+   char full_path[4096];
+   char item_full_path[4096];
+   char item_local_path[4096];
char *item;
Instance *inst;
Config_Item *ci;
@@ -473,21 +473,21 @@
if(!ci-dir)
  return;
 
-   snprintf(fullPath, sizeof(fullPath), %s/%s, ci-dir, localPath);
-   dirListing = ecore_file_ls(fullPath);
+   snprintf(full_path, sizeof(full_path), %s/%s, ci-dir, localPath);
+   dir_list = ecore_file_ls(full_path);
 
-   while((item = ecore_list_next(dirListing)) != NULL)
+   while((item = ecore_list_next(dir_list)) != NULL)
  {
-   snprintf(itemFullPath, sizeof(itemFullPath), %s/%s, fullPath, item);
-   snprintf(itemLocalPath, sizeof(itemLocalPath), %s/%s, localPath, 
item);
+   snprintf(item_full_path, sizeof(item_full_path), %s/%s, full_path, 
item);
+   snprintf(item_local_path, sizeof(item_local_path), %s/%s, localPath, 
item);
 
-   if(ecore_file_is_dir(itemFullPath))
- _slide_get_bg_subdirs(inst, itemLocalPath);
+   if(ecore_file_is_dir(item_full_path))
+ _slide_get_bg_subdirs(inst, item_local_path);
else
- ecore_list_append(inst-bg_list, strdup(itemLocalPath));
+ ecore_list_append(inst-bg_list, strdup(item_local_path));
  }
 
-   ecore_list_destroy(dirListing);
+   ecore_list_destroy(dir_list);
 }
 
 static void
@@ -496,8 +496,8 @@
Instance *inst;
Config_Item *ci;
char *item;
-   Ecore_List *dirListing;
-   char itemFullPath[4096];
+   Ecore_List *dir_list;
+   char item_full_path[4096];
 
inst = data;
ci = _slide_config_item_get(inst-gcc-id);
@@ -509,19 +509,19 @@
inst-bg_list = ecore_list_new();
ecore_list_free_cb_set(inst-bg_list, free);
 
-   dirListing = ecore_file_ls(ci-dir);
+   dir_list = ecore_file_ls(ci-dir);
 
-   while((item = ecore_list_next(dirListing)) != NULL)
+   while((item = ecore_list_next(dir_list)) != NULL)
  {
-   snprintf(itemFullPath, sizeof(itemFullPath), %s/%s, ci-dir, item);
+   snprintf(item_full_path, sizeof(item_full_path), %s/%s, ci-dir, 
item);
 
-   if(ecore_file_is_dir(itemFullPath))
+   if(ecore_file_is_dir(item_full_path))
  _slide_get_bg_subdirs(inst, item);
else
  ecore_list_append(inst-bg_list, strdup(item));
  }
 
-   ecore_list_destroy(dirListing);
+   ecore_list_destroy(dir_list);
 
ecore_list_first_goto(inst-bg_list);
while ((item = (char *)ecore_list_next(inst-bg_list)) != NULL)



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2007-04-25 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
configure.in 


Log Message:
Pretty standard patch set from Lutin for recent pkg-config changes in EFL...
committing in bulk.

===
RCS file: /cvs/e/e_modules/slideshow/configure.in,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- configure.in30 Mar 2007 20:44:32 -  1.21
+++ configure.in25 Apr 2007 09:22:07 -  1.22
@@ -104,22 +104,9 @@
 #AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
 #AC_SUBST(dlopen_libs)
 
-AC_ARG_WITH(edje-config,
-[  --with-edje-config=EDJE_CONFIG  use edje-config specified ],
-[
-  EDJE_CONFIG=$withval;
-  echo using $EDJE_CONFIG for edje-config;
-/
-],[
-  PROG=edje-config;
-  AC_PATH_PROG(EDJE_CONFIG, $PROG, , $PATH)
-])
-edje_cflags=`$EDJE_CONFIG --cflags`
-edje_libs=`$EDJE_CONFIG --libs`
-AC_SUBST(edje_cflags)
-AC_SUBST(edje_libs)
+PKG_CHECK_MODULES(EDJE, [edje = 0.5.0])
 
-edje_cc=`$EDJE_CONFIG --prefix`/bin/edje_cc
+edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc
 AC_ARG_WITH(edje-cc,
 [  --with-edje-cc=PATH  specify a specific path to edje_cc],
 [
@@ -127,7 +114,7 @@
   edje_cc=$v
   echo   Enlightenment edje_cc explicitly set to $edje_cc;
 ],[
-  edje_cc=`$EDJE_CONFIG --prefix`/bin/edje_cc
+  edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc
 ])
 AC_SUBST(edje_cc)
 



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2007-03-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
ABOUT-NLS Makefile.am autogen.sh configure.in e_mod_main.c 
Added Files:
e-module-slideshow.edj 
Removed Files:
module.desktop.in module.edj 


Log Message:
Slideshow converted to new desktop files.

===
RCS file: /cvs/e/e_modules/slideshow/ABOUT-NLS,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ABOUT-NLS   30 Jan 2006 18:11:41 -  1.1
+++ ABOUT-NLS   30 Mar 2007 20:44:32 -  1.2
@@ -1,8 +1,8 @@
 Notes on the Free Translation Project
 *
 
-   Free software is going international!  The Free Translation Project
-is a way to get maintainers of free software, translators, and users all
+Free software is going international!  The Free Translation Project is
+a way to get maintainers of free software, translators, and users all
 together, so that will gradually become able to speak many languages.
 A few packages already provide translations for their messages.
 
@@ -25,7 +25,7 @@
 Quick configuration advice
 ==
 
-   If you want to exploit the full power of internationalization, you
+If you want to exploit the full power of internationalization, you
 should configure it using
 
  ./configure --with-included-gettext
@@ -48,10 +48,10 @@
 INSTALL Matters
 ===
 
-   Some packages are localizable when properly installed; the
-programs they contain can be made to speak your own native language.
-Most such packages use GNU `gettext'.  Other packages have their own
-ways to internationalization, predating GNU `gettext'.
+Some packages are localizable when properly installed; the programs
+they contain can be made to speak your own native language.  Most such
+packages use GNU `gettext'.  Other packages have their own ways to
+internationalization, predating GNU `gettext'.
 
By default, this package will be installed to allow translation of
 messages.  It will automatically detect whether the system already
@@ -98,7 +98,7 @@
 Using This Package
 ==
 
-   As a user, if your language has been installed for this package, you
+As a user, if your language has been installed for this package, you
 only have to set the `LANG' environment variable to the appropriate
 `LL_CC' combination.  Here `LL' is an ISO 639 two-letter language code,
 and `CC' is an ISO 3166 two-letter country code.  For example, let's
@@ -131,6 +131,13 @@
 read translations in German than English for when Swedish is not
 available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'.
 
+   Special advice for Norwegian users: The language code for Norwegian
+bokma*l changed from `no' to `nb' recently (in 2003).  During the
+transition period, while some message catalogs for this language are
+installed under `nb' and some older ones under `no', it's recommended
+for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and
+older translations are used.
+
In the `LANGUAGE' environment variable, but not in the `LANG'
 environment variable, `LL_CC' combinations can be abbreviated as `LL'
 to denote the language's main dialect.  For example, `de' is equivalent
@@ -140,7 +147,7 @@
 Translating Teams
 =
 
-   For the Free Translation Project to be a success, we need interested
+For the Free Translation Project to be a success, we need interested
 people who like their own language and write it well, and who are also
 able to synergize with other translators speaking the same language.
 Each translation team has its own mailing list.  The up-to-date list of
@@ -170,16 +177,559 @@
 Available Packages
 ==
 
-   Languages are not equally supported in all packages.  The following
-matrix shows the current state of internationalization, as of April
-2005.  The matrix shows, in regard of each package, for which languages
+Languages are not equally supported in all packages.  The following
+matrix shows the current state of internationalization, as of January
+2004.  The matrix shows, in regard of each package, for which languages
 PO files have been submitted to translation coordination, with a
 translation percentage of at least 50%.
 
- Ready PO filesen fr ja de bg es fi pl pt ru
- +---+
- enlightenment   | [] [] [] [] [] [] [] [] [] [] |
-
+ Ready PO files   af am ar az be bg bs ca cs da de el en en_GB eo es
+++
+ a2ps   | [] [] [] []|
+ aegis  |   ()   |
+ ant-phone  |   ()   |
+ anubis | 

E CVS: slideshow devilhorns

2007-03-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Added Files:
module.desktop 


Log Message:
Actually add the module.desktop file.




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2007-01-13 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
E_FREE already sets the pointer to NULL.

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -3 -r1.44 -r1.45
--- e_mod_main.c30 Dec 2006 23:34:00 -  1.44
+++ e_mod_main.c14 Jan 2007 02:48:00 -  1.45
@@ -356,7 +356,6 @@
E_FREE(ci);
  }
E_FREE(slide_config);
-   slide_config = NULL;
E_CONFIG_DD_FREE(conf_item_edd);
E_CONFIG_DD_FREE(conf_edd);
return 1;



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-12-18 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
Aside from some minor formatting, nothing wrong with that patch.
(Formatting fixed)

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -3 -r1.41 -r1.42
--- e_mod_main.c18 Dec 2006 06:16:56 -  1.41
+++ e_mod_main.c18 Dec 2006 09:15:58 -  1.42
@@ -568,10 +568,10 @@
else if (ci-all_desks == 2)
  {
z = e_gadcon_zone_get(g);
-for (i = 0; i  z-desk_x_count*z-desk_y_count; i++)
+for (i = 0; i  z-desk_x_count * z-desk_y_count; i++)
   {
 e_bg_del(z-container-num, z-num, z-desks[i]-x, 
z-desks[i]-y);
-e_bg_add(z-container-num, z-num, z-desks[i]-x, 
z-desks[i]-y, buf);   
+e_bg_add(z-container-num, z-num, z-desks[i]-x, 
z-desks[i]-y, buf);
  } 
  }   
 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-12-17 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
Patch from zgold for more xinerama fixes.

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- e_mod_main.c15 Dec 2006 03:02:40 -  1.40
+++ e_mod_main.c18 Dec 2006 06:16:56 -  1.41
@@ -534,12 +534,15 @@
Instance *inst;
Config_Item *ci;
E_Container *con;
+   E_Gadcon *g;
E_Desk *d;
E_Zone *z;
int i;
char buf[4096];
 
inst = data;
+   g = inst-gcc-gadcon;
+   if(!g){return;}
ci = _slide_config_item_get(inst-gcc-id);
snprintf (buf, sizeof (buf), %s/%s, ci-dir, bg);
 
@@ -564,12 +567,11 @@
  }
else if (ci-all_desks == 2)
  {
-   con = e_container_current_get(e_manager_current_get());
-z = e_zone_current_get(con);
-for (i = 0; i  (z-desk_x_count * z-desk_y_count); i++)
+   z = e_gadcon_zone_get(g);
+for (i = 0; i  z-desk_x_count*z-desk_y_count; i++)
   {
-e_bg_del(con-num, z-num, z-desks[i]-x, z-desks[i]-y);
-e_bg_add(con-num, z-num, z-desks[i]-x, z-desks[i]-y, buf);   
 
+e_bg_del(z-container-num, z-num, z-desks[i]-x, 
z-desks[i]-y);
+e_bg_add(z-container-num, z-num, z-desks[i]-x, 
z-desks[i]-y, buf);   
  } 
  }   
 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-12-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c e_mod_config.c 


Log Message:
Patch from Zachary Goldberg (zgold) for xinerama support.

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -3 -r1.39 -r1.40
--- e_mod_main.c10 Dec 2006 01:00:07 -  1.39
+++ e_mod_main.c15 Dec 2006 03:02:40 -  1.40
@@ -536,6 +536,7 @@
E_Container *con;
E_Desk *d;
E_Zone *z;
+   int i;
char buf[4096];
 
inst = data;
@@ -561,7 +562,17 @@
  }
e_bg_default_set(buf);
  }
-   
+   else if (ci-all_desks == 2)
+ {
+   con = e_container_current_get(e_manager_current_get());
+z = e_zone_current_get(con);
+for (i = 0; i  (z-desk_x_count * z-desk_y_count); i++)
+  {
+e_bg_del(con-num, z-num, z-desks[i]-x, z-desks[i]-y);
+e_bg_add(con-num, z-num, z-desks[i]-x, z-desks[i]-y, buf);   
 
+ } 
+ }   
+
e_bg_update();
 }
 
===
RCS file: /cvs/e/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- e_mod_config.c  10 Dec 2006 01:00:07 -  1.30
+++ e_mod_config.c  15 Dec 2006 03:02:40 -  1.31
@@ -111,6 +111,11 @@
e_widget_framelist_object_append (of, ob);
ob = e_widget_radio_add(evas, _(Set wallpaper on current desktop), 0, rg);
e_widget_framelist_object_append (of, ob);
+   if(ecore_x_xinerama_screen_count_get()  1)
+ {
+   ob = e_widget_radio_add(evas, _(Set wallpaper on current monitor 
(Xinerama support)), 2, rg);
+   e_widget_framelist_object_append (of, ob);
+ }
e_widget_list_object_append (o, of, 1, 1, 0.5);
 
return o;
@@ -135,8 +140,7 @@
  ci-dir = evas_stringshare_add (cfdata-dir);
else
  {
-   snprintf (buf, sizeof (buf), %s/.e/e/backgrounds,
- e_user_homedir_get ());
+   snprintf (buf, sizeof (buf), %s/.e/e/backgrounds, e_user_homedir_get 
());
ci-dir = evas_stringshare_add (buf);
  }
 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-12-09 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.h e_mod_main.c e_mod_config.c 


Log Message:
Add an option to slideshow module for setting wallpaper on all desktops, or
just the current one.

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- e_mod_main.h28 Jul 2006 00:02:17 -  1.18
+++ e_mod_main.h10 Dec 2006 01:00:07 -  1.19
@@ -21,6 +21,7 @@
 
int disable_timer;
int random_order;
+   int all_desks;
double poll_time;
const char *dir;
 };
===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -3 -r1.38 -r1.39
--- e_mod_main.c17 Sep 2006 16:15:35 -  1.38
+++ e_mod_main.c10 Dec 2006 01:00:07 -  1.39
@@ -271,6 +271,7 @@
ci-id = evas_stringshare_add(id);
ci-poll_time = 60.0;
ci-disable_timer = 0;
+   ci-all_desks = 0;
ci-dir = evas_stringshare_add(buf);
 
slide_config-items = evas_list_append(slide_config-items, ci);
@@ -298,7 +299,8 @@
E_CONFIG_VAL(D, T, poll_time, DOUBLE);
E_CONFIG_VAL(D, T, disable_timer, INT);
E_CONFIG_VAL(D, T, random_order, INT);
-
+   E_CONFIG_VAL(D, T, all_desks, INT);
+   
conf_edd = E_CONFIG_DD_NEW(Slideshow_Config, Config);
 #undef T
 #undef D
@@ -321,6 +323,7 @@
ci-poll_time = 60.0;
ci-disable_timer = 0;
ci-random_order = 0;
+   ci-all_desks = 0;
slide_config-items = evas_list_append(slide_config-items, ci);
  }
slide_config-module = m;
@@ -400,8 +403,7 @@
 
ss-slide_obj = edje_object_add(evas);
if (!e_theme_edje_object_set
-   (ss-slide_obj, base/theme/modules/slideshow,
-   modules/slideshow/main))
+   (ss-slide_obj, base/theme/modules/slideshow, 
modules/slideshow/main))
  edje_object_file_set(ss-slide_obj, buf, modules/slideshow/main);
evas_object_show(ss-slide_obj);
 
@@ -531,13 +533,36 @@
 {
Instance *inst;
Config_Item *ci;
+   E_Container *con;
+   E_Desk *d;
+   E_Zone *z;
char buf[4096];
 
inst = data;
ci = _slide_config_item_get(inst-gcc-id);
-   snprintf (buf, sizeof (buf), enlightenment_remote -default-bg-set %s/%s,
-ci-dir, bg);
-   system(buf);
+   snprintf (buf, sizeof (buf), %s/%s, ci-dir, bg);
+
+   if (ci-all_desks == 0) 
+ {
+   con = e_container_current_get(e_manager_current_get());
+   z = e_zone_current_get(con);
+   d = e_desk_current_get(z);
+   e_bg_del(con-num, z-num, d-x, d-y);
+   e_bg_add(con-num, z-num, d-x, d-y, buf);
+ }
+   else if (ci-all_desks == 1) 
+ {
+   while (e_config-desktop_backgrounds) 
+ {
+E_Config_Desktop_Background *cfbg;
+
+cfbg = e_config-desktop_backgrounds-data;
+e_bg_del(cfbg-container, cfbg-zone, cfbg-desk_x, cfbg-desk_y);
+ }
+   e_bg_default_set(buf);
+ }
+   
+   e_bg_update();
 }
 
 static void
@@ -555,9 +580,9 @@
 
bg = ecore_list_goto_index(inst-bg_list, inst-index);
snprintf(buf, sizeof (buf), %s/%s, ci-dir, bg);
-   if (!e_util_edje_collection_exists (buf, desktop/background)) return;
+   if (!e_util_edje_collection_exists (buf, e/desktop/background)) return;
if (ss-bg_obj) evas_object_del(ss-bg_obj);
ss-bg_obj = edje_object_add(e_livethumb_evas_get (ss-img_obj));
-   edje_object_file_set(ss-bg_obj, buf, desktop/background);
+   edje_object_file_set(ss-bg_obj, buf, e/desktop/background);
e_livethumb_thumb_set(ss-img_obj, ss-bg_obj);
 }
===
RCS file: /cvs/e/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- e_mod_config.c  17 Sep 2006 16:15:35 -  1.29
+++ e_mod_config.c  10 Dec 2006 01:00:07 -  1.30
@@ -3,143 +3,145 @@
 
 struct _E_Config_Dialog_Data
 {
-  int disable_timer;
-  int random_order;
-  double poll_time;
-  char *dir;
+   int disable_timer;
+   int random_order;
+   int all_desks;
+   double poll_time;
+   char *dir;
 };
 
 /* Protos */
-static void *_create_data (E_Config_Dialog * cfd);
-static void _free_data (E_Config_Dialog * cfd, E_Config_Dialog_Data * cfdata);
-static Evas_Object *_basic_create_widgets (E_Config_Dialog * cfd, Evas * evas,
-  E_Config_Dialog_Data * cfdata);
-static int _basic_apply_data (E_Config_Dialog * cfd,
- E_Config_Dialog_Data * cfdata);
+static void*_create_data  (E_Config_Dialog * cfd);
+static void _free_data(E_Config_Dialog * cfd, 
E_Config_Dialog_Data * cfdata);
+static Evas_Object *_basic_create_widgets 

E CVS: slideshow devilhorns

2006-09-02 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
Makefile.am 


Log Message:
Added make uninstall rule

===
RCS file: /cvs/e/e_modules/slideshow/Makefile.am,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- Makefile.am 14 Jul 2006 18:57:58 -  1.11
+++ Makefile.am 2 Sep 2006 12:43:58 -   1.12
@@ -39,3 +39,5 @@
 
 clean-local:
 rm -rf *.edj *~
+uninstall:
+   rm -rf $(datadir)



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-07-28 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
Patch fix. Forgot to remove this line as it breaks recursion.

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- e_mod_main.c28 Jul 2006 00:02:17 -  1.35
+++ e_mod_main.c28 Jul 2006 05:18:12 -  1.36
@@ -520,7 +520,6 @@
 
ecore_list_destroy(dirListing);
 
-   inst-bg_list = ecore_file_ls(ci-dir);
ecore_list_goto_first(inst-bg_list);
while ((item = (char *)ecore_list_next(inst-bg_list)) != NULL)
  inst-bg_count++;



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-07-27 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.h e_mod_main.c e_mod_config.c 


Log Message:
Modified patch from Joao Vale:

-Searches for backgrounds in specified directory and all sub-dirs.
-Optionally randomize the order of backgrounds.

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- e_mod_main.h6 Jun 2006 15:31:43 -   1.17
+++ e_mod_main.h28 Jul 2006 00:02:17 -  1.18
@@ -20,6 +20,7 @@
const char *id;
 
int disable_timer;
+   int random_order;
double poll_time;
const char *dir;
 };
===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- e_mod_main.c18 Jul 2006 00:01:37 -  1.34
+++ e_mod_main.c28 Jul 2006 00:02:17 -  1.35
@@ -8,509 +8,556 @@
 
 struct _Instance
 {
-  E_Gadcon_Client *gcc;
-  Evas_Object *slide_obj;
-  Slideshow *slide;
-  Ecore_Timer *check_timer;
-  Ecore_List *bg_list;
-  const char *display;
-  int index, bg_id, bg_count;
+   E_Gadcon_Client *gcc;
+   Evas_Object *slide_obj;
+   Slideshow   *slide;
+   Ecore_Timer *check_timer;
+   Ecore_List  *bg_list;
+   const char  *display;
+   
+   int index, bg_id, bg_count;
 };
 
 struct _Slideshow
 {
-  Instance *inst;
-  Evas_Object *slide_obj;
-  Evas_Object *bg_obj;
-  Evas_Object *img_obj;
+   Instance*inst;
+   Evas_Object *slide_obj;
+   Evas_Object *bg_obj;
+   Evas_Object *img_obj;
 };
 
-static E_Gadcon_Client *_gc_init (E_Gadcon * gc, const char *name,
- const char *id, const char *style);
-static void _gc_shutdown (E_Gadcon_Client * gcc);
-static void _gc_orient (E_Gadcon_Client * gcc);
-static char *_gc_label (void);
-static Evas_Object *_gc_icon (Evas * evas);
-
-static void _slide_cb_mouse_down (void *data, Evas * e, Evas_Object * obj,
- void *event_info);
-static void _slide_menu_cb_configure (void *data, E_Menu * m,
- E_Menu_Item * mi);
-static void _slide_menu_cb_post (void *data, E_Menu * m);
-static Config_Item *_slide_config_item_get (const char *id);
-static Slideshow *_slide_new (Evas * evas);
-static void _slide_free (Slideshow * ss);
-static int _slide_cb_check (void *data);
-static void _slide_get_bg_count (void *data);
-static void _slide_set_bg (void *data, const char *bg);
-static void _slide_set_preview (void *data);
+static E_Gadcon_Client *_gc_init (E_Gadcon *gc, const char *name, const 
char *id, const char *style);
+static void _gc_shutdown (E_Gadcon_Client *gcc);
+static void _gc_orient   (E_Gadcon_Client *gcc);
+static char*_gc_label(void);
+static Evas_Object *_gc_icon (Evas *evas);
+
+static void _slide_cb_mouse_down (void *data, Evas *e, Evas_Object 
*obj, void *event_info);
+static void _slide_menu_cb_configure (void *data, E_Menu *m, 
E_Menu_Item *mi);
+static void _slide_menu_cb_post  (void *data, E_Menu *m);
+static Config_Item *_slide_config_item_get   (const char *id);
+static Slideshow   *_slide_new   (Evas *evas);
+static void _slide_free  (Slideshow *ss);
+static int  _slide_cb_check  (void *data);
+static void _slide_get_bg_count  (void *data);
+static void _slide_set_bg(void *data, const char *bg);
+static void _slide_set_preview   (void *data);
+static void _slide_get_bg_subdirs(void *data, char *localPath);
 
 static E_Config_DD *conf_edd = NULL;
 static E_Config_DD *conf_item_edd = NULL;
 
 Config *slide_config = NULL;
 
-static const E_Gadcon_Client_Class _gc_class = {
-  GADCON_CLIENT_CLASS_VERSION,
-  slideshow, {_gc_init, _gc_shutdown, _gc_orient, _gc_label, _gc_icon}
+static const E_Gadcon_Client_Class _gc_class =
+{
+   GADCON_CLIENT_CLASS_VERSION,
+ slideshow, {_gc_init, _gc_shutdown, _gc_orient, _gc_label, _gc_icon}
 };
 
 static E_Gadcon_Client *
-_gc_init (E_Gadcon * gc, const char *name, const char *id, const char *style)
+_gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
 {
-  Evas_Object *o;
-  E_Gadcon_Client *gcc;
-  Instance *inst;
-  Config_Item *ci;
-  Slideshow *slide;
-
-  inst = E_NEW (Instance, 1);
-
-  ci = _slide_config_item_get (id);
-  if (!ci-id)
-ci-id = evas_stringshare_add (id);
-
-  slide = _slide_new (gc-evas);
-  slide-inst = inst;
-  inst-slide = slide;
-
-  o = slide-slide_obj;
-  gcc = e_gadcon_client_new (gc, name, id, style, o);
-  gcc-data = inst;
-  inst-gcc = gcc;
-  inst-slide_obj = o;
-
-  evas_object_event_callback_add (o, 

E CVS: slideshow devilhorns

2006-07-25 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
configure.in 


Log Message:
Fix minor oversight with x86_64 libdir. Thanks Sebastian

===
RCS file: /cvs/e/e_modules/slideshow/configure.in,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- configure.in25 Jul 2006 03:53:53 -  1.18
+++ configure.in25 Jul 2006 13:34:00 -  1.19
@@ -87,7 +87,7 @@
 AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, ${HOME}/.e/e/modules/${PACKAGE}, 
Package installed data destination)
 datadir=${HOME}/.e/e/modules/${PACKAGE}
 else
-AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, 
${libdir}/lib/enlightenment/modules/${PACKAGE}, Package installed data 
destination)
+AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, 
${libdir}/enlightenment/modules/${PACKAGE}, Package installed data 
destination)
 datadir=${libdir}/enlightenment/modules/${PACKAGE}
 fi
 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-07-24 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
configure.in 


Log Message:
Patch from Marcus Huwe for installation on x86_64

===
RCS file: /cvs/e/e_modules/slideshow/configure.in,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- configure.in9 Jul 2006 23:32:36 -   1.16
+++ configure.in25 Jul 2006 01:40:52 -  1.17
@@ -88,7 +88,7 @@
 datadir=${HOME}/.e/e/modules/${PACKAGE}
 else
 AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, 
${prefix}/lib/enlightenment/modules/${PACKAGE}, Package installed data 
destination)
-datadir=${prefix}/lib/enlightenment/modules/${PACKAGE}
+datadir=${libdir}/enlightenment/modules/${PACKAGE}
 fi
 
 AC_PREFIX_DEFAULT(${HOME}/.e/e)



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-07-24 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
configure.in 


Log Message:
Bad Marcus, no cookie :) . Fixed x86_64 install patch.

===
RCS file: /cvs/e/e_modules/slideshow/configure.in,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- configure.in25 Jul 2006 01:40:52 -  1.17
+++ configure.in25 Jul 2006 03:53:53 -  1.18
@@ -87,7 +87,7 @@
 AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, ${HOME}/.e/e/modules/${PACKAGE}, 
Package installed data destination)
 datadir=${HOME}/.e/e/modules/${PACKAGE}
 else
-AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, 
${prefix}/lib/enlightenment/modules/${PACKAGE}, Package installed data 
destination)
+AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, 
${libdir}/lib/enlightenment/modules/${PACKAGE}, Package installed data 
destination)
 datadir=${libdir}/enlightenment/modules/${PACKAGE}
 fi
 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-07-17 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_config.c e_mod_main.c 


Log Message:
Indent

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- e_mod_config.c  3 Jul 2006 07:37:32 -   1.25
+++ e_mod_config.c  18 Jul 2006 00:01:37 -  1.26
@@ -3,125 +3,135 @@
 
 struct _E_Config_Dialog_Data
 {
-   int disable_timer;
-   double poll_time;
-   char *dir;
+  int disable_timer;
+  double poll_time;
+  char *dir;
 };
 
 /* Protos */
-static void *_create_data(E_Config_Dialog *cfd);
-static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
-static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
-static int _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata);
+static void *_create_data (E_Config_Dialog * cfd);
+static void _free_data (E_Config_Dialog * cfd, E_Config_Dialog_Data * cfdata);
+static Evas_Object *_basic_create_widgets (E_Config_Dialog * cfd, Evas * evas,
+  E_Config_Dialog_Data * cfdata);
+static int _basic_apply_data (E_Config_Dialog * cfd,
+ E_Config_Dialog_Data * cfdata);
 
 void
-_config_slideshow_module(Config_Item *ci)
+_config_slideshow_module (Config_Item * ci)
 {
-   E_Config_Dialog *cfd;
-   E_Config_Dialog_View *v;
-   E_Container *con;
-   char buf[4096];
-   
-   v = E_NEW(E_Config_Dialog_View, 1);
-
-   v-create_cfdata = _create_data;
-   v-free_cfdata = _free_data;
-   v-basic.apply_cfdata = _basic_apply_data;
-   v-basic.create_widgets = _basic_create_widgets;
-
-   snprintf(buf, sizeof(buf), %s/module.eap, 
e_module_dir_get(slide_config-module));
-   con = e_container_current_get(e_manager_current_get());
-   cfd = e_config_dialog_new(con, D_(Slideshow Configuration), buf, 0, v, 
ci);
-   slide_config-config_dialog = cfd;
+  E_Config_Dialog *cfd;
+  E_Config_Dialog_View *v;
+  E_Container *con;
+  char buf[4096];
+
+  v = E_NEW (E_Config_Dialog_View, 1);
+
+  v-create_cfdata = _create_data;
+  v-free_cfdata = _free_data;
+  v-basic.apply_cfdata = _basic_apply_data;
+  v-basic.create_widgets = _basic_create_widgets;
+
+  snprintf (buf, sizeof (buf), %s/module.eap,
+   e_module_dir_get (slide_config-module));
+  con = e_container_current_get (e_manager_current_get ());
+  cfd =
+e_config_dialog_new (con, D_ (Slideshow Configuration), buf, 0, v, ci);
+  slide_config-config_dialog = cfd;
 }
 
 static void
-_fill_data(Config_Item *ci, E_Config_Dialog_Data *cfdata)
+_fill_data (Config_Item * ci, E_Config_Dialog_Data * cfdata)
 {
-   char buf[PATH_MAX];
+  char buf[PATH_MAX];
 
-   cfdata-poll_time = ci-poll_time;
-   cfdata-disable_timer = ci-disable_timer;
-   if (ci-dir)
-  cfdata-dir = strdup(ci-dir);
-   else
- {
-snprintf(buf, sizeof(buf), %s/.e/e/backgrounds, 
e_user_homedir_get());
-cfdata-dir = strdup(buf);
- }
+  cfdata-poll_time = ci-poll_time;
+  cfdata-disable_timer = ci-disable_timer;
+  if (ci-dir)
+cfdata-dir = strdup (ci-dir);
+  else
+{
+  snprintf (buf, sizeof (buf), %s/.e/e/backgrounds,
+   e_user_homedir_get ());
+  cfdata-dir = strdup (buf);
+}
 }
 
 static void *
-_create_data(E_Config_Dialog *cfd)
+_create_data (E_Config_Dialog * cfd)
 {
-   E_Config_Dialog_Data *cfdata;
-   Config_Item *ci;
+  E_Config_Dialog_Data *cfdata;
+  Config_Item *ci;
 
-   ci = cfd-data;
-   cfdata = E_NEW(E_Config_Dialog_Data, 1);
+  ci = cfd-data;
+  cfdata = E_NEW (E_Config_Dialog_Data, 1);
 
-   _fill_data(ci, cfdata);
-   return cfdata;
+  _fill_data (ci, cfdata);
+  return cfdata;
 }
 
 static void
-_free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
+_free_data (E_Config_Dialog * cfd, E_Config_Dialog_Data * cfdata)
 {
-   if (!slide_config)
-  return;
+  if (!slide_config)
+return;
 
-   slide_config-config_dialog = NULL;
-   free(cfdata);
+  slide_config-config_dialog = NULL;
+  free (cfdata);
 }
 
 static Evas_Object *
-_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data 
*cfdata)
+_basic_create_widgets (E_Config_Dialog * cfd, Evas * evas,
+  E_Config_Dialog_Data * cfdata)
 {
-   Evas_Object *o, *ob, *of, *ot;
+  Evas_Object *o, *ob, *of, *ot;
 
-   o = e_widget_list_add(evas, 0, 0);
-   of = e_widget_framelist_add(evas, D_(Cycle Time), 0);
-   ob = e_widget_check_add(evas, D_(Disable Timer), 
(cfdata-disable_timer));
-   e_widget_framelist_object_append(of, ob);
-   ob = e_widget_slider_add(evas, 1, 0, D_(%3.0f seconds), 5.0, 60.0, 1.0, 
0, (cfdata-poll_time), NULL, 200);
-   e_widget_framelist_object_append(of, ob);
-   e_widget_list_object_append(o, of, 1, 1, 0.5);
-
-   of = e_widget_framelist_add(evas, 

E CVS: slideshow devilhorns

2006-07-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
Makefile.am 


Log Message:
Add edc to make distcheck.

===
RCS file: /cvs/e/e_modules/slideshow/Makefile.am,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- Makefile.am 10 Jul 2006 17:42:09 -  1.10
+++ Makefile.am 14 Jul 2006 18:57:58 -  1.11
@@ -15,7 +15,8 @@
 module.eap \
 slideshow.edj
 
-EXTRA_DIST = $(files_DATA) slideshow.edc
+EXTRA_DIST = $(files_DATA) \
+   slideshow.edc
 
 # the module .so file
 INCLUDES = -I. \
@@ -31,12 +32,10 @@
 
 module_la_LIBADD   = @e_libs@
 module_la_LDFLAGS  = -module -avoid-version
-module_la_DEPENDENCIES = $(top_builddir)/config.h
+module_la_DEPENDENCIES = $(top_builddir)/config.h $(top_builddir)/slideshow.edj
 
-slideshow.edj: Makefile slideshow.edc
-$(EDJE_CC) $(EDJE_FLAGS) \
-$(top_srcdir)/slideshow.edc \
-$(top_builddir)/slideshow.edj
+%.edj:  %.edc
+   $(EDJE_CC) $(EDJE_FLAGS) $ $@
 
 clean-local:
 rm -rf *.edj *~




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-07-10 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
Makefile.am 


Log Message:
Fix makefile.am for make distcheck.

===
RCS file: /cvs/e/e_modules/slideshow/Makefile.am,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- Makefile.am 27 Jun 2006 02:34:43 -  1.8
+++ Makefile.am 10 Jul 2006 15:13:55 -  1.9
@@ -3,7 +3,8 @@
 MAINTAINERCLEANFILES = Makefile.in
 
 EDJE_CC = @edje_cc@
-EDJE_FLAGS = -v
+-id $(top_srcdir) \
+-fd $(top_srcdir)
 
 # data files for the module
 filesdir =  $(datadir)
@@ -33,8 +34,8 @@
 
 slideshow.edj: Makefile slideshow.edc
 $(EDJE_CC) $(EDJE_FLAGS) \
-slideshow.edc \
-slideshow.edj
+$(top_srcdir)/slideshow.edc \
+$(top_builddir)/slideshow.edj
 
 clean-local:
 rm -rf *.edj *~




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-07-10 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
module_icon.png module.eap 


Log Message:
Resize the module icon to something more sane (48x48)

===
RCS file: /cvs/e/e_modules/slideshow/module_icon.png,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
Binary files /tmp/cvsE4vAJK and /tmp/cvsprFl1h differ
===
RCS file: /cvs/e/e_modules/slideshow/module.eap,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
Binary files /tmp/cvsYOEHmM and /tmp/cvs3XUZGj differ




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-07-10 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
Makefile.am 


Log Message:
Fix makefile.am the correcy way. Begone copy-paste bug :)

===
RCS file: /cvs/e/e_modules/slideshow/Makefile.am,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- Makefile.am 10 Jul 2006 15:13:55 -  1.9
+++ Makefile.am 10 Jul 2006 17:42:09 -  1.10
@@ -3,6 +3,7 @@
 MAINTAINERCLEANFILES = Makefile.in
 
 EDJE_CC = @edje_cc@
+EDJE_FLAGS = -v \
 -id $(top_srcdir) \
 -fd $(top_srcdir)
 




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-07-09 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
Remove e_lib dependency and use enlightenment_remote to set bg.

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- e_mod_main.c2 Jul 2006 19:06:10 -   1.30
+++ e_mod_main.c9 Jul 2006 23:02:07 -   1.31
@@ -1,5 +1,4 @@
 #include e.h
-#include E_Lib.h
 #include Ecore.h
 #include Ecore_File.h
 #include e_mod_main.h
@@ -39,7 +38,6 @@
 static Slideshow *_slide_new(Evas *evas);
 static void _slide_free(Slideshow * ss);
 static int _slide_cb_check(void *data);
-static void _slide_get_display(Instance *inst);
 static void _slide_get_bg_count(void *data);
 static void _slide_set_bg(void *data, const char *bg);
 static void _slide_set_preview(void *data);
@@ -79,9 +77,6 @@
inst-gcc = gcc;
inst-slide_obj = o;
 
-   _slide_get_display(inst);
-   if (inst-display) e_lib_init(inst-display);
-
evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN, 
_slide_cb_mouse_down, inst);
slide_config-instances = evas_list_append(slide_config-instances, inst);
 
@@ -429,42 +424,6 @@
 }
 
 static void
-_slide_get_display(Instance *inst)
-{
-   if (!inst) return;
-   if (inst-display) evas_stringshare_del(inst-display);
-
-   char *tmp = getenv(DISPLAY);
-
-   if (tmp) inst-display = evas_stringshare_add(tmp);
-   if (inst-display)
- {
-char *p;
-char buf[1024];
-
-p = strrchr(inst-display, ':');
-if (!p)
-  {
- snprintf(buf, sizeof(buf), %s:0.0, inst-display);
- evas_stringshare_del(inst-display);
- inst-display = evas_stringshare_add(buf);
-  }
-else
-  {
- p = strrchr(p, '.');
- if (!p)
-   {
-  snprintf(buf, sizeof(buf), %s.0, inst-display);
-  evas_stringshare_del(inst-display);
-  inst-display = evas_stringshare_add(buf);
-   }
-  }
- }
-   else
-  inst-display = evas_stringshare_add(:0.0);
-}
-
-static void
 _slide_get_bg_count(void *data)
 {
Instance *inst;
@@ -492,8 +451,8 @@
 
inst = data;
ci = _slide_config_item_get(inst-gcc-id);
-   snprintf(buf, sizeof(buf), %s/%s, ci-dir, bg);
-   e_lib_background_set(buf);
+   snprintf(buf, sizeof(buf), enlightenment_remote -default-bg-set %s/%s, 
ci-dir, bg);
+   system(buf);
 }
 
 static void




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-07-09 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
Remove the e_lib_shutdown call.

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- e_mod_main.c9 Jul 2006 23:02:07 -   1.31
+++ e_mod_main.c9 Jul 2006 23:25:19 -   1.32
@@ -305,8 +305,6 @@
 EAPI int
 e_modapi_shutdown(E_Module *m)
 {
-   e_lib_shutdown();
-
slide_config-module = NULL;
e_gadcon_provider_unregister(_gc_class);
 




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-07-09 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
configure.in 


Log Message:
Minor version bump so I know it doesn't contain e_lib calls anymore.

===
RCS file: /cvs/e/e_modules/slideshow/configure.in,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- configure.in10 Jun 2006 02:31:59 -  1.15
+++ configure.in9 Jul 2006 23:32:36 -   1.16
@@ -7,7 +7,7 @@
 AC_CANONICAL_BUILD
 AC_CANONICAL_HOST
 
-AM_INIT_AUTOMAKE(slideshow, 0.0.8)
+AM_INIT_AUTOMAKE(slideshow, 0.0.9)
 AM_CONFIG_HEADER(config.h)
 
 AC_ISC_POSIX




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-07-02 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
Make all active e_modules work with the new e_module_dialog_show function
change(s). If you get errors building these, update e17/apps/e .

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- e_mod_main.c7 Jun 2006 19:16:14 -   1.29
+++ e_mod_main.c2 Jul 2006 19:06:10 -   1.30
@@ -362,7 +362,7 @@
 EAPI int
 e_modapi_about(E_Module *m)
 {
-   e_module_dialog_show(D_(Enlightenment Slide Show Module),
+   e_module_dialog_show(m, D_(Enlightenment Slide Show Module),
 D_(This module is VERY simple and is used to cycle 
desktop backgrounds));
return 1;
 }



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-07-02 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_config.c 


Log Message:
Update some e_modules to use module icons in their config dialogs.

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- e_mod_config.c  30 May 2006 07:45:24 -  1.24
+++ e_mod_config.c  3 Jul 2006 07:37:32 -   1.25
@@ -20,7 +20,8 @@
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;
E_Container *con;
-
+   char buf[4096];
+   
v = E_NEW(E_Config_Dialog_View, 1);
 
v-create_cfdata = _create_data;
@@ -28,8 +29,9 @@
v-basic.apply_cfdata = _basic_apply_data;
v-basic.create_widgets = _basic_create_widgets;
 
+   snprintf(buf, sizeof(buf), %s/module.eap, 
e_module_dir_get(slide_config-module));
con = e_container_current_get(e_manager_current_get());
-   cfd = e_config_dialog_new(con, D_(Slideshow Configuration), NULL, 0, v, 
ci);
+   cfd = e_config_dialog_new(con, D_(Slideshow Configuration), buf, 0, v, 
ci);
slide_config-config_dialog = cfd;
 }
 



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-06-26 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
Makefile.am 


Log Message:
Do not need to link against math library.

===
RCS file: /cvs/e/e_modules/slideshow/Makefile.am,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- Makefile.am 30 May 2006 05:21:01 -  1.7
+++ Makefile.am 27 Jun 2006 02:34:43 -  1.8
@@ -27,7 +27,7 @@
 e_mod_main.h \
 e_mod_config.c
 
-module_la_LIBADD   = @e_libs@ -lm
+module_la_LIBADD   = @e_libs@
 module_la_LDFLAGS  = -module -avoid-version
 module_la_DEPENDENCIES = $(top_builddir)/config.h
 



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-06-07 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
Be sure to set the config directory if we have no previous config.

Thanks for the debug Jas-Nix.

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- e_mod_main.c6 Jun 2006 15:31:43 -   1.28
+++ e_mod_main.c7 Jun 2006 19:16:14 -   1.29
@@ -237,7 +237,8 @@
 {
Evas_List *l;
Config_Item *ci;
-
+   char buf[4096];
+   
for (l = slide_config-items; l; l = l-next)
  {
 ci = l-data;
@@ -245,11 +246,14 @@
 if (!strcmp(ci-id, id)) return ci;
  }
 
+   snprintf(buf, sizeof(buf), %s/.e/e/backgrounds, e_user_homedir_get());
+   
ci = E_NEW(Config_Item, 1);
ci-id = evas_stringshare_add(id);
ci-poll_time = 60.0;
ci-disable_timer = 0;
-
+   ci-dir = evas_stringshare_add(buf);
+   
slide_config-items = evas_list_append(slide_config-items, ci);
return ci;
 }
@@ -469,7 +473,8 @@
 
inst = data;
ci = _slide_config_item_get(inst-gcc-id);
-
+   if (!ci-dir) return;
+   
inst-bg_count = 0;
if (inst-bg_list) ecore_list_destroy(inst-bg_list);
inst-bg_list = ecore_file_ls(ci-dir);




___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-06-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c e_mod_main.h 


Log Message:
Change _gc_init to use const char and fix e_modapi_init function.

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- e_mod_main.c3 Jun 2006 09:09:33 -   1.25
+++ e_mod_main.c6 Jun 2006 08:48:38 -   1.26
@@ -26,7 +26,7 @@
Evas_Object *img_obj;
 };
 
-static E_Gadcon_Client *_gc_init(E_Gadcon *gc, char *name, char *id, char 
*style);
+static E_Gadcon_Client *_gc_init(E_Gadcon *gc, const char *name, const char 
*id, const char *style);
 static void _gc_shutdown(E_Gadcon_Client *gcc);
 static void _gc_orient(E_Gadcon_Client *gcc);
 static char *_gc_label(void);
@@ -55,7 +55,7 @@
 };
 
 static E_Gadcon_Client *
-_gc_init(E_Gadcon *gc, char *name, char *id, char *style)
+_gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
 {
Evas_Object *o;
E_Gadcon_Client *gcc;
@@ -253,7 +253,7 @@
Slideshow
 };
 
-EAPI void *
+EAPI int
 e_modapi_init(E_Module *m)
 {
bindtextdomain(PACKAGE, LOCALEDIR);
===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- e_mod_main.h1 Jun 2006 21:04:09 -   1.15
+++ e_mod_main.h6 Jun 2006 08:48:38 -   1.16
@@ -26,7 +26,7 @@
 
 EAPI extern E_Module_Api e_modapi;
 
-EAPI void *e_modapi_init(E_Module *m);
+EAPI int e_modapi_init(E_Module *m);
 EAPI int e_modapi_shutdown(E_Module *m);
 EAPI int e_modapi_save(E_Module *m);
 EAPI int e_modapi_about(E_Module *m);




___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-06-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
Delete the evas_callbacks when shutdown.

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- e_mod_main.c6 Jun 2006 08:48:38 -   1.26
+++ e_mod_main.c6 Jun 2006 14:49:07 -   1.27
@@ -100,14 +100,20 @@
 _gc_shutdown(E_Gadcon_Client *gcc)
 {
Instance *inst;
-
+   Slideshow *slide;
+   
inst = gcc-data;
+   slide = inst-slide;
+   
if (inst-bg_list) ecore_list_destroy(inst-bg_list);
if (inst-display) evas_stringshare_del(inst-display);
if (inst-check_timer) ecore_timer_del(inst-check_timer);
 
slide_config-instances = evas_list_remove(slide_config-instances, inst);
-   _slide_free(inst-slide);
+
+   evas_object_event_callback_del(slide-slide_obj, EVAS_CALLBACK_MOUSE_DOWN, 
_slide_cb_mouse_down);
+   
+   _slide_free(slide);
free(inst);
 }
 




___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-06-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c e_mod_main.h 


Log Message:
Revert back to void for e_modapi_init.

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- e_mod_main.c6 Jun 2006 14:49:07 -   1.27
+++ e_mod_main.c6 Jun 2006 15:31:43 -   1.28
@@ -259,7 +259,7 @@
Slideshow
 };
 
-EAPI int
+EAPI void *
 e_modapi_init(E_Module *m)
 {
bindtextdomain(PACKAGE, LOCALEDIR);
===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- e_mod_main.h6 Jun 2006 08:48:38 -   1.16
+++ e_mod_main.h6 Jun 2006 15:31:43 -   1.17
@@ -26,10 +26,10 @@
 
 EAPI extern E_Module_Api e_modapi;
 
-EAPI int e_modapi_init(E_Module *m);
-EAPI int e_modapi_shutdown(E_Module *m);
-EAPI int e_modapi_save(E_Module *m);
-EAPI int e_modapi_about(E_Module *m);
+EAPI void *e_modapi_init(E_Module *m);
+EAPI int   e_modapi_shutdown(E_Module *m);
+EAPI int   e_modapi_save(E_Module *m);
+EAPI int   e_modapi_about(E_Module *m);
 
 void _config_slideshow_module(Config_Item *ci);
 void _slide_config_updated(const char *id);




___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-06-01 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.h e_mod_main.c 


Log Message:
Update for E module api changes. Remove e_modapi_info function from c 
and header files.


===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- e_mod_main.h30 May 2006 07:45:24 -  1.14
+++ e_mod_main.h1 Jun 2006 21:04:09 -   1.15
@@ -29,7 +29,6 @@
 EAPI void *e_modapi_init(E_Module *m);
 EAPI int e_modapi_shutdown(E_Module *m);
 EAPI int e_modapi_save(E_Module *m);
-EAPI int e_modapi_info(E_Module *m);
 EAPI int e_modapi_about(E_Module *m);
 
 void _config_slideshow_module(Config_Item *ci);
===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- e_mod_main.c30 May 2006 08:20:35 -  1.22
+++ e_mod_main.c1 Jun 2006 21:04:09 -   1.23
@@ -352,16 +352,6 @@
 }
 
 EAPI int
-e_modapi_info(E_Module *m)
-{
-   char buf[4096];
-
-   snprintf(buf, sizeof(buf), %s/module_icon.png, e_module_dir_get(m));
-   m-icon_file = strdup(buf);
-   return 1;
-}
-
-EAPI int
 e_modapi_save(E_Module *m)
 {
Evas_List *l;




___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-06-01 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
Prefer single line if statements.


===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- e_mod_main.c1 Jun 2006 21:04:09 -   1.23
+++ e_mod_main.c1 Jun 2006 21:45:38 -   1.24
@@ -67,8 +67,7 @@
inst = E_NEW(Instance, 1);
 
ci = _slide_config_item_get(id);
-   if (!ci-id)
-  ci-id = evas_stringshare_add(id);
+   if (!ci-id) ci-id = evas_stringshare_add(id);
 
slide = _slide_new(gc-evas);
slide-inst = inst;
@@ -81,8 +80,7 @@
inst-slide_obj = o;
 
_slide_get_display(inst);
-   if (inst-display)
-  e_lib_init(inst-display);
+   if (inst-display) e_lib_init(inst-display);
 
evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN, 
_slide_cb_mouse_down, inst);
slide_config-instances = evas_list_append(slide_config-instances, inst);
@@ -95,7 +93,6 @@
 inst-index = 0;
 _slide_set_preview(inst);
  }
-
return gcc;
 }
 
@@ -105,12 +102,9 @@
Instance *inst;
 
inst = gcc-data;
-   if (inst-bg_list)
-  ecore_list_destroy(inst-bg_list);
-   if (inst-display)
-  evas_stringshare_del(inst-display);
-   if (inst-check_timer)
-  ecore_timer_del(inst-check_timer);
+   if (inst-bg_list) ecore_list_destroy(inst-bg_list);
+   if (inst-display) evas_stringshare_del(inst-display);
+   if (inst-check_timer) ecore_timer_del(inst-check_timer);
 
slide_config-instances = evas_list_remove(slide_config-instances, inst);
_slide_free(inst-slide);
@@ -179,10 +173,9 @@
 Config_Item *ci;
 
 ci = _slide_config_item_get(inst-gcc-id);
-if (ci-disable_timer)
-   return;
-if (inst-check_timer)
-   ecore_timer_del(inst-check_timer);
+if (ci-disable_timer) return;
+if (inst-check_timer) 
+  ecore_timer_del(inst-check_timer);
 else
inst-check_timer = ecore_timer_add(ci-poll_time, _slide_cb_check, 
inst);
  }
@@ -193,8 +186,7 @@
 static void
 _slide_menu_cb_post(void *data, E_Menu *m)
 {
-   if (!slide_config-menu)
-  return;
+   if (!slide_config-menu) return;
e_object_del(E_OBJECT(slide_config-menu));
slide_config-menu = NULL;
 }
@@ -216,25 +208,18 @@
Evas_List *l;
Config_Item *ci;
 
-   if (!slide_config)
-  return;
-
+   if (!slide_config) return;
ci = _slide_config_item_get(id);
for (l = slide_config-instances; l; l = l-next)
  {
 Instance *inst;
 
 inst = l-data;
-if (!inst-gcc-id)
-   continue;
+if (!inst-gcc-id) continue;
 if (!strcmp(inst-gcc-id, ci-id))
   {
- if (inst-check_timer)
-ecore_timer_del(inst-check_timer);
-
- if ((ci-disable_timer) || (ci-poll_time == 0))
-break;
-
+ if (inst-check_timer) ecore_timer_del(inst-check_timer);
+ if ((ci-disable_timer) || (ci-poll_time == 0)) break;
  inst-check_timer = ecore_timer_add(ci-poll_time, 
_slide_cb_check, inst);
  break;
   }
@@ -250,10 +235,8 @@
for (l = slide_config-items; l; l = l-next)
  {
 ci = l-data;
-if (!ci-id)
-   continue;
-if (!strcmp(ci-id, id))
-   return ci;
+if (!ci-id) continue;
+if (!strcmp(ci-id, id)) return ci;
  }
 
ci = E_NEW(Config_Item, 1);
@@ -277,7 +260,6 @@
bind_textdomain_codeset(PACKAGE, UTF-8);
 
conf_item_edd = E_CONFIG_DD_NEW(Slideshow_Config_Item, Config_Item);
-
 #undef T
 #undef D
 #define T Config_Item
@@ -288,7 +270,6 @@
E_CONFIG_VAL(D, T, disable_timer, INT);
 
conf_edd = E_CONFIG_DD_NEW(Slideshow_Config, Config);
-
 #undef T
 #undef D
 #define T Config
@@ -338,10 +319,8 @@
 
 ci = slide_config-items-data;
 slide_config-items = evas_list_remove_list(slide_config-items, 
slide_config-items);
-if (ci-id)
-   evas_stringshare_del(ci-id);
-if (ci-dir)
-   evas_stringshare_del(ci-dir);
+if (ci-id) evas_stringshare_del(ci-id);
+if (ci-dir) evas_stringshare_del(ci-dir);
 free(ci);
  }
free(slide_config);
@@ -363,8 +342,7 @@
 
 inst = l-data;
 ci = _slide_config_item_get(inst-gcc-id);
-if (ci-id)
-   evas_stringshare_del(ci-id);
+if (ci-id) evas_stringshare_del(ci-id);
 ci-id = evas_stringshare_add(inst-gcc-id);
  }
e_config_domain_save(module.slideshow, conf_edd, slide_config);
@@ -386,9 +364,7 @@
char buf[4096];
 
ss = E_NEW(Slideshow, 1);
-
snprintf(buf, sizeof(buf), %s/slideshow.edj, 
e_module_dir_get(slide_config-module));
-
ss-img_obj = e_livethumb_add(evas);

E CVS: slideshow devilhorns

2006-05-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_config.c e_mod_main.c e_mod_main.h slideshow.edc 


Log Message:
Formatting via indent.
If timer is not enabled on startup, don't set the timer.
Make sure the bg list is destroyed.

I'd like to thank Ray 'kingrayray' Miller for providing the icon :)

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- e_mod_config.c  30 May 2006 05:21:01 -  1.23
+++ e_mod_config.c  30 May 2006 07:45:24 -  1.24
@@ -20,7 +20,7 @@
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;
E_Container *con;
-   
+
v = E_NEW(E_Config_Dialog_View, 1);
 
v-create_cfdata = _create_data;
@@ -37,15 +37,15 @@
 _fill_data(Config_Item *ci, E_Config_Dialog_Data *cfdata)
 {
char buf[PATH_MAX];
-   
+
cfdata-poll_time = ci-poll_time;
cfdata-disable_timer = ci-disable_timer;
if (ci-dir)
- cfdata-dir = strdup(ci-dir);
-   else 
+  cfdata-dir = strdup(ci-dir);
+   else
  {
-   snprintf(buf, sizeof(buf), %s/.e/e/backgrounds, e_user_homedir_get());
-   cfdata-dir = strdup(buf);
+snprintf(buf, sizeof(buf), %s/.e/e/backgrounds, 
e_user_homedir_get());
+cfdata-dir = strdup(buf);
  }
 }
 
@@ -54,9 +54,10 @@
 {
E_Config_Dialog_Data *cfdata;
Config_Item *ci;
-   
+
ci = cfd-data;
cfdata = E_NEW(E_Config_Dialog_Data, 1);
+
_fill_data(ci, cfdata);
return cfdata;
 }
@@ -65,7 +66,7 @@
 _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
 {
if (!slide_config)
- return;
+  return;
 
slide_config-config_dialog = NULL;
free(cfdata);
@@ -107,16 +108,16 @@
ci-disable_timer = cfdata-disable_timer;
 
if (ci-dir)
- evas_stringshare_del(ci-dir);
+  evas_stringshare_del(ci-dir);
 
if (cfdata-dir != NULL)
- ci-dir = evas_stringshare_add(cfdata-dir);
-   else 
+  ci-dir = evas_stringshare_add(cfdata-dir);
+   else
  {
-   snprintf(buf, sizeof(buf), %s/.e/e/backgrounds, e_user_homedir_get());
-   ci-dir = evas_stringshare_add(buf);
+snprintf(buf, sizeof(buf), %s/.e/e/backgrounds, 
e_user_homedir_get());
+ci-dir = evas_stringshare_add(buf);
  }
-   
+
e_config_save_queue();
 
_slide_config_updated(ci-id);
===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- e_mod_main.c30 May 2006 05:21:01 -  1.20
+++ e_mod_main.c30 May 2006 07:45:24 -  1.21
@@ -7,7 +7,7 @@
 typedef struct _Instance Instance;
 typedef struct _Slideshow Slideshow;
 
-struct _Instance 
+struct _Instance
 {
E_Gadcon_Client *gcc;
Evas_Object *slide_obj;
@@ -18,7 +18,7 @@
int index, bg_id, bg_count;
 };
 
-struct _Slideshow 
+struct _Slideshow
 {
Instance *inst;
Evas_Object *slide_obj;
@@ -37,7 +37,7 @@
 static void _slide_menu_cb_post(void *data, E_Menu *m);
 static Config_Item *_slide_config_item_get(const char *id);
 static Slideshow *_slide_new(Evas *evas);
-static void _slide_free(Slideshow *ss);
+static void _slide_free(Slideshow * ss);
 static int _slide_cb_check(void *data);
 static void _slide_get_display(Instance *inst);
 static void _slide_get_bg_count(void *data);
@@ -49,14 +49,13 @@
 
 Config *slide_config = NULL;
 
-static const E_Gadcon_Client_Class _gc_class = 
-{
+static const E_Gadcon_Client_Class _gc_class = {
GADCON_CLIENT_CLASS_VERSION,
- slideshow, {_gc_init, _gc_shutdown, _gc_orient, _gc_label, _gc_icon}
+   slideshow, {_gc_init, _gc_shutdown, _gc_orient, _gc_label, _gc_icon}
 };
 
 static E_Gadcon_Client *
-_gc_init(E_Gadcon *gc, char *name, char *id, char *style) 
+_gc_init(E_Gadcon *gc, char *name, char *id, char *style)
 {
Evas_Object *o;
E_Gadcon_Client *gcc;
@@ -64,16 +63,17 @@
Config_Item *ci;
Slideshow *slide;
char buf[4096];
-   
+
inst = E_NEW(Instance, 1);
+
ci = _slide_config_item_get(id);
if (!ci-id)
- ci-id = evas_stringshare_add(id);
+  ci-id = evas_stringshare_add(id);
 
slide = _slide_new(gc-evas);
slide-inst = inst;
inst-slide = slide;
-   
+
o = slide-slide_obj;
gcc = e_gadcon_client_new(gc, name, id, style, o);
gcc-data = inst;
@@ -82,55 +82,54 @@
 
_slide_get_display(inst);
if (inst-display)
- e_lib_init(inst-display);
-   
+  e_lib_init(inst-display);
+
evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN, 
_slide_cb_mouse_down, inst);
slide_config-instances = evas_list_append(slide_config-instances, inst);
 
-   if (ci-disable_timer)
- _slide_cb_check(inst);
-   else
- inst-check_timer = ecore_timer_add(ci-poll_time, _slide_cb_check, inst);
+   if 

E CVS: slideshow devilhorns

2006-05-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
If we are not using the timer on startup, set a preview of the next bg so if
the user clicks on the module, they know which bg is going to be set.

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- e_mod_main.c30 May 2006 07:45:24 -  1.21
+++ e_mod_main.c30 May 2006 08:20:35 -  1.22
@@ -89,6 +89,12 @@
 
if (!ci-disable_timer)
   inst-check_timer = ecore_timer_add(ci-poll_time, _slide_cb_check, 
inst);
+   else
+ {
+_slide_get_bg_count(inst);
+inst-index = 0;
+_slide_set_preview(inst);
+ }
 
return gcc;
 }




___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-05-16 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.h e_mod_main.c e_mod_config.c 


Log Message:
Allow user to specify which directory is used to get edj files from when
cycling.

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- e_mod_main.h1 Feb 2006 14:21:40 -   1.11
+++ e_mod_main.h13 May 2006 09:02:41 -  1.12
@@ -12,9 +12,7 @@
 {
int disable_timer;
double cycle_time;
-#ifdef WANT_OSIRIS
-   char *theme;
-#endif
+   char *dir;
 };
 
 struct _Config_Face
===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- e_mod_main.c5 Apr 2006 17:48:49 -   1.18
+++ e_mod_main.c13 May 2006 09:02:41 -  1.19
@@ -1,9 +1,7 @@
 #include e.h
 #include E_Lib.h
 #include Ecore.h
-#ifdef WANT_OSIRIS
 # include Ecore_File.h
-#endif
 #include e_mod_main.h
 #include e_mod_config.h
 #include config.h
@@ -173,7 +171,8 @@
Slide *e;
E_Menu_Item *mi;
Evas_List *managers, *l, *l2;
-
+   char buf[1024];
+   
e = E_NEW(Slide, 1);
 
if (!e)
@@ -184,9 +183,7 @@
 #undef D
 #define T Config
 #define D e-conf_edd
-#ifdef WANT_OSIRIS
-   E_CONFIG_VAL(D, T, theme, STR);
-#endif
+   E_CONFIG_VAL(D, T, dir, STR);
E_CONFIG_VAL(D, T, disable_timer, INT);
E_CONFIG_VAL(D, T, cycle_time, DOUBLE);
 
@@ -195,9 +192,8 @@
  {
 e-conf = E_NEW(Config, 1);
 
-#ifdef WANT_OSIRIS
-e-conf-theme = (char *)evas_stringshare_add();
-#endif
+   snprintf(buf, sizeof(buf), %s/.e/e/backgrounds, e_user_homedir_get());
+e-conf-dir = (char *)evas_stringshare_add(buf);
 e-conf-disable_timer = 0;
 e-conf-cycle_time = 600;
  }
@@ -224,7 +220,6 @@
  if (ef)
{
   ef-conf_face_edd = E_CONFIG_DD_NEW(Slide_Config_Face, 
Config_Face);
-
 #undef T
 #undef D
 #define T Config_Face
@@ -258,13 +253,9 @@
 
   /* Setup */
   if (!ef-conf-enabled)
-{
-   _slide_face_disable(ef);
-}
+   _slide_face_disable(ef);
   else
-{
-   _slide_face_enable(ef);
-}
+   _slide_face_enable(ef);
}
   }
  }
@@ -274,8 +265,7 @@
 static void
 _slide_shutdown(Slide *e)
 {
-   if (list)
-  ecore_list_destroy(list);
+   if (list) ecore_list_destroy(list);
 
_slide_face_free(e-face);
 
@@ -284,8 +274,8 @@
 e-cycle_timer = ecore_timer_del(e-cycle_timer);
 e-cycle_timer = NULL;
  }
-   if (e-display)
-  free(e-display);
+   
+   if (e-display) free(e-display);
 
free(e-conf);
E_CONFIG_DD_FREE(e-conf_edd);
@@ -500,23 +490,17 @@
 _slide_cb_check(void *data)
 {
char *bg;
-   Slide_Face *ef = data;
-
-#ifdef WANT_OSIRIS
+   Slide_Face *ef;
Slide *e;
 
+   ef = data;
+   if (!ef) return 0;
+   if (!ef-conf) return 0;
+   if (!ef-con) return 0;
+   if (ef-conf-enabled == 0) return 0;
+   
e = ef-slide;
-   get_bg_count(e-conf-theme);
-#else
-   get_bg_count(NULL);
-#endif
-
-   if (!ef)
-  return 0;
-   if (!ef-conf)
-  return 0;
-   if (!ef-con)
-  return 0;
+   get_bg_count(e-conf-dir);
 
if (idx  bg_count)
   idx = 0;
@@ -534,8 +518,6 @@
  idx++;
   }
  }
-   if (ef-conf-enabled == 0)
-  return 0;
return 1;
 }
 
@@ -552,55 +534,23 @@
 get_bg_count(char *name)
 {
char *list_item;
-   char *home;
-   char buffer[PATH_MAX];
 
-   home = e_user_homedir_get();
-#ifdef WANT_OSIRIS
-   if (name == NULL)
- {
-snprintf(buffer, sizeof(buffer), %s/.e/e/backgrounds, home);
- }
-   else
- {
-snprintf(buffer, sizeof(buffer), %s/.e/e/backgrounds/%s, home, name);
- }
-#else
-   snprintf(buffer, sizeof(buffer), %s/.e/e/backgrounds, home);
-#endif
bg_count = 0;
-   list = ecore_file_ls(buffer);
+   list = ecore_file_ls(name);
ecore_list_goto_first(list);
while ((list_item = (char *)ecore_list_next(list)) != NULL)
-  bg_count++;
+ bg_count++;
 }
 
 static void
 _set_bg(char *bg, Slide_Face *sf)
 {
char buffer[4096];
-   char *home;
-
-   home = e_user_homedir_get();
-
-#ifdef WANT_OSIRIS
Slide *e;
 
e = sf-slide;
-   if (e-conf-theme == NULL)
- {
-snprintf(buffer, sizeof(buffer), %s/.e/e/backgrounds/%s, home, bg);
- }
-   else
- {
-snprintf(buffer, sizeof(buffer), %s/.e/e/backgrounds/%s/%s, home, 
e-conf-theme, bg);
- }
-#else
-   snprintf(buffer, sizeof(buffer), %s/.e/e/backgrounds/%s, home, bg);
-#endif
-
-   if (buffer)
- 

E CVS: slideshow devilhorns

2006-04-02 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
configure.in 


Log Message:
Remove checks for evas, eet, ecore and esmart as they are not needed.

===
RCS file: /cvs/e/e_modules/slideshow/configure.in,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- configure.in12 Feb 2006 21:41:55 -  1.11
+++ configure.in2 Apr 2006 22:01:24 -   1.12
@@ -104,34 +104,6 @@
 #AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
 #AC_SUBST(dlopen_libs)
 
-AC_ARG_WITH(ecore-config,
-[  --with-ecore-config=ECORE_CONFIG  use ecore-config specified ],
-[
-  ECORE_CONFIG=$withval;
-  echo using $ECORE_CONFIG for ecore-config;
-],[
-  PROG=ecore-config;
-  AC_PATH_PROG(ECORE_CONFIG, $PROG, , $PATH)
-])
-ecore_cflags=`$ECORE_CONFIG --cflags`
-ecore_libs=`$ECORE_CONFIG --libs`
-AC_SUBST(ecore_cflags)
-AC_SUBST(ecore_libs)
-
-AC_ARG_WITH(evas-config,
-[  --with-evas-config=EVAS_CONFIG  use evas-config specified ],
-[
-  EVAS_CONFIG=$withval;
-  echo using $EVAS_CONFIG for evas-config;
-],[
-  PROG=evas-config;
-  AC_PATH_PROG(EVAS_CONFIG, $PROG, , $PATH)
-])
-evas_cflags=`$EVAS_CONFIG --cflags`
-evas_libs=`$EVAS_CONFIG --libs`
-AC_SUBST(evas_cflags)
-AC_SUBST(evas_libs)
-
 AC_ARG_WITH(edje-config,
 [  --with-edje-config=EDJE_CONFIG  use edje-config specified ],
 [
@@ -158,20 +130,6 @@
   edje_cc=`$EDJE_CONFIG --prefix`/bin/edje_cc
 ])
 AC_SUBST(edje_cc)
-
-AC_ARG_WITH(eet-config,
-[  --with-eet-config=EET_CONFIG  use eet-config specified ],
-[
-  EET_CONFIG=$withval;
-  echo using $EET_CONFIG for eet-config;
-],[
-  PROG=eet-config;
-  AC_PATH_PROG(EET_CONFIG, $PROG, , $PATH)
-])
-eet_cflags=`$EET_CONFIG --cflags`
-eet_libs=`$EET_CONFIG --libs`
-AC_SUBST(eet_cflags)
-AC_SUBST(eet_libs)
 
 AC_ARG_WITH(enlightenment-config,
 [  --with-enlightenment-config=E_CONFIGuse enlightenment-config specified 
],




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-03-28 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_config.c 


Log Message:
Removed unused typedef and struct

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- e_mod_config.c  13 Feb 2006 16:05:40 -  1.19
+++ e_mod_config.c  28 Mar 2006 18:31:24 -  1.20
@@ -3,8 +3,6 @@
 #include e_mod_config.h
 #include config.h
 
-typedef struct _Cfg_File_Data Cfg_File_Data;
-
 struct _E_Config_Dialog_Data
 {
int disable_timer;
@@ -12,12 +10,6 @@
 #ifdef WANT_OSIRIS
char *theme;
 #endif
-};
-
-struct _Cfg_File_Data
-{
-   E_Config_Dialog *cfd;
-   char *file;
 };
 
 /* Protos */




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-02-20 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
Nicer menus...shhh ! :)
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- e_mod_main.c1 Feb 2006 14:21:40 -   1.16
+++ e_mod_main.c20 Feb 2006 18:27:53 -  1.17
@@ -378,10 +378,12 @@
 
mi = e_menu_item_new(mn);
e_menu_item_label_set(mi, _(Configuration));
+   e_util_menu_item_edje_icon_set(mi, enlightenment/configuration); 
e_menu_item_callback_set(mi, _slide_face_cb_menu_configure, face);
/* Edit */
mi = e_menu_item_new(mn);
e_menu_item_label_set(mi, _(Edit Mode));
+   e_util_menu_item_edje_icon_set(mi, enlightenment/gadgets); 
e_menu_item_callback_set(mi, _slide_face_cb_menu_edit, face);
 }
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-02-13 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_config.c 


Log Message:
Fix bug where changing a config value then selecting a different page 
(Basic/Advanced) would reset the value to it's original state.
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- e_mod_config.c  1 Feb 2006 14:21:40 -   1.18
+++ e_mod_config.c  13 Feb 2006 16:05:40 -  1.19
@@ -62,9 +62,11 @@
 _create_data(E_Config_Dialog *cfd)
 {
E_Config_Dialog_Data *cfdata;
+   Slide *s;
 
+   s = cfd-data;
cfdata = E_NEW(E_Config_Dialog_Data, 1);
-
+   _fill_data(s, cfdata);
return cfdata;
 }
 
@@ -84,10 +86,6 @@
   E_Config_Dialog_Data *cfdata)
 {
Evas_Object *o, *ob, *of;
-   Slide *s;
-
-   s = cfd-data;
-   _fill_data(s, cfdata);
 
o = e_widget_list_add(evas, 0, 0);
of = e_widget_framelist_add(evas, D_(Cycle Time), 0);
@@ -125,13 +123,9 @@
s-conf-disable_timer = cfdata-disable_timer;
 #ifdef WANT_OSIRIS
if (cfdata-theme != NULL)
- {
-s-conf-theme = (char *)evas_stringshare_add(cfdata-theme);
- }
+ s-conf-theme = (char *)evas_stringshare_add(cfdata-theme);
else
- {
-s-conf-theme = (char *)evas_stringshare_add();
- }
+ s-conf-theme = (char *)evas_stringshare_add();
 #endif
e_config_save_queue();
e_border_button_bindings_grab_all();




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-02-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
configure.in 


Log Message:
Fix configure.in bug/typo. Thanks Gerald
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/configure.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- configure.in7 Feb 2006 12:54:47 -   1.10
+++ configure.in12 Feb 2006 21:41:55 -  1.11
@@ -95,7 +95,7 @@
 if test x$prefix = xNONE; then
   datarootdir=${ac_default_prefix}
 else
-  datarootdir=${ac_default_prefix}/share
+  datarootdir=${prefix}/share
 fi
 localedir=${datarootdir}/locale
 AC_SUBST(LOCALEDIR, ${localedir})




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-01-29 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow/po




Log Message:
Directory /cvsroot/enlightenment/e_modules/slideshow/po added to the repository





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-01-29 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow/po


Added Files:
Makefile.am ja.po 


Log Message:
Add start of intl support for config dialogs.




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-01-29 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
Makefile.am autogen.sh configure.in e_mod_config.c 
e_mod_main.c e_mod_main.h 


Log Message:
Add start of intl support for config dialogs.
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 21 Jan 2006 17:18:44 -  1.2
+++ Makefile.am 30 Jan 2006 01:14:23 -  1.3
@@ -1,3 +1,5 @@
+SUBDIRS = po
+
 MAINTAINERCLEANFILES = Makefile.in
 
 EDJE_CC = @edje_cc@
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/autogen.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- autogen.sh  18 Dec 2005 06:07:26 -  1.1
+++ autogen.sh  30 Jan 2006 01:14:23 -  1.2
@@ -10,6 +10,18 @@
 echo Running autoconf... ; autoconf || exit 1
 echo Running libtoolize... ; (libtoolize --copy --automake || glibtoolize 
--automake) || exit 1
 echo Running automake... ; automake --add-missing --copy --gnu || exit 1
+echo Generating gettext slideshow.pot template; \
+xgettext \
+--output slideshow.pot \
+--output-dir=po \
+--language=C \
+--add-location \
+--keyword=D_ \
+--indent \
+--sort-by-file \
+--copyright-holder=TODO \
+--foreign-user \
+`find . -name *.[ch] -print` || exit 1
 
 if [ -z $NOCONFIGURE ]; then
./configure $@
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/configure.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- configure.in21 Jan 2006 00:36:02 -  1.4
+++ configure.in30 Jan 2006 01:14:23 -  1.5
@@ -18,6 +18,12 @@
 AM_ENABLE_SHARED
 AM_PROG_LIBTOOL
 
+ALL_LINGUAS=ja
+AC_SUBST(ALL_LINGUAS)
+
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION(0.14)
+
 MODULE_ARCH=$host_os-$host_cpu
 AC_SUBST(MODULE_ARCH)
 AC_DEFINE_UNQUOTED(MODULE_ARCH, $MODULE_ARCH, Module architecture)
@@ -84,6 +90,16 @@
 AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, 
${prefix}/lib/enlightenment/modules/${PACKAGE}, Package installed data 
destination)
 datadir=${prefix}/lib/enlightenment/modules/${PACKAGE}
 fi
+
+AC_PREFIX_DEFAULT(${HOME}/.e/e)
+if test x$prefix = xNONE; then
+  datarootdir=${ac_default_prefix}
+else
+  datarootdir=${ac_default_prefix}/share
+fi
+localedir=${datarootdir}/locale
+AC_SUBST(LOCALEDIR, ${localedir})
+AC_DEFINE_UNQUOTED(LOCALEDIR, ${localedir}, [Module Locale Directory])
  
 #AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
 #AC_SUBST(dlopen_libs)
@@ -198,5 +214,6 @@
 AC_OUTPUT([
 Makefile
 e_modules-slideshow.spec
+po/Makefile
 ],[
 ])
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- e_mod_config.c  22 Jan 2006 18:18:34 -  1.12
+++ e_mod_config.c  30 Jan 2006 01:14:23 -  1.13
@@ -42,7 +42,7 @@
v-basic.create_widgets= _basic_create_widgets;
 
/* create config diaolg */
-   cfd = e_config_dialog_new(con, _(Slideshow Configuration), NULL, 0, v, s);
+   cfd = e_config_dialog_new(con, D_(Slideshow Configuration), NULL, 0, v, 
s);
s-config_dialog = cfd;
 }
 
@@ -86,19 +86,19 @@
_fill_data(s, cfdata);

o = e_widget_list_add(evas, 0, 0);
-   of = e_widget_framelist_add(evas, _(Cycle Time), 0);
-   ob = e_widget_check_add(evas, _(Disable Timer), (cfdata-disable_timer));
+   of = e_widget_framelist_add(evas, D_(Cycle Time), 0);
+   ob = e_widget_check_add(evas, D_(Disable Timer), 
(cfdata-disable_timer));
e_widget_framelist_object_append(of, ob);   
-   ob = e_widget_slider_add(evas, 1, 0, _(%3.0f seconds), 5.0, 600.0, 1.0, 
0, (cfdata-cycle_time), NULL, 200);
+   ob = e_widget_slider_add(evas, 1, 0, D_(%3.0f seconds), 5.0, 600.0, 1.0, 
0, (cfdata-cycle_time), NULL, 200);
e_widget_framelist_object_append(of, ob);
e_widget_list_object_append(o, of, 1, 1, 0.5);

#ifdef WANT_OSIRIS
-   of = e_widget_framelist_add(evas, _(Theme), 0);
+   of = e_widget_framelist_add(evas, D_(Theme), 0);
ot = e_widget_table_add(evas, 1);
-   ob = e_widget_label_add(evas, _(Sub-directory to use for backgrounds));
+   ob = e_widget_label_add(evas, D_(Sub-directory to use for backgrounds));
e_widget_table_object_append(ot, ob, 0, 0, 1, 1, 0, 0, 1, 0);
-   ob = e_widget_label_add(evas, _(Leave blank for none));
+   ob = e_widget_label_add(evas, D_(Leave blank for none));
e_widget_table_object_append(ot, ob, 0, 1, 1, 1, 0, 0, 1, 0);
ob = e_widget_entry_add(evas, cfdata-theme);
e_widget_table_object_append(ot, ob, 0, 2, 1, 1, 1, 0, 1, 0);
===
RCS file: 

E CVS: slideshow devilhorns

2006-01-29 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Removed Files:
.cvsignore AUTHORS COPYING COPYING-PLAIN ChangeLog INSTALL 
Makefile.am NEWS README TODO VeraMono.ttf autogen.sh 
configure.in e_mod_config.c e_mod_config.h e_mod_main.c 
e_mod_main.h e_modules-slideshow.spec.in module_icon.png 
slideshow.edc slideshow.png 


Log Message:
Pulled out of cvs so I can maintain a code format I like without someone 
changing it on me.





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-01-29 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow/po


Removed Files:
Makefile.am ja.po 


Log Message:
Pulled out of cvs so I can maintain a code format I like without someone 
changing it on me.





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-01-29 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow/po


Added Files:
Makefile.am ja.po 


Log Message:
Added my modules back in. Mej and I have come to an agreement on 
formatting :)





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-01-29 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Added Files:
AUTHORS COPYING COPYING-PLAIN ChangeLog INSTALL Makefile.am 
NEWS README TODO VeraMono.ttf autogen.sh configure.in 
e_mod_config.c e_mod_config.h e_mod_main.c e_mod_main.h 
e_modules-slideshow.spec.in module_icon.png slideshow.edc 
slideshow.png 


Log Message:
Added my modules back in. Mej and I have come to an agreement on 
formatting :)





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-01-29 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Added Files:
.cvsignore 


Log Message:
Add missing cvsignore files





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-01-22 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_config.c 


Log Message:
Fixes for E_Config_Dialog_View
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- e_mod_config.c  15 Jan 2006 08:35:42 -  1.10
+++ e_mod_config.c  22 Jan 2006 14:16:59 -  1.11
@@ -31,18 +31,20 @@
 _config_slideshow_module(E_Container *con, Slide *s)
 {
E_Config_Dialog *cfd;
-   E_Config_Dialog_View v;
+   E_Config_Dialog_View *v;
 
+   v = E_NEW(E_Config_Dialog_View, 1);
+   
/* methods */
-   v.create_cfdata   = _create_data;
-   v.free_cfdata = _free_data;
-   v.basic.apply_cfdata  = _basic_apply_data;
-   v.basic.create_widgets= _basic_create_widgets;
-   v.advanced.apply_cfdata   = NULL;
-   v.advanced.create_widgets = NULL;
+   v-create_cfdata   = _create_data;
+   v-free_cfdata = _free_data;
+   v-basic.apply_cfdata  = _basic_apply_data;
+   v-basic.create_widgets= _basic_create_widgets;
+   v-advanced.apply_cfdata   = NULL;
+   v-advanced.create_widgets = NULL;
 
/* create config diaolg */
-   cfd = e_config_dialog_new(con, _(Slideshow Configuration), NULL, 0, v, 
s);
+   cfd = e_config_dialog_new(con, _(Slideshow Configuration), NULL, 0, v, s);
s-config_dialog = cfd;
 }
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-01-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_config.c 


Log Message:
The great E_Config_Dialog_Data fix
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- e_mod_config.c  8 Jan 2006 10:32:14 -   1.9
+++ e_mod_config.c  15 Jan 2006 08:35:42 -  1.10
@@ -1,12 +1,11 @@
-#include e.h
+#include e.h
 #include e_mod_main.h
 #include e_mod_config.h
 #include config.h
 
-typedef struct _cfdata CFData;
 typedef struct _Cfg_File_Data Cfg_File_Data;
 
-struct _cfdata
+struct _E_Config_Dialog_Data
 {
int disable_timer;
double cycle_time;
@@ -23,9 +22,9 @@
 
 /* Protos */
 static void *_create_data(E_Config_Dialog *cfd);
-static void _free_data(E_Config_Dialog *cfd, CFData *cfdata);
-static Evas_Object   *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
CFData *cfdata);
-static int  _basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata);
+static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata);
+static Evas_Object   *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
+static int  _basic_apply_data(E_Config_Dialog *cfd, 
E_Config_Dialog_Data *cfdata);
 
 /* Config Calls */
 void 
@@ -48,7 +47,7 @@
 }
 
 static void
-_fill_data(Slide *s, CFData *cfdata)
+_fill_data(Slide *s, E_Config_Dialog_Data *cfdata)
 {
cfdata-cycle_time = s-conf-cycle_time;
cfdata-disable_timer = s-conf-disable_timer;
@@ -60,14 +59,14 @@
 static void *
 _create_data(E_Config_Dialog *cfd)
 {
-   CFData *cfdata;
+   E_Config_Dialog_Data *cfdata;

-   cfdata = E_NEW(CFData, 1);
+   cfdata = E_NEW(E_Config_Dialog_Data, 1);
return cfdata;
 }
 
 static void
-_free_data(E_Config_Dialog *cfd, CFData *cfdata)
+_free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
 {
Slide *s;

@@ -78,7 +77,7 @@
 }
 
 static Evas_Object *
-_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, CFData *cfdata)
+_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data 
*cfdata)
 {
Evas_Object *o, *ob, *of;
Slide *s;
@@ -110,7 +109,7 @@
 }
 
 static int
-_basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata)
+_basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
 {
Slide *s;





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
Formatting. Should now be possible to use enlightenment_remote to set the theme.
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- e_mod_main.c7 Jan 2006 23:12:25 -   1.7
+++ e_mod_main.c14 Jan 2006 11:09:00 -  1.8
@@ -39,8 +39,8 @@
  Slideshow
 };
 
-EAPI void 
-*e_modapi_init(E_Module * m)
+EAPI void *
+e_modapi_init(E_Module * m)
 {
Slide *e;
 
@@ -158,8 +158,8 @@
 
 /* Begin Private Routines */
 
-static Slide 
-*_slide_init(E_Module *m)
+static Slide *
+_slide_init(E_Module *m)
 {
Slide *e;
E_Menu_Item *mi;
@@ -286,12 +286,15 @@
 _slide_face_init(Slide_Face *sf)
 {
Evas_Object *o;
-
+   char buff[4096];
+   
evas_event_freeze(sf-evas);
o = edje_object_add(sf-evas);
sf-slide_object = o;
 
-   edje_object_file_set(o, PACKAGE_DATA_DIR/slideshow.edj, 
modules/slideshow/main);
+   snprintf(buff, sizeof(buff), PACKAGE_DATA_DIR/slideshow.edj);
+   if (!e_theme_edje_object_set(o, base/theme/modules/slideshow, 
modules/slideshow/main))
+ edje_object_file_set(o, strdup(buff), modules/slideshow/main);
evas_object_show(o);
 
o = evas_object_rectangle_add(sf-evas);




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
Removal of the strdup.
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_mod_main.c14 Jan 2006 11:09:00 -  1.8
+++ e_mod_main.c14 Jan 2006 12:59:09 -  1.9
@@ -294,7 +294,7 @@
 
snprintf(buff, sizeof(buff), PACKAGE_DATA_DIR/slideshow.edj);
if (!e_theme_edje_object_set(o, base/theme/modules/slideshow, 
modules/slideshow/main))
- edje_object_file_set(o, strdup(buff), modules/slideshow/main);
+ edje_object_file_set(o, buff, modules/slideshow/main);
evas_object_show(o);
 
o = evas_object_rectangle_add(sf-evas);




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-01-08 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_config.c 


Log Message:
Set pointer to config dialogue to NULL when closing
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- e_mod_config.c  7 Jan 2006 23:12:25 -   1.7
+++ e_mod_config.c  8 Jan 2006 09:27:38 -   1.8
@@ -1,5 +1,6 @@
 #include e.h
 #include e_mod_main.h
+#include e_mod_config.h
 #include config.h
 
 typedef struct _cfdata CFData;
@@ -68,6 +69,10 @@
 static void
 _free_data(E_Config_Dialog *cfd, CFData *cfdata)
 {
+   Slide *s;
+   
+   s = cfd-data;
+   s-config_dialog = NULL;
/* Free the cfdata */
free(cfdata);
 }




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-01-08 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_config.h e_mod_config.c 


Log Message:
Remove EAPI from function. Thanks Sebastian
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_config.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_mod_config.h  18 Dec 2005 06:07:26 -  1.1
+++ e_mod_config.h  8 Jan 2006 10:32:14 -   1.2
@@ -3,6 +3,6 @@
 #ifndef E_MOD_CONFIG_H
 #define E_MOD_CONFIG_H
 #include e_mod_main.h
-EAPI void _config_slideshow_module(E_Container *con, Slide *s);
+void _config_slideshow_module(E_Container *con, Slide *s);
 #endif
 #endif
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_mod_config.c  8 Jan 2006 09:27:38 -   1.8
+++ e_mod_config.c  8 Jan 2006 10:32:14 -   1.9
@@ -28,7 +28,7 @@
 static int  _basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata);
 
 /* Config Calls */
-EAPI void 
+void 
 _config_slideshow_module(E_Container *con, Slide *s)
 {
E_Config_Dialog *cfd;




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-01-07 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c e_mod_config.c 


Log Message:
Fix EAPI warnings.Remove unused variables.General cleanups
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e_mod_main.c6 Jan 2006 21:12:54 -   1.6
+++ e_mod_main.c7 Jan 2006 23:12:25 -   1.7
@@ -33,13 +33,13 @@
 static void _set_bg(char *bg, Slide_Face *sf);
 
 /* public module routines. all modules must have these */
-E_Module_Api e_modapi =
+EAPI E_Module_Api e_modapi =
 {
E_MODULE_API_VERSION,
  Slideshow
 };
 
-void 
+EAPI void 
 *e_modapi_init(E_Module * m)
 {
Slide *e;
@@ -88,7 +88,7 @@
return e;
 }
 
-int 
+EAPI int 
 e_modapi_shutdown(E_Module *m)
 {
Slide *s;
@@ -114,7 +114,7 @@
return 1;
 }
 
-int 
+EAPI int 
 e_modapi_save(E_Module *m)
 {
Slide *e;
@@ -125,14 +125,14 @@
return 1;
 }
 
-int 
+EAPI int 
 e_modapi_info(E_Module * m)
 {
m-icon_file = strdup(PACKAGE_DATA_DIR/module_icon.png);
return 1;
 }
 
-int 
+EAPI int 
 e_modapi_about(E_Module * m)
 {
e_module_dialog_show(_(Enlightenment Slide Show Module),
@@ -140,7 +140,7 @@
return 1;
 }
 
-int 
+EAPI int 
 e_modapi_config(E_Module *m) 
 {
Slide *s;
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e_mod_config.c  6 Jan 2006 21:12:54 -   1.6
+++ e_mod_config.c  7 Jan 2006 23:12:25 -   1.7
@@ -27,7 +27,7 @@
 static int  _basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata);
 
 /* Config Calls */
-void 
+EAPI void 
 _config_slideshow_module(E_Container *con, Slide *s)
 {
E_Config_Dialog *cfd;




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-01-06 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.h e_mod_main.c e_mod_config.c 


Log Message:
If a module has a config dialogue, destroy it on module shutdown
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_main.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_mod_main.h31 Dec 2005 23:45:33 -  1.4
+++ e_mod_main.h6 Jan 2006 21:12:54 -   1.5
@@ -30,6 +30,7 @@
 
Config  *conf;
E_Config_DD *conf_edd;
+   E_Config_Dialog *config_dialog;
 };
 
 struct _Slide_Face
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e_mod_main.c31 Dec 2005 23:45:33 -  1.5
+++ e_mod_main.c6 Jan 2006 21:12:54 -   1.6
@@ -102,6 +102,11 @@
 e_object_del(E_OBJECT(m-config_menu));
 m-config_menu = NULL;
  }
+   if (s-config_dialog) 
+ {
+e_object_del(E_OBJECT(s-config_dialog));
+s-config_dialog = NULL;
+ }
_slide_shutdown(s);
  }
 
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e_mod_config.c  5 Jan 2006 09:26:59 -   1.5
+++ e_mod_config.c  6 Jan 2006 21:12:54 -   1.6
@@ -43,6 +43,7 @@
 
/* create config diaolg */
cfd = e_config_dialog_new(con, _(Slideshow Configuration), NULL, 0, v, 
s);
+   s-config_dialog = cfd;
 }
 
 static void




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-01-05 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_config.c 


Log Message:
Update Slideshow config dialogue
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_mod_config.c  31 Dec 2005 23:45:33 -  1.4
+++ e_mod_config.c  5 Jan 2006 09:26:59 -   1.5
@@ -49,6 +49,7 @@
 _fill_data(Slide *s, CFData *cfdata)
 {
cfdata-cycle_time = s-conf-cycle_time;
+   cfdata-disable_timer = s-conf-disable_timer;
#ifdef WANT_OSIRIS
cfdata-theme = s-conf-theme;
#endif
@@ -58,12 +59,8 @@
 _create_data(E_Config_Dialog *cfd)
 {
CFData *cfdata;
-   Slide *s;

-   s = cfd-data;
cfdata = E_NEW(CFData, 1);
-   _fill_data(s, cfdata);
-
return cfdata;
 }
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2005-12-31 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_config.c e_mod_main.h e_mod_main.c 


Log Message:
Fix couple of bugs in slideshow.
-Setting timer to 0 did not get saved in config.
-Make option to disable timer.
-Fix for not able to change desktop 2 background after disabling module.

===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_mod_config.c  24 Dec 2005 20:19:59 -  1.3
+++ e_mod_config.c  31 Dec 2005 23:45:33 -  1.4
@@ -7,6 +7,7 @@
 
 struct _cfdata
 {
+   int disable_timer;
double cycle_time;
#ifdef WANT_OSIRIS
char *theme;
@@ -84,7 +85,9 @@

o = e_widget_list_add(evas, 0, 0);
of = e_widget_framelist_add(evas, _(Cycle Time), 0);
-   ob = e_widget_slider_add(evas, 1, 0, _(%3.0f seconds), 0.0, 600.0, 1.0, 
0, (cfdata-cycle_time), NULL, 200);
+   ob = e_widget_check_add(evas, _(Disable Timer), (cfdata-disable_timer));
+   e_widget_framelist_object_append(of, ob);   
+   ob = e_widget_slider_add(evas, 1, 0, _(%3.0f seconds), 5.0, 600.0, 1.0, 
0, (cfdata-cycle_time), NULL, 200);
e_widget_framelist_object_append(of, ob);
e_widget_list_object_append(o, of, 1, 1, 0.5);

@@ -112,6 +115,7 @@
/* Actually take our cfdata settings and apply them in real life */
e_border_button_bindings_ungrab_all();
s-conf-cycle_time = cfdata-cycle_time;
+   s-conf-disable_timer = cfdata-disable_timer;
#ifdef WANT_OSIRIS
if (cfdata-theme != NULL) 
  {
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_main.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_mod_main.h27 Dec 2005 21:21:19 -  1.3
+++ e_mod_main.h31 Dec 2005 23:45:33 -  1.4
@@ -8,6 +8,7 @@
 
 struct _Config
 {
+   int disable_timer;
double cycle_time;
 #ifdef WANT_OSIRIS
char *theme;
@@ -29,14 +30,10 @@
 
Config  *conf;
E_Config_DD *conf_edd;
-
-   Ecore_Event_Handler *ev_handler_zone_desk_count_set;
-   Ecore_Event_Handler *ev_handler_desk_show;
 };
 
 struct _Slide_Face
 {
-   E_Zone *zone;
Evas *evas;
E_Container *con;
Slide *slide;
@@ -49,8 +46,6 @@
Evas_Object *event_object;
 
E_Gadman_Client *gmc;
-   int numx,numy;
-   int desk_x_current, desk_y_current;
 };
 
 EAPI extern E_Module_Api e_modapi;
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_mod_main.c30 Dec 2005 14:37:45 -  1.4
+++ e_mod_main.c31 Dec 2005 23:45:33 -  1.5
@@ -27,8 +27,6 @@
 static void _slide_face_cb_mouse_down(void *data, Evas *e, Evas_Object 
*obj,void *event_info);
 static void _slide_face_cb_gmc_change(void *data, E_Gadman_Client *gmc, 
E_Gadman_Change change);
 
-static int _slide_cb_event_zone_desk_count_set(void *data, int type, void 
*event);
-static int _slide_cb_event_desk_show(void *data, int type, void *event);
 static int _slide_cb_check(void *data);
 
 static void get_bg_count();
@@ -173,6 +171,7 @@
 #ifdef WANT_OSIRIS
E_CONFIG_VAL(D, T, theme, STR);
 #endif
+   E_CONFIG_VAL(D, T, disable_timer, INT);
E_CONFIG_VAL(D, T, cycle_time, DOUBLE);
 
e-conf = e_config_domain_load(module.slideshow, e-conf_edd);
@@ -182,6 +181,7 @@
#ifdef WANT_OSIRIS
e-conf-theme = (char *)evas_stringshare_add();
#endif
+   e-conf-disable_timer = 0;
e-conf-cycle_time = 600;
  }
 
@@ -189,10 +189,6 @@
 
_slide_config_menu_new(e);
 
-   /* Setup Event Handlers */
-   e-ev_handler_zone_desk_count_set = 
ecore_event_handler_add(E_EVENT_ZONE_DESK_COUNT_SET, 
_slide_cb_event_zone_desk_count_set, e);
-   e-ev_handler_desk_show = ecore_event_handler_add(E_EVENT_DESK_SHOW, 
_slide_cb_event_desk_show, e);
-
/* Managers */
managers = e_manager_list ();
for (l = managers; l; l = l-next)
@@ -203,13 +199,9 @@
for (l2 = man-containers; l2; l2 = l2-next)
  {
 E_Container *con;
-E_Zone *zone;
 Slide_Face *ef;
 
 con = l2-data;
-zone = e_zone_current_get(con);
-if (!zone) return NULL;
-
 ef = E_NEW(Slide_Face, 1);
 if (ef)
   {
@@ -223,7 +215,6 @@
  e-face = ef;
  ef-slide = e;
  ef-con = con;
- ef-zone = zone;
  ef-evas = con-bg_evas;
 
  ef-conf = E_NEW(Config_Face, 1);
@@ -256,7 +247,6 @@
   }
  }
  }
-
return e;
 }
 
@@ -267,17 +257,12 @@
 
_slide_face_free(e-face);
 
-   if 

E CVS: slideshow devilhorns

2005-12-31 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
configure.in 


Log Message:
Version Bump. You will need to remove your old slideshow.cfg to use the new
version

===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/configure.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- configure.in28 Dec 2005 18:39:59 -  1.2
+++ configure.in1 Jan 2006 00:05:20 -   1.3
@@ -7,7 +7,7 @@
 AC_CANONICAL_BUILD
 AC_CANONICAL_HOST
 
-AM_INIT_AUTOMAKE(slideshow, 0.0.7)
+AM_INIT_AUTOMAKE(slideshow, 0.0.8)
 AM_CONFIG_HEADER(config.h)
 
 AC_ISC_POSIX




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2005-12-30 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
Fix Config call for current container. Better trapping
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_mod_main.c24 Dec 2005 20:19:59 -  1.3
+++ e_mod_main.c30 Dec 2005 14:37:45 -  1.4
@@ -145,8 +145,11 @@

s = m-data;
if (!s) return 0;
+   if (!s-face) return 0;
+   
con = e_container_current_get(e_manager_current_get());
-   _config_slideshow_module(con, s);
+   if (s-face-con == con) 
+ _config_slideshow_module(con, s);
return 1;
 }
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2005-12-28 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
configure.in 


Log Message:
Version Bump
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/configure.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- configure.in18 Dec 2005 06:07:26 -  1.1
+++ configure.in28 Dec 2005 18:39:59 -  1.2
@@ -7,7 +7,7 @@
 AC_CANONICAL_BUILD
 AC_CANONICAL_HOST
 
-AM_INIT_AUTOMAKE(slideshow, 0.0.6)
+AM_INIT_AUTOMAKE(slideshow, 0.0.7)
 AM_CONFIG_HEADER(config.h)
 
 AC_ISC_POSIX




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2005-12-27 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.h 


Log Message:
Following raster's commit frenzy. Make symbol hiding work
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_main.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_mod_main.h21 Dec 2005 10:35:29 -  1.2
+++ e_mod_main.h27 Dec 2005 21:21:19 -  1.3
@@ -53,7 +53,7 @@
int desk_x_current, desk_y_current;
 };
 
-extern E_Module_Api e_modapi;
+EAPI extern E_Module_Api e_modapi;
 
 EAPI void *e_modapi_init (E_Module *m);
 EAPI int   e_modapi_shutdown (E_Module *m);
@@ -62,6 +62,6 @@
 EAPI int   e_modapi_about(E_Module *m);
 EAPI int   e_modapi_config   (E_Module *m);
 
-EAPI void  _slide_cb_config_updated(void *data);
+void  _slide_cb_config_updated(void *data);
 
 #endif




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2005-12-21 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
Change Include Search Path
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_mod_main.c18 Dec 2005 06:07:26 -  1.1
+++ e_mod_main.c21 Dec 2005 20:21:31 -  1.2
@@ -1,4 +1,4 @@
-#include e.h
+#include e.h
 #include E_Lib.h
 #include Ecore.h
 #ifdef WANT_OSIRIS




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2005-12-19 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_config.c 


Log Message:
Allow Cycle Timer to be disabled
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_mod_config.c  18 Dec 2005 06:07:26 -  1.1
+++ e_mod_config.c  19 Dec 2005 18:36:01 -  1.2
@@ -85,7 +85,7 @@

o = e_widget_list_add(evas, 0, 0);
of = e_widget_framelist_add(evas, _(Cycle Time), 0);
-   ob = e_widget_slider_add(evas, 1, 0, _(%3.0f seconds), 5.0, 600.0, 1.0, 
0, (cfdata-cycle_time), NULL, 200);
+   ob = e_widget_slider_add(evas, 1, 0, _(%3.0f seconds), 0.0, 600.0, 1.0, 
0, (cfdata-cycle_time), NULL, 200);
e_widget_framelist_object_append(of, ob);
e_widget_list_object_append(o, of, 1, 1, 0.5);





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2005-12-18 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
.cvsignore 


Log Message:
Shhh..thanks onefang
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- .cvsignore  18 Dec 2005 06:07:26 -  1.1
+++ .cvsignore  19 Dec 2005 00:30:57 -  1.2
@@ -10,6 +10,7 @@
 config.log
 config.status
 config.sub
+configure
 depcomp
 install-sh
 libtool
@@ -18,3 +19,4 @@
 stamp-h1
 *.lo
 *.la
+*.edj




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2005-12-17 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow




Log Message:
Directory /cvsroot/enlightenment/e_modules/slideshow added to the repository





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2005-12-17 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Added Files:
.cvsignore AUTHORS autogen.sh ChangeLog configure.in COPYING 
COPYING-PLAIN e_mod_config.c e_mod_config.h e_mod_main.c 
e_mod_main.h INSTALL Makefile.am module_icon.png NEWS README 
slideshow.edc slideshow.png TODO VeraMono.ttf 


Log Message:
Add Slideshow module to e_modules




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs