E CVS: apps/e devilhorns

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_int_config_desks.c 


Log Message:
Use E_FREE to free cfdata created by E_NEW.
Make Desktop Flip frames use the same label in basic as in advanced.
Minor Formatting.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_desks.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- e_int_config_desks.c10 Oct 2006 16:26:29 -  1.26
+++ e_int_config_desks.c15 Jan 2007 11:35:54 -  1.27
@@ -93,8 +93,7 @@
 static void
 _free_data(E_Config_Dialog *cdd, E_Config_Dialog_Data *cfdata)
 {
-   /* Free the cfdata */
-   free(cfdata);
+   E_FREE(cfdata);
 }
 
 /**--APPLY--**/
@@ -128,7 +127,7 @@
e_config->desk_flip_animate_interpolation = 0;
e_config->desk_flip_animate_time  = 0.5;
  }
-else
+   else
  {
cfdata->flip_mode = 0;
e_config->desk_flip_animate_mode = 0;
@@ -206,7 +205,7 @@
e_widget_framelist_object_append(of, ot);
e_widget_list_object_append(o, of, 1, 1, 0.5);
 
-   of = e_widget_framelist_add(evas, _("Desktop Flip"), 0);
+   of = e_widget_framelist_add(evas, _("Desktop Mouse Flip"), 0);
ob = e_widget_check_add(evas, _("Flip desktops when mouse at screen edge"), 
&(cfdata->edge_flip_basic));
e_widget_framelist_object_append(of, ob);
ob = e_widget_check_add(evas, _("Animated flip"), &(cfdata->flip_animate));



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/engrave devilhorns

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : libs/engrave

Dir : e17/libs/engrave/src/lib


Modified Files:
engrave_part.c engrave_canvas.c 


Log Message:
Fix no new line at end of file for engrave_part.c.
Fix enumerations not handled for engrave_canvas.c.

===
RCS file: /cvs/e/e17/libs/engrave/src/lib/engrave_part.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- engrave_part.c  14 Jan 2007 15:48:57 -  1.18
+++ engrave_part.c  15 Jan 2007 10:46:34 -  1.19
@@ -576,4 +576,5 @@
 {
 if (!ep) return;
 ep->object = o;
-}
\ No newline at end of file
+}
+
===
RCS file: /cvs/e/e17/libs/engrave/src/lib/engrave_canvas.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- engrave_canvas.c15 Jan 2007 03:11:34 -  1.8
+++ engrave_canvas.c15 Jan 2007 10:46:34 -  1.9
@@ -207,30 +207,33 @@
 engrave_part_current_state_get(confine));
 
switch (engrave_part_type_get(ep))
-   {
+ {
   case ENGRAVE_PART_TYPE_RECT:
 engrave_canvas_part_state_rect_setup(eps);
 evas_object_move(ep_object, ec->x + ep->pos.x, ec->y + ep->pos.y);
 evas_object_resize(ep_object, ep->pos.w, ep->pos.h);
 break;
-  
+   
   case ENGRAVE_PART_TYPE_TEXT:
 engrave_canvas_part_state_text_setup(eps);
 evas_object_move(ep_object, ec->x + ep->pos.x,
-ec->y + ep->pos.y);
+ec->y + ep->pos.y);
 break;
-  
+   
   case ENGRAVE_PART_TYPE_IMAGE:
 engrave_canvas_part_state_image_setup(eps);
 evas_object_move(ep_object, ec->x + ep->pos.x, ec->y + ep->pos.y);
 evas_object_resize(ep_object, ep->pos.w, ep->pos.h);
 break;
-  
+   
   case ENGRAVE_PART_TYPE_SWALLOW:
-evas_object_move(ep_object, ec->x + ep->pos.x, ec->y + ep->pos.y);
-evas_object_resize(ep_object, ep->pos.w, ep->pos.h);
-break;
-   }
+   evas_object_move(ep_object, ec->x + ep->pos.x, ec->y + ep->pos.y);
+   evas_object_resize(ep_object, ep->pos.w, ep->pos.h);
+   break;
+
+  default:
+   break;
+ }
 
if (engrave_part_state_visible_get(eps))
   evas_object_show(ep_object);



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: mail devilhorns

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : mail

Dir : e_modules/mail


Modified Files:
imap.c 


Log Message:
Make mail module build again.

===
RCS file: /cvs/e/e_modules/mail/imap.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- imap.c  12 Jan 2007 01:23:56 -  1.14
+++ imap.c  15 Jan 2007 10:26:15 -  1.15
@@ -57,11 +57,9 @@
  ic->config->port, NULL);
  ic->server->cmd = 0;
}
+  is->current = ic;
}
}
-  is->current = is->clients;
-  if (!is->current) break;
-  ic = is->current->data;
 }
 }
 
@@ -108,8 +106,7 @@
   if (is->data_handler)
ecore_event_handler_del (is->data_handler);
   iservers = evas_list_remove_list (iservers, iservers);
-  free (is);
-  is = NULL;
+   E_FREE(is);
 }
 }
 
@@ -261,7 +258,7 @@
 }
 
   if (!is->current) return 0;
-  ic = is->current->data;
+  ic = is->current;
   is->state++;
 
   switch (is->state)
@@ -289,10 +286,10 @@
  if ((num > 0) && (ic->config->use_exec) && (ic->config->exec))
_mail_start_exe (ic->config);
 
- is->current = is->current->next;
+ is->current = is->clients->next->data;
  if (is->current)
{
- if (is->current->data)
+ if (is->current)
  is->state = IMAP_STATE_SERVER_READY;
  else
  _mail_imap_server_logout (is);



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto davemds

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : davemds
Project : e17
Module  : proto

Dir : e17/proto/edje_editor/data


Modified Files:
edje_editor.edc 


Log Message:
 * Add min e max to the edc to make the etk combobox draw correctly 

===
RCS file: /cvs/e/e17/proto/edje_editor/data/edje_editor.edc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- edje_editor.edc 8 Jan 2007 20:01:52 -   1.2
+++ edje_editor.edc 15 Jan 2007 06:15:23 -  1.3
@@ -5,7 +5,7 @@
image, "bg.png" LOSSY 95;
image, "shadow.png" LOSSY 95;
/* end of static images*/
-   
+
image, "image.png" LOSSY 95;
image, "rect.png" LOSSY 95;
image, "text.png" LOSSY 95;
@@ -28,97 +28,99 @@
 
 }
 collections {
-   //
-   /*  FocusH */
-   //
group{
   name, "IMAGE.PNG";
+  min, 15 16;
+  max, 15 16;
   parts{
-part{
-   name, "StaticImage";
-   type, IMAGE;
-   mouse_events, 0;
-   description{
-  rel1 {relative, 0.0 0.0; offset, 0 0;}
-  rel2 {relative, 0.0 0.0; offset, 15 16;}
-  image {
- normal, "image.png";
-  }
-   }
-
-}
+ part{
+name, "StaticImage";
+type, IMAGE;
+mouse_events, 0;
+description{
+   rel1 {relative, 0.0 0.0; offset, 0 0;}
+   rel2 {relative, 0.0 0.0; offset, 15 16;}
+   image {
+  normal, "image.png";
+   }
+}
+ }
   }
}
group{
   name, "RECT.PNG";
+  min, 19 14;
+  max, 19 14;
   parts{
-part{
-   name, "StaticImage";
-   type, IMAGE;
-   mouse_events, 0;
-   description{
-  rel1 {relative, 0.0 0.0; offset, 0 0;}
-  rel2 {relative, 0.0 0.0; offset, 19 14;}
-  image {
- normal, "rect.png";
-  }
-   }
-
-}
+ part{
+name, "StaticImage";
+type, IMAGE;
+mouse_events, 0;
+description{
+   rel1 {relative, 0.0 0.0; offset, 0 0;}
+   rel2 {relative, 0.0 0.0; offset, 19 14;}
+   image {
+  normal, "rect.png";
+   }
+}
+ }
   }
}
group{
   name, "TEXT.PNG";
+  min, 20 15;
+  max, 20 15;
   parts{
-part{
-   name, "StaticImage";
-   type, IMAGE;
-   mouse_events, 0;
-   description{
-  rel1 {relative, 0.0 0.0; offset, 0 0;}
-  rel2 {relative, 0.0 0.0; offset, 20 15;}
-  image {
- normal, "text.png";
-  }
-   }
-
-}
+ part{
+name, "StaticImage";
+type, IMAGE;
+mouse_events, 0;
+description{
+   rel1 {relative, 0.0 0.0; offset, 0 0;}
+   rel2 {relative, 0.0 0.0; offset, 20 15;}
+   image {
+  normal, "text.png";
+   }
+}
+ }
   }
}
group{
   name, "NONE.PNG";
+  min, 19 14;
+  max, 19 14;
   parts{
-part{
-   name, "StaticImage";
-   type, IMAGE;
-   mouse_events, 0;
-   description{
-  rel1 {relative, 0.0 0.0; offset, 0 0;}
-  rel2 {relative, 0.0 0.0; offset, 19 14;}
-  image {
- normal, "none.png";
-  }
-   }
-
-}
+ part{
+name, "StaticImage";
+type, IMAGE;
+mouse_events, 0;
+description{
+   rel1 {relative, 0.0 0.0; offset, 0 0;}
+   rel2 {relative, 0.0 0.0; offset, 19 14;}
+   image {
+  normal, "none.png";
+   }
+}
+ }
   }
}
group{
   name, "DESC.PNG";
+  min, 15 15;
+  max, 15 15;
   parts{
-part{
-   name, "StaticImage";
-   type, IMAGE;
-   mouse_events, 0;
-   description{
-  rel1 {relative, 0.0 0.0; offset, 0 0;}
-  rel2 {relative, 0.0 0.0; offset, 15 15;}
-  image {
- normal, "desc.png";
-  }
-   }
-
-}
+ part{
+name, "StaticImage";
+type, IMAGE;
+mouse_events, 0;
+description{
+   rel1 {relative, 0.0 0.0; offset, 0 0;}
+   rel2 {relative, 0.0 0.0; offset, 15 15;}
+   image {
+  normal, "desc.png";
+   }
+}
+ }
   }

E CVS: ethemes kwo

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : ethemes

Dir : e16/ethemes


Added Files:
.cvsignore AUTHORS COPYING Makefile-separate Makefile.am 
autogen.sh configure.in e16-themes.spec.in 
Removed Files:
Makefile 


Log Message:
Enable building combined theme package.




-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: ethemes kwo

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : ethemes

Dir : e16/ethemes/BrushedMetal-Tigert


Modified Files:
Makefile.am configure.in 
Removed Files:
ChangeLog NEWS README 


Log Message:
Autofoo cleanups, prepare for combined theme package.

===
RCS file: /cvs/e/e16/ethemes/BrushedMetal-Tigert/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 6 Mar 2005 15:29:44 -   1.2
+++ Makefile.am 15 Jan 2007 04:55:52 -  1.3
@@ -1,25 +1,29 @@
+AUTOMAKE_OPTIONS = foreign
+
+THEME = BrushedMetal-Tigert
+THEME_FILES = $(THEME).etheme
 
 ethemedir = $(datadir)/themes
 
-BUILT_SOURCES = @[EMAIL PROTECTED]
-EXTRA_DIST = [EMAIL PROTECTED]@.spec @THEME_FILES@
+BUILT_SOURCES = $(THEME).etheme
+EXTRA_DIST = etheme-$(THEME).spec $(THEME_FILES)
 
-THEME_DIR = $(DESTDIR)$(ENLIGHTENMENT_ROOT)/themes/@THEME@
+THEME_DIR = $(DESTDIR)$(ENLIGHTENMENT_ROOT)/themes/$(THEME)
 
 install-data-local:
$(mkinstalldirs) $(THEME_DIR)
-   for tf in @THEME_FILES@; do \
+   for tf in $(THEME_FILES); do \
gzip -d -c < $(srcdir)/$$tf | (cd $(THEME_DIR); tar -xmf -); \
done
-if [ -n "$(USER)" ]; then chown -R $(USER) $(THEME_DIR); else chown -R 
root $(THEME_DIR); fi
 
 uninstall-local:
-   -for tf in @THEME_FILES@; do \
+   -for tf in $(THEME_FILES); do \
gzip -d -c < $(srcdir)/$$tf | (cd $(THEME_DIR); \
rm -f `tar -tf -` 2>/dev/null); \
done
 
-.PHONY: etheme @[EMAIL PROTECTED]
-etheme: @[EMAIL PROTECTED]
[EMAIL PROTECTED]@.etheme:
-   test ! -d data || (cd data; tar -czvf ../@[EMAIL PROTECTED] --exclude 
CVS *)
+.PHONY: etheme $(THEME).etheme
+etheme: $(THEME).etheme
+$(THEME).etheme:
+   test ! -d data || (cd data; tar -czvf ../$(THEME).etheme --exclude CVS 
*)
===
RCS file: /cvs/e/e16/ethemes/BrushedMetal-Tigert/configure.in,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- configure.in5 Feb 2006 11:19:50 -   1.9
+++ configure.in15 Jan 2007 04:55:52 -  1.10
@@ -13,8 +13,6 @@
   exec_prefix=$prefix
 fi
 
-#ALL_LINGUAS="de dk en_US es fr hu ko nl no ru sv pt pl pt_BR tr ja"
-
 AC_PROG_MAKE_SET
 AC_PROG_INSTALL
 
@@ -26,11 +24,6 @@
 fi
 ENLIGHTENMENT_ROOT=`eval echo ${datadir}/e16`
 AC_SUBST(ENLIGHTENMENT_ROOT)
-
-THEME_FILES="$THEME.etheme `ls -1 $THEME.etheme*`"
-THEME_FILES=`echo $THEME_FILES`
-AC_SUBST(THEME)
-AC_SUBST(THEME_FILES)
 
 AC_OUTPUT([
   Makefile



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: ethemes kwo

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : ethemes

Dir : e16/ethemes/ShinyMetal


Modified Files:
Makefile.am configure.in 
Removed Files:
ChangeLog NEWS README 


Log Message:
Autofoo cleanups, prepare for combined theme package.

===
RCS file: /cvs/e/e16/ethemes/ShinyMetal/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 6 Mar 2005 15:29:55 -   1.2
+++ Makefile.am 15 Jan 2007 04:55:52 -  1.3
@@ -1,25 +1,29 @@
+AUTOMAKE_OPTIONS = foreign
+
+THEME = ShinyMetal
+THEME_FILES = $(THEME).etheme
 
 ethemedir = $(datadir)/themes
 
-BUILT_SOURCES = @[EMAIL PROTECTED]
-EXTRA_DIST = [EMAIL PROTECTED]@.spec @THEME_FILES@
+BUILT_SOURCES = $(THEME).etheme
+EXTRA_DIST = etheme-$(THEME).spec $(THEME_FILES)
 
-THEME_DIR = $(DESTDIR)$(ENLIGHTENMENT_ROOT)/themes/@THEME@
+THEME_DIR = $(DESTDIR)$(ENLIGHTENMENT_ROOT)/themes/$(THEME)
 
 install-data-local:
$(mkinstalldirs) $(THEME_DIR)
-   for tf in @THEME_FILES@; do \
+   for tf in $(THEME_FILES); do \
gzip -d -c < $(srcdir)/$$tf | (cd $(THEME_DIR); tar -xmf -); \
done
-if [ -n "$(USER)" ]; then chown -R $(USER) $(THEME_DIR); else chown -R 
root $(THEME_DIR); fi
 
 uninstall-local:
-   -for tf in @THEME_FILES@; do \
+   -for tf in $(THEME_FILES); do \
gzip -d -c < $(srcdir)/$$tf | (cd $(THEME_DIR); \
rm -f `tar -tf -` 2>/dev/null); \
done
 
-.PHONY: etheme @[EMAIL PROTECTED]
-etheme: @[EMAIL PROTECTED]
[EMAIL PROTECTED]@.etheme:
-   test ! -d data || (cd data; tar -czvf ../@[EMAIL PROTECTED] --exclude 
CVS *)
+.PHONY: etheme $(THEME).etheme
+etheme: $(THEME).etheme
+$(THEME).etheme:
+   test ! -d data || (cd data; tar -czvf ../$(THEME).etheme --exclude CVS 
*)
===
RCS file: /cvs/e/e16/ethemes/ShinyMetal/configure.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- configure.in5 Feb 2006 11:19:50 -   1.10
+++ configure.in15 Jan 2007 04:55:52 -  1.11
@@ -13,8 +13,6 @@
   exec_prefix=$prefix
 fi
 
-#ALL_LINGUAS="de dk en_US es fr hu ko nl no ru sv pt pl pt_BR tr ja"
-
 AC_PROG_MAKE_SET
 AC_PROG_INSTALL
 
@@ -26,11 +24,6 @@
 fi
 ENLIGHTENMENT_ROOT=`eval echo ${datadir}/e16`
 AC_SUBST(ENLIGHTENMENT_ROOT)
-
-THEME_FILES="$THEME.etheme `ls -1 $THEME.etheme*`"
-THEME_FILES=`echo $THEME_FILES`
-AC_SUBST(THEME)
-AC_SUBST(THEME_FILES)
 
 AC_OUTPUT([
   Makefile



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: ethemes kwo

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : ethemes

Dir : e16/ethemes/Ganymede


Modified Files:
Makefile.am configure.in 
Removed Files:
ChangeLog NEWS README 


Log Message:
Autofoo cleanups, prepare for combined theme package.

===
RCS file: /cvs/e/e16/ethemes/Ganymede/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 6 Mar 2005 15:29:54 -   1.2
+++ Makefile.am 15 Jan 2007 04:55:52 -  1.3
@@ -1,25 +1,29 @@
+AUTOMAKE_OPTIONS = foreign
+
+THEME = Ganymede
+THEME_FILES = $(THEME).etheme
 
 ethemedir = $(datadir)/themes
 
-BUILT_SOURCES = @[EMAIL PROTECTED]
-EXTRA_DIST = [EMAIL PROTECTED]@.spec @THEME_FILES@
+BUILT_SOURCES = $(THEME).etheme
+EXTRA_DIST = etheme-$(THEME).spec $(THEME_FILES)
 
-THEME_DIR = $(DESTDIR)$(ENLIGHTENMENT_ROOT)/themes/@THEME@
+THEME_DIR = $(DESTDIR)$(ENLIGHTENMENT_ROOT)/themes/$(THEME)
 
 install-data-local:
$(mkinstalldirs) $(THEME_DIR)
-   for tf in @THEME_FILES@; do \
+   for tf in $(THEME_FILES); do \
gzip -d -c < $(srcdir)/$$tf | (cd $(THEME_DIR); tar -xmf -); \
done
-if [ -n "$(USER)" ]; then chown -R $(USER) $(THEME_DIR); else chown -R 
root $(THEME_DIR); fi
 
 uninstall-local:
-   -for tf in @THEME_FILES@; do \
+   -for tf in $(THEME_FILES); do \
gzip -d -c < $(srcdir)/$$tf | (cd $(THEME_DIR); \
rm -f `tar -tf -` 2>/dev/null); \
done
 
-.PHONY: etheme @[EMAIL PROTECTED]
-etheme: @[EMAIL PROTECTED]
[EMAIL PROTECTED]@.etheme:
-   test ! -d data || (cd data; tar -czvf ../@[EMAIL PROTECTED] --exclude 
CVS *)
+.PHONY: etheme $(THEME).etheme
+etheme: $(THEME).etheme
+$(THEME).etheme:
+   test ! -d data || (cd data; tar -czvf ../$(THEME).etheme --exclude CVS 
*)
===
RCS file: /cvs/e/e16/ethemes/Ganymede/configure.in,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- configure.in5 Feb 2006 11:19:50 -   1.9
+++ configure.in15 Jan 2007 04:55:52 -  1.10
@@ -13,8 +13,6 @@
   exec_prefix=$prefix
 fi
 
-#ALL_LINGUAS="de dk en_US es fr hu ko nl no ru sv pt pl pt_BR tr ja"
-
 AC_PROG_MAKE_SET
 AC_PROG_INSTALL
 
@@ -26,11 +24,6 @@
 fi
 ENLIGHTENMENT_ROOT=`eval echo ${datadir}/e16`
 AC_SUBST(ENLIGHTENMENT_ROOT)
-
-THEME_FILES="$THEME.etheme `ls -1 $THEME.etheme*`"
-THEME_FILES=`echo $THEME_FILES`
-AC_SUBST(THEME)
-AC_SUBST(THEME_FILES)
 
 AC_OUTPUT([
   Makefile



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: ethemes kwo

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : ethemes

Dir : e16/ethemes/BlueSteel


Modified Files:
Makefile.am configure.in 
Removed Files:
ChangeLog NEWS README 


Log Message:
Autofoo cleanups, prepare for combined theme package.

===
RCS file: /cvs/e/e16/ethemes/BlueSteel/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 6 Mar 2005 15:29:41 -   1.2
+++ Makefile.am 15 Jan 2007 04:55:51 -  1.3
@@ -1,25 +1,29 @@
+AUTOMAKE_OPTIONS = foreign
+
+THEME = BlueSteel
+THEME_FILES = $(THEME).etheme
 
 ethemedir = $(datadir)/themes
 
-BUILT_SOURCES = @[EMAIL PROTECTED]
-EXTRA_DIST = [EMAIL PROTECTED]@.spec @THEME_FILES@
+BUILT_SOURCES = $(THEME).etheme
+EXTRA_DIST = etheme-$(THEME).spec $(THEME_FILES)
 
-THEME_DIR = $(DESTDIR)$(ENLIGHTENMENT_ROOT)/themes/@THEME@
+THEME_DIR = $(DESTDIR)$(ENLIGHTENMENT_ROOT)/themes/$(THEME)
 
 install-data-local:
$(mkinstalldirs) $(THEME_DIR)
-   for tf in @THEME_FILES@; do \
+   for tf in $(THEME_FILES); do \
gzip -d -c < $(srcdir)/$$tf | (cd $(THEME_DIR); tar -xmf -); \
done
-if [ -n "$(USER)" ]; then chown -R $(USER) $(THEME_DIR); else chown -R 
root $(THEME_DIR); fi
 
 uninstall-local:
-   -for tf in @THEME_FILES@; do \
+   -for tf in $(THEME_FILES); do \
gzip -d -c < $(srcdir)/$$tf | (cd $(THEME_DIR); \
rm -f `tar -tf -` 2>/dev/null); \
done
 
-.PHONY: etheme @[EMAIL PROTECTED]
-etheme: @[EMAIL PROTECTED]
[EMAIL PROTECTED]@.etheme:
-   test ! -d data || (cd data; tar -czvf ../@[EMAIL PROTECTED] --exclude 
CVS *)
+.PHONY: etheme $(THEME).etheme
+etheme: $(THEME).etheme
+$(THEME).etheme:
+   test ! -d data || (cd data; tar -czvf ../$(THEME).etheme --exclude CVS 
*)
===
RCS file: /cvs/e/e16/ethemes/BlueSteel/configure.in,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- configure.in5 Feb 2006 11:19:50 -   1.9
+++ configure.in15 Jan 2007 04:55:52 -  1.10
@@ -13,8 +13,6 @@
   exec_prefix=$prefix
 fi
 
-#ALL_LINGUAS="de dk en_US es fr hu ko nl no ru sv pt pl pt_BR tr ja"
-
 AC_PROG_MAKE_SET
 AC_PROG_INSTALL
 
@@ -26,11 +24,6 @@
 fi
 ENLIGHTENMENT_ROOT=`eval echo ${datadir}/e16`
 AC_SUBST(ENLIGHTENMENT_ROOT)
-
-THEME_FILES="$THEME.etheme `ls -1 $THEME.etheme*`"
-THEME_FILES=`echo $THEME_FILES`
-AC_SUBST(THEME)
-AC_SUBST(THEME_FILES)
 
 AC_OUTPUT([
   Makefile



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: ethemes kwo

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : ethemes

Dir : e16/ethemes/winter


Modified Files:
Makefile.am configure.in 
Removed Files:
ChangeLog NEWS README 


Log Message:
Autofoo cleanups, prepare for combined theme package.

===
RCS file: /cvs/e/e16/ethemes/winter/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 6 Mar 2005 15:29:58 -   1.2
+++ Makefile.am 15 Jan 2007 04:55:52 -  1.3
@@ -1,25 +1,29 @@
+AUTOMAKE_OPTIONS = foreign
+
+THEME = winter
+THEME_FILES = $(THEME).etheme
 
 ethemedir = $(datadir)/themes
 
-BUILT_SOURCES = @[EMAIL PROTECTED]
-EXTRA_DIST = [EMAIL PROTECTED]@.spec @THEME_FILES@
+BUILT_SOURCES = $(THEME).etheme
+EXTRA_DIST = etheme-$(THEME).spec $(THEME_FILES)
 
-THEME_DIR = $(DESTDIR)$(ENLIGHTENMENT_ROOT)/themes/@THEME@
+THEME_DIR = $(DESTDIR)$(ENLIGHTENMENT_ROOT)/themes/$(THEME)
 
 install-data-local:
$(mkinstalldirs) $(THEME_DIR)
-   for tf in @THEME_FILES@; do \
+   for tf in $(THEME_FILES); do \
gzip -d -c < $(srcdir)/$$tf | (cd $(THEME_DIR); tar -xmf -); \
done
-if [ -n "$(USER)" ]; then chown -R $(USER) $(THEME_DIR); else chown -R 
root $(THEME_DIR); fi
 
 uninstall-local:
-   -for tf in @THEME_FILES@; do \
+   -for tf in $(THEME_FILES); do \
gzip -d -c < $(srcdir)/$$tf | (cd $(THEME_DIR); \
rm -f `tar -tf -` 2>/dev/null); \
done
 
-.PHONY: etheme @[EMAIL PROTECTED]
-etheme: @[EMAIL PROTECTED]
[EMAIL PROTECTED]@.etheme:
-   test ! -d data || (cd data; tar -czvf ../@[EMAIL PROTECTED] --exclude 
CVS *)
+.PHONY: etheme $(THEME).etheme
+etheme: $(THEME).etheme
+$(THEME).etheme:
+   test ! -d data || (cd data; tar -czvf ../$(THEME).etheme --exclude CVS 
*)
===
RCS file: /cvs/e/e16/ethemes/winter/configure.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- configure.in19 Mar 2005 14:08:44 -  1.3
+++ configure.in15 Jan 2007 04:55:52 -  1.4
@@ -13,8 +13,6 @@
   exec_prefix=$prefix
 fi
 
-#ALL_LINGUAS="de dk en_US es fr hu ko nl no ru sv pt pl pt_BR tr ja"
-
 AC_PROG_MAKE_SET
 AC_PROG_INSTALL
 
@@ -26,11 +24,6 @@
 fi
 ENLIGHTENMENT_ROOT=`eval echo ${datadir}/e16`
 AC_SUBST(ENLIGHTENMENT_ROOT)
-
-THEME_FILES="$THEME.etheme `ls -1 $THEME.etheme*`"
-THEME_FILES=`echo $THEME_FILES`
-AC_SUBST(THEME)
-AC_SUBST(THEME_FILES)
 
 AC_OUTPUT([
   Makefile



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: ethemes kwo

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : ethemes

Dir : e16/ethemes/winter/data/dialogs


Modified Files:
dialogs.cfg 


Log Message:
Adjust whitespace.

===
RCS file: /cvs/e/e16/ethemes/winter/data/dialogs/dialogs.cfg,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- dialogs.cfg 17 Jul 2005 21:39:58 -  1.3
+++ dialogs.cfg 15 Jan 2007 04:50:13 -  1.4
@@ -156,7 +156,7 @@
   __NAME "DIALOG_WIDGET_BUTTON"
   __JUSTIFICATION 512
   
-__NORMAL "*font-dialog"
+  __NORMAL "*font-dialog"
   __DRAWING_EFFECT __EFFECT_SHADOW
   __FORGROUND_COLOR 70 70 70
   __BACKGROUND_COLOR 210 210 210
@@ -175,14 +175,13 @@
   __DRAWING_EFFECT __EFFECT_SHADOW
   __FORGROUND_COLOR 70 70 70
   __BACKGROUND_COLOR 210 210 210
-
 __END
 
 __TCLASS __BGN
   __NAME "DIALOG_WIDGET_RADIO_BUTTON"
   __JUSTIFICATION 0
   
-__NORMAL "*font-dialog"
+  __NORMAL "*font-dialog"
   __DRAWING_EFFECT __EFFECT_SHADOW
   __FORGROUND_COLOR 70 70 70
   __BACKGROUND_COLOR 210 210 210
@@ -192,7 +191,7 @@
   __NAME "DIALOG_WIDGET_TEXT"
   __JUSTIFICATION 512
   
-__NORMAL "*font-dialog"
+  __NORMAL "*font-dialog"
   __DRAWING_EFFECT __EFFECT_SHADOW
   __FORGROUND_COLOR 70 70 70
   __BACKGROUND_COLOR 210 210 210
@@ -207,7 +206,7 @@
   __NAME "DIALOG_BUTTON"
   __JUSTIFICATION 512
 
-__NORMAL "*font-dialog"
+  __NORMAL "*font-dialog"
   __DRAWING_EFFECT __EFFECT_SHADOW
   __FORGROUND_COLOR 70 70 70
   __BACKGROUND_COLOR 210 210 210



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e urandom

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : urandom
Project : e17
Module  : apps/e

Dir : e17/apps/e/data/themes


Modified Files:
default_ibox.edc default_pager.edc 


Log Message:
icons in the ibox and pager will pulsate if urgent

===
RCS file: /cvs/e/e17/apps/e/data/themes/default_ibox.edc,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- default_ibox.edc10 Oct 2006 13:36:31 -  1.6
+++ default_ibox.edc15 Jan 2007 04:03:08 -  1.7
@@ -115,6 +115,9 @@
data {
   //item: "item_list", "item item2 item3";
}
+   script {
+  public urgent;
+   }
parts {
   part {
 name:  "base";
@@ -287,6 +290,11 @@
 source:  "";
 action:  STATE_SET "default" 0.0;
 target:  "background";
+script {
+if (get_int(urgent) == 1) {
+run_program(PROGRAM:"go_urgent");
+}
+}
   }
   program {
 name:"go_big";
@@ -324,6 +332,60 @@
 signal:  "e,action,stop";
 source:  "e";
 //  action:  SIGNAL_EMIT "active" 0.0;
+  }
+  program {
+name: "init";
+signal: "load";
+source: "";
+script {
+   set_int(urgent, 0);
+}
+  }
+  program {
+name: "set_urgent";
+signal: "e,state,urgent";
+source: "e";
+script {
+   set_int(urgent, 1);
+}
+  }
+  program {
+name:"go_urgent";
+signal:  "e,state,urgent";
+source:  "e";
+action:  STATE_SET "visible" 0.0;
+target:  "background";
+after:   "go_urgent2";
+  }
+  program {
+name:"go_urgent2";
+action:  STATE_SET "hidden" 0.0;
+transition: LINEAR 0.5;
+target:  "background";
+after:   "go_urgent";
+  }
+  program {
+name: "unset_urgent";
+signal: "e,state,not_urgent";
+source: "e";
+script {
+   set_int(urgent, 0);
+}
+  }
+  program {
+name:"go_unurgent";
+signal:  "e,state,not_urgent";
+source:  "e";
+action:  ACTION_STOP;
+target:  "go_urgent";
+target:  "go_urgent2";
+after:   "go_unurgent2";
+  }
+  program {
+name:"go_unurgent2";
+action:  STATE_SET "default" 0.0;
+transition: SINUSOIDAL 0.3;
+target:  "background";
   }
}
 }
===
RCS file: /cvs/e/e17/apps/e/data/themes/default_pager.edc,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- default_pager.edc   10 Oct 2006 13:36:31 -  1.32
+++ default_pager.edc   15 Jan 2007 04:03:08 -  1.33
@@ -638,6 +638,17 @@
   border: 6 13 7 5;
}
 }
+description {
+   state: "urgent" 0.0;
+   inherit: "default" 0.0;
+   rel1 {
+  relative: -0.5  -0.5;
+   }
+   rel2 {
+  relative: 1.5  1.5;
+   }
+   color: 255 255 255 0;
+}
   }
   part {
 name:   "icon";
@@ -657,6 +668,38 @@
}
color:   0 0 0 0;
 }
+  }
+   }
+   programs {
+  program {
+name:"go_urgent_pre";
+signal:  "e,state,urgent";
+source:  "e";
+action:  STATE_SET "default" 0.0;
+target:  "overlay";
+after:   "go_urgent";
+  }
+  program {
+name:"go_urgent";
+action:  STATE_SET "urgent" 0.0;
+transition: LINEAR 0.5;
+target:  "overlay";
+after:   "go_urgent_pre";
+  }
+  program {
+name:"go_unurgent";
+signal:  "e,state,not_urgent";
+source:  "e";
+action:  ACTION_STOP;
+target:  "go_urgent_pre";
+target:  "go_urgent";
+after:   "go_unurgent2";
+  } 
+  program {
+name:"go_unurgent2";
+action:  STATE_SET "default" 0.0;
+transition: SINUSOIDAL 0.3;
+target:  "overlay";
   }
}
 }



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto doursse

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : proto

Dir : e17/proto/epdf/src/bin


Modified Files:
epdf_ewl_test.c 


Log Message:
switch to ewl_tree2

===
RCS file: /cvs/e/e17/proto/epdf/src/bin/epdf_ewl_test.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- epdf_ewl_test.c 20 Dec 2006 21:23:25 -  1.4
+++ epdf_ewl_test.c 15 Jan 2007 03:17:02 -  1.5
@@ -7,44 +7,116 @@
 #include "ewl_pdf.h"
 
 
+typedef struct Tree_Row_Data Tree_Row_Data;
+typedef struct Tree_Data Tree_Data;
+
+struct Tree_Row_Data
+{
+  char  *text;
+  Tree_Data *subdata;
+  intexpandable;
+  intpage;
+};
+
+struct Tree_Data
+{
+  unsigned intcount;
+  Tree_Row_Data **rows;
+};
+
+
 static void _quit_cb (Ewl_Widget * w, void *ev_data, void *user_data);
 static void _change_page_cb (Ewl_Widget *widget, void *ev_data, void 
*user_data);
 
-void
-_tree_fill (Ewl_Widget *pdf, Ewl_Tree *tree, Ewl_Row *row, Ecore_List *items)
+void *
+_tree2_fill (Ewl_Widget *pdf, Ecore_List *items)
 {
-  Ewl_Widget  *prow;
+  Tree_Data   *data;
   Epdf_Index_Item *item;
+  int  i = 0;
 
   if (!items)
-return;
+return NULL;
+
+  data = (Tree_Data *)calloc (1, sizeof (Tree_Data));
+  if (!data)
+return NULL;
+
+  data->count = ecore_list_nodes (items);
+  data->rows = (Tree_Row_Data **)calloc (data->count, sizeof (Tree_Row_Data 
*));
+  if (!data->rows) {
+free (data);
+return NULL;
+  }
   
   ecore_list_goto_first (items);
   while ((item = ecore_list_next (items))) {
-int page;
-int*num;
-char   *buf;
 Ecore_List *c;
+int page;
 
-buf = strdup (epdf_index_item_title_get (item));
-prow = ewl_tree_text_row_add (tree, row,
-  &buf);
 page = epdf_index_item_page_get (ewl_pdf_pdf_document_get (EWL_PDF (pdf)), 
item);
-if (page >= 0) {
-  num = (int *)malloc (sizeof (int));
-  *num = page;
-  ewl_widget_data_set (prow, "row-number", num);
-  ewl_callback_append (EWL_WIDGET (prow),
-   EWL_CALLBACK_CLICKED,
-   EWL_CALLBACK_FUNCTION (_change_page_cb),
-   pdf);
-}
-free (buf);
+
+data->rows[i] = (Tree_Row_Data *)calloc (1, sizeof (Tree_Row_Data));
+data->rows[i]->text = strdup (epdf_index_item_title_get (item));
+data->rows[i]->expandable = 0;
+data->rows[i]->page = (page < 0) ? 0 : page;
+
 c = epdf_index_item_children_get (item);
 if (c) {
-  _tree_fill (pdf, tree, EWL_ROW (prow), c);
+  data->rows[i]->expandable = 1;
+  data->rows[i]->subdata = _tree2_fill (pdf, c);
 }
+
+i++;
   }
+
+  return data;
+}
+
+static void *tree2_data_fetch(void *data, unsigned int row, unsigned int 
column)
+{
+  Tree_Data *d;
+
+  d = (Tree_Data *)data;
+
+  return d->rows[row]->text;
+}
+
+static int
+tree2_data_count_get (void *data)
+{
+  Tree_Data *d;
+
+  d = (Tree_Data *)data;
+
+  return d->count;
+}
+
+static int
+tree2_data_expandable_get(void *data, unsigned int row)
+{
+  Tree_Data *d;
+
+  d = data;
+
+  return d->rows[row]->expandable;
+}
+
+static void *
+tree2_data_expansion_fetch(void *data, unsigned int parent)
+{
+  Tree_Data *d;
+
+  d = data;
+
+  return d->rows[parent]->subdata;
+}
+
+static void
+_label_text_set (Ewl_Widget *widget, void *data)
+{
+  ewl_label_text_set (EWL_LABEL (widget), (const char *)data);
+  ewl_object_alignment_set (EWL_OBJECT (widget), EWL_FLAG_ALIGN_LEFT);
 }
 
 int
@@ -52,7 +124,8 @@
 {
   Ecore_List *str_data = NULL;
   Ewl_Widget *window;
-  Ewl_Widget *table;
+  Ewl_Widget *hbox;
+  Ewl_Widget *vbox;
   Ewl_Widget *list;
   Ewl_Model  *model;
   Ewl_View   *view;
@@ -91,25 +164,56 @@
   ewl_callback_append (window, EWL_CALLBACK_DELETE_WINDOW,
_quit_cb, str_data);
 
-  table = ewl_table_new (2, 2, NULL);
-  ewl_table_homogeneous_set (EWL_TABLE (table), FALSE);
-  ewl_container_child_append (EWL_CONTAINER (window), table);
-  ewl_widget_show (table);
+  hbox = ewl_hbox_new ();
+  ewl_box_homogeneous_set (EWL_BOX (hbox), FALSE);
+  ewl_container_child_append (EWL_CONTAINER (window), hbox);
+  ewl_widget_show (hbox);
+
+  vbox = ewl_vbox_new ();
+  ewl_box_homogeneous_set (EWL_BOX (vbox), TRUE);
+  ewl_container_child_append (EWL_CONTAINER (hbox), vbox);
+  ewl_widget_show (vbox);
 
   if (index) {
-tree = ewl_tree_new (1);
-ewl_tree_headers_visible_set (EWL_TREE (tree), FALSE);
-ewl_table_add (EWL_TABLE (table), tree, 1, 1, 1, 1);
-_tree_fill (pdf, EWL_TREE (tree), NULL, index);
+Ewl_Model *model;
+Ewl_View  *view;
+void  *data;
+
+/* tree */
+tree = ewl_tree2_new ();
+ewl_widget_name_set (tree, "tree");
+/* ewl_object_fill_policy_set (EWL_OBJECT (tree), EWL_FLAG_FILL_VFILL); */
+

E CVS: libs/engrave davemds

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : davemds
Project : e17
Module  : libs/engrave

Dir : e17/libs/engrave/src/lib


Modified Files:
engrave_canvas.c engrave_part_state.c 


Log Message:
 * Make the text part draw better
 * Mod engrave_part_state_color|2|3_set so that user can change only one color 
a time

===
RCS file: /cvs/e/e17/libs/engrave/src/lib/engrave_canvas.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- engrave_canvas.c14 Jan 2007 15:48:53 -  1.7
+++ engrave_canvas.c15 Jan 2007 03:11:34 -  1.8
@@ -437,28 +437,60 @@
 static void
 engrave_canvas_part_state_text_setup(Engrave_Part_State *eps)
 {
-int r, g, b, a;
-const char *font_key;
-const char *font_name;
-Engrave_Part *ep = (eps ? eps->parent : NULL);
-Engrave_Group *eg = (ep ? ep->parent : NULL);
-Engrave_File *ef = (eg ? eg->parent : NULL);
-   // XXX this needs a lot of work ... 
-if (ef) {
-Engrave_Font * efont;
-
-font_key = engrave_part_state_text_font_get(eps);
-efont = engrave_file_font_by_name_find(ef, font_key);
-font_name = engrave_font_path_get(efont);
-
-} else 
-font_name = "Vera.ttf";
-
-evas_object_text_text_set(ep->object, 
engrave_part_state_text_text_get(eps));
-evas_object_text_font_set(ep->object, font_name, 
-engrave_part_state_text_size_get(eps));
-engrave_part_state_color_get(eps, &r, &g, &b, &a);
-evas_object_color_set(ep->object, r, g, b, a);
+   int r, g, b, a;
+   const char *font_key;
+   const char *font_name;
+   Engrave_Part *ep = (eps ? eps->parent : NULL);
+   Engrave_Group *eg = (ep ? ep->parent : NULL);
+   Engrave_File *ef = (eg ? eg->parent : NULL);
+
+   if (ef) {
+  Engrave_Font * efont;
+
+  font_key = engrave_part_state_text_font_get(eps);
+  efont = engrave_file_font_by_name_find(ef, font_key);
+  font_name = engrave_font_path_get(efont);
+
+   }else 
+  font_name = "Vera.ttf";
+
+   evas_object_text_text_set(ep->object, 
+ engrave_part_state_text_text_get(eps));
+   evas_object_text_font_set(ep->object, font_name, 
+ engrave_part_state_text_size_get(eps));
+   engrave_part_state_color_get(eps, &r, &g, &b, &a);
+   evas_object_color_set(ep->object, r, g, b, a);
+   
+   engrave_part_state_color2_get(eps, &r, &g, &b, &a);
+   evas_object_text_shadow_color_set(ep->object, r, g, b, a);
+   
+   engrave_part_state_color3_get(eps, &r, &g, &b, &a);
+   evas_object_text_outline_color_set(ep->object, r, g, b, a);
+
+   switch (engrave_part_effect_get(ep))
+   {
+   case ENGRAVE_TEXT_EFFECT_OUTLINE: 
+  evas_object_text_style_set(ep->object, EVAS_TEXT_STYLE_OUTLINE); 
+  break;
+   case ENGRAVE_TEXT_EFFECT_SOFT_OUTLINE: 
+  evas_object_text_style_set(ep->object, EVAS_TEXT_STYLE_SOFT_OUTLINE);
+  break;
+   case ENGRAVE_TEXT_EFFECT_SHADOW:
+  evas_object_text_style_set(ep->object, EVAS_TEXT_STYLE_SHADOW);
+  break;
+   case ENGRAVE_TEXT_EFFECT_SOFT_SHADOW: 
+  evas_object_text_style_set(ep->object, EVAS_TEXT_STYLE_SOFT_SHADOW);
+  break;
+   case ENGRAVE_TEXT_EFFECT_OUTLINE_SHADOW:
+  evas_object_text_style_set(ep->object, EVAS_TEXT_STYLE_OUTLINE_SHADOW);
+  break;
+   case ENGRAVE_TEXT_EFFECT_OUTLINE_SOFT_SHADOW:
+  evas_object_text_style_set(ep->object, 
EVAS_TEXT_STYLE_OUTLINE_SOFT_SHADOW);
+  break;
+   default: 
+  evas_object_text_style_set(ep->object, EVAS_TEXT_STYLE_PLAIN);
+  break;
+   }
 }
 
 static void
@@ -485,8 +517,6 @@
Engrave_Part *ep = (eps ? eps->parent : NULL);
Engrave_Group *eg = (ep ? ep->parent : NULL);
 
-   
-   
if (!ep || !eg) return;

if ((ei = engrave_part_state_image_normal_get(eps)))
@@ -496,16 +526,17 @@
  engrave_image_name_get(ei));
   evas_object_image_file_set(ep->object, path, NULL);
}
-   
-   
+
engrave_part_state_fill_origin_relative_get(eps, &pos_rel_x, &pos_rel_y);
engrave_part_state_fill_size_relative_get(eps, &rel_x, &rel_y);
engrave_part_state_fill_origin_offset_get(eps, &pos_abs_x, &pos_abs_y);
engrave_part_state_fill_size_offset_get(eps, &abs_x, &abs_y);
+
fill_x = pos_abs_x + (ep->pos.w * pos_rel_x);
fill_y = pos_abs_y + (ep->pos.w * pos_rel_y);
fill_w = abs_x + (ep->pos.w * rel_x);
fill_h = abs_y + (ep->pos.h * rel_y);
+
evas_object_image_fill_set(ep->object, fill_x, fill_y, fill_w, fill_h);
evas_object_image_smooth_scale_set(ep->object,
   engrave_part_state_fill_smooth_get(eps));
===
RCS file: /cvs/e/e17/libs/engrave/src/lib/engrave_part_state.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- engrave_part_state.c14 Jan 2007 15:48:57 -  1.21
+++ engrave_part_state.c15 Jan 2007 03:1

E CVS: proto davemds

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : davemds
Project : e17
Module  : proto

Dir : e17/proto/edje_editor/src/bin


Modified Files:
callbacks.c interface.c 


Log Message:
 * Reenable the color choosers 
 * Make text effect work again 

===
RCS file: /cvs/e/e17/proto/edje_editor/src/bin/callbacks.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- callbacks.c 14 Jan 2007 10:06:40 -  1.8
+++ callbacks.c 15 Jan 2007 02:59:48 -  1.9
@@ -430,6 +430,8 @@
engrave_part_state_max_size_set(Cur.eps,
   etk_range_value_get(UI_StateMaxWSpinner),
   etk_range_value_get(UI_StateMaxHSpinner));
+
+   ev_redraw();
 }
 
 /* Image Frame Callbacks */
@@ -454,7 +456,6 @@
printf("ImageSlieder value_changed signale EMIT: %.2f\n",va);
if (Cur.eps){
   engrave_part_state_color_set(Cur.eps, (int)va, (int)va, (int)va, 
(int)va);
-  //ev_draw_part(Cur.eps->parent);
   ev_redraw();
}
 }
@@ -601,12 +602,12 @@
 void 
 on_EffectComboBox_changed(Etk_Combobox *combobox, void *data)
 {
-   int effect;
+   Engrave_Text_Effect effect;
 
printf("Changed Signal on EffectComboBox EMITTED\n");
if (Cur.ep)
{
-  if ((effect = 
(int)etk_combobox_item_data_get(etk_combobox_active_item_get (combobox
+  if ((effect = 
(Engrave_Text_Effect)etk_combobox_item_data_get(etk_combobox_active_item_get 
(combobox
   {
  engrave_part_effect_set(Cur.ep,effect);
  ev_redraw();
@@ -641,18 +642,15 @@
printf("value changed event on text alpha slider EMIT (value: 
%d)\n",(int)value);
if (Cur.eps)
{
-  engrave_part_state_color_set(Cur.eps,
- Cur.eps->color.r,
- Cur.eps->color.g,
- Cur.eps->color.b,
- (int)value);
-
+  engrave_part_state_color_set(Cur.eps, -1, -1, -1, (int)value);
   ev_redraw();
-   } 
+   }
 }
 
 /* Colors Callbacks */
-void on_ColorCanvas_realize(Etk_Widget *canvas, void *data){
+void
+on_ColorCanvas_realize(Etk_Widget *canvas, void *data)
+{
//Must use the realize callback on the EtkCanvas object.
//Because I can't add any object to the canvas before it is realized
Evas_Object* rect;
@@ -665,28 +663,54 @@
evas_object_show(rect);
evas_object_event_callback_add(rect, EVAS_CALLBACK_MOUSE_DOWN, 
on_ColorCanvas_click, data);
switch ((int)data){
-case COLOR_OBJECT_RECT:
-  RectColorObject = rect;
-  break;
-case COLOR_OBJECT_TEXT:
-  TextColorObject = rect;
-  break;
-case COLOR_OBJECT_SHADOW:
-  ShadowColorObject = rect;
-  break;
-case COLOR_OBJECT_OUTLINE:
-  OutlineColorObject = rect;
-  break;
+  case COLOR_OBJECT_RECT:
+ RectColorObject = rect;
+ break;
+  case COLOR_OBJECT_TEXT:
+ TextColorObject = rect;
+ break;
+  case COLOR_OBJECT_SHADOW:
+ ShadowColorObject = rect;
+ break;
+  case COLOR_OBJECT_OUTLINE:
+ OutlineColorObject = rect;
+ break;
}
 }
 
 void 
 on_ColorCanvas_click(void *data, Evas *e, Evas_Object *obj, void *event_info)
 {
+   Etk_Color c;
printf("Clik Signal on ColorCanvas Emitted\n");
-   ShowAlert("TODO");
-   //if (UI_ColorWin) etk_widget_show_all(UI_ColorWin);
-   //current_color_object = (int)data;
+   if (UI_ColorWin) etk_widget_show_all(UI_ColorWin);
+   current_color_object = (int)data;
+
+   etk_signal_block("color_changed", ETK_OBJECT(UI_ColorPicker), 
ETK_CALLBACK(on_ColorDialog_change));
+   switch (current_color_object)
+   {
+  case COLOR_OBJECT_RECT:
+ etk_window_title_set(ETK_WINDOW(UI_ColorWin), "Rectangle color");
+ engrave_part_state_color_get(Cur.eps,&c.r,&c.g,&c.b,&c.a);
+ etk_colorpicker_current_color_set(UI_ColorPicker, c);
+ break;
+  case COLOR_OBJECT_TEXT:
+ etk_window_title_set(ETK_WINDOW(UI_ColorWin), "Text color");
+ engrave_part_state_color_get(Cur.eps,&c.r,&c.g,&c.b,&c.a);
+ etk_colorpicker_current_color_set(UI_ColorPicker, c);
+ break;
+  case COLOR_OBJECT_SHADOW:
+ etk_window_title_set(ETK_WINDOW(UI_ColorWin), "Shadow color");
+ engrave_part_state_color2_get(Cur.eps,&c.r,&c.g,&c.b,&c.a);
+ etk_colorpicker_current_color_set(UI_ColorPicker, c);
+ break;
+  case COLOR_OBJECT_OUTLINE:
+ etk_window_title_set(ETK_WINDOW(UI_ColorWin), "Outline color");
+ engrave_part_state_color3_get(Cur.eps,&c.r,&c.g,&c.b,&c.a);
+ etk_colorpicker_current_color_set(UI_ColorPicker, c);
+ break;
+   }
+   etk_signal_unblock("color_changed", ETK_OBJECT(UI_ColorPicker), 
ETK_CALLBACK(on_ColorDialog_change));
 }
 
 void
@@ -705,39 +729,33 @@
 
 }
 
-void on_ColorDialog_change(Etk_Object *object, void *data){
+void
+on_ColorDialog_change(Etk_Object *object, void *data)
+{
printf("ColorChangeSignal on ColorDialog EMITTED\n");
-   /* Etk_Color color;
+   Etk_Color color;
 
 

E CVS: e kwo

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/po


Modified Files:
bg.po bs.po da.po de.po en_US.po es.po fr.po hu.po ja.po ko.po 
nl.po no.po pl.po pt.po pt_BR.po ru.po sv.po tr.po 


Log Message:
Update po.




-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: e kwo

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/src


Modified Files:
actions.c file.c file.h main.c menus-misc.c menus.c theme.c 


Log Message:
Refactor various file property test functions.

===
RCS file: /cvs/e/e16/e/src/actions.c,v
retrieving revision 1.212
retrieving revision 1.213
diff -u -3 -r1.212 -r1.213
--- actions.c   13 Jan 2007 19:14:26 -  1.212
+++ actions.c   15 Jan 2007 02:43:53 -  1.213
@@ -67,11 +67,8 @@
 
sh = usershell(getuid());
 
-   path = pathtoexec(exe);
-   if (path)
+   if (path_canexec(exe))
  {
-   Efree(path);
-
real_exec = Emalloc(strlen(params) + 6);
if (!real_exec)
   return -1;
@@ -83,7 +80,7 @@
 
if (!Mode.wm.startup)
  {
-   path = pathtofile(exe);
+   path = path_test(exe, EFILE_ANY);
if (!path)
  {
 /* absolute path */
===
RCS file: /cvs/e/e16/e/src/file.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -3 -r1.77 -r1.78
--- file.c  13 Jan 2007 19:14:27 -  1.77
+++ file.c  15 Jan 2007 02:43:53 -  1.78
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various 
contributors
+ * Copyright (C) 2007 Kim Woelders
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to
@@ -123,113 +124,41 @@
unlink(s);
 }
 
-#if 0  /* Unused */
-void
-E_cp(const char *s, const char *ss)
-{
-   int i;
-   FILE   *f, *ff;
-   unsigned char   buf[1];
-
-   if ((!s) || (!ss) || (!*s) || (!*ss))
-  return;
-   if (!exists(s))
-  return;
-   i = filesize(s);
-   f = fopen(s, "r");
-   if (!f)
-  return;
-   ff = fopen(ss, "w");
-   if (!ff)
- {
-   fclose(f);
-   return;
- }
-   while (fread(buf, 1, 1, f))
-  fwrite(buf, 1, 1, ff);
-   fclose(f);
-   fclose(ff);
-}
-#endif
-
-#if 0  /* Unused */
-char   *
-cwd(void)
-{
-   char   *s;
-   charss[FILEPATH_LEN_MAX];
-
-   getcwd(ss, FILEPATH_LEN_MAX);
-   s = Estrdup(ss);
-   return s;
-}
-#endif
-
 int
-exists(const char *s)
+file_test(const char *s, unsigned int test)
 {
struct stat st;
+   int mode;
 
-   if ((!s) || (!*s))
-  return 0;
-   if (stat(s, &st) < 0)
-  return 0;
-   return 1;
-}
-
-int
-isdir(const char *s)
-{
-   struct stat st;
-
-   if ((!s) || (!*s))
-  return 0;
-   if (stat(s, &st) < 0)
-  return 0;
-   if (S_ISDIR(st.st_mode))
-  return 1;
-   return 0;
-}
-
-int
-isfile(const char *s)
-{
-   struct stat st;
-
-   if ((!s) || (!*s))
-  return 0;
-   if (stat(s, &st) < 0)
-  return 0;
-   if (S_ISREG(st.st_mode))
-  return 1;
-   return 0;
-}
-
-int
-canread(const char *s)
-{
-   if ((!s) || (!*s))
-  return 0;
-
-   return 1 + access(s, R_OK);
-}
-
-int
-canwrite(const char *s)
-{
-   if ((!s) || (!*s))
+   if (!s || !*s)
   return 0;
 
-   return 1 + access(s, W_OK);
-}
-
-int
-canexec(const char *s)
-{
-   if ((!s) || (!*s))
-  return 0;
+#define EFILE_ALL (EFILE_ANY | EFILE_REG | EFILE_DIR)
+   if (test & EFILE_ALL)
+ {
+   if (stat(s, &st) < 0)
+  return 0;
+   if ((test & EFILE_REG) && !S_ISREG(st.st_mode))
+  return 0;
+   if ((test & EFILE_DIR) && !S_ISDIR(st.st_mode))
+  return 0;
+ }
+
+#define EPERM_ALL (EPERM_R | EPERM_W | EPERM_X)
+   if (test & EPERM_ALL)
+ {
+   mode = 0;
+   if (test & EPERM_R)
+  mode |= R_OK;
+   if (test & EPERM_W)
+  mode |= W_OK;
+   if (test & EPERM_X)
+  mode |= X_OK;
+   if (access(s, mode))
+  return 0;
+ }
 
-   return 1 + access(s, X_OK);
+   return 1;
 }
 
 time_t
@@ -312,7 +241,7 @@
 }
 
 const char *
-FileExtension(const char *file)
+fileext(const char *file)
 {
const char *p;
 
@@ -348,115 +277,57 @@
 }
 
 char   *
-pathtoexec(const char *file)
+path_test(const char *file, unsigned int test)
 {
-   char   *p, *cp, *ep;
-   char   *s;
-   int len, exelen;
+   char   *cp, *ep;
+   char   *s, *p;
+   unsigned intlen, exelen;
+
+   if (!file)
+  return NULL;
 
if (isabspath(file))
  {
-   if (canexec(file))
+   if (file_test(file, test))
   return Estrdup(file);
return NULL;
  }
-   p = getenv("PATH");
-   if (!p)
+   cp = getenv("PATH");
+   if (!cp)
   return Estrdup(file);
-   if (!file)
-  return NULL;
 
-   cp = p;
exelen = strlen(file);
-   while ((ep = strchr(cp, ':')) != NULL)
- {
-   len = ep - cp;
-   s = Emalloc(len + 1);
-   i

E CVS: libs/ewl doursse

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_tree2.c 


Log Message:
add a warning when a model is expandable, but no expansion_data_fetch is 
provided.

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_tree2.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -3 -r1.49 -r1.50
--- ewl_tree2.c 14 Jan 2007 23:11:03 -  1.49
+++ ewl_tree2.c 15 Jan 2007 02:24:40 -  1.50
@@ -824,6 +824,12 @@
Ewl_Tree2_Branch_Cache *tmp;
int hidden = TRUE;
 
+   if (!col->model->expansion_data)
+   {
+   DWARNING("In ewl_tree2_build_tree_rows, model 
expandable but without expansion_data_fetch cb.");
+   DRETURN(DLEVEL_STABLE);
+   }
+
tmp = NEW(Ewl_Tree2_Branch_Cache, 1);
tmp->data = col->model->expansion_data(curbranch->data, 
i);
tmp->row_count = 0;



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: e kwo

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/src


Modified Files:
ewins.c 


Log Message:
Add more sanity checks in client container event handler.

===
RCS file: /cvs/e/e16/e/src/ewins.c,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -3 -r1.188 -r1.189
--- ewins.c 15 Jan 2007 00:29:17 -  1.188
+++ ewins.c 15 Jan 2007 02:19:05 -  1.189
@@ -2069,30 +2069,49 @@
  case ButtonPress:
FocusHandleClick(ewin, EwinGetContainerWin(ewin));
break;
+
  case MapRequest:
+   if (ev->xmaprequest.window != EwinGetClientXwin(ewin))
+  break;
EwinEventMapRequest(ewin, ev->xmaprequest.window);
break;
  case ConfigureRequest:
+   if (ev->xconfigurerequest.window != EwinGetClientXwin(ewin))
+  break;
EwinEventConfigureRequest(ewin, ev);
break;
  case ResizeRequest:
+   if (ev->xresizerequest.window != EwinGetClientXwin(ewin))
+  break;
EwinEventResizeRequest(ewin, ev);
break;
  case CirculateRequest:
+   if (ev->xcirculaterequest.window != EwinGetClientXwin(ewin))
+  break;
EwinEventCirculateRequest(ewin, ev);
break;
 
  case DestroyNotify:
+   if (ev->xdestroywindow.window != EwinGetClientXwin(ewin))
+  break;
EwinEventDestroy(ewin);
break;
 
  case EX_EVENT_UNMAP_GONE:
+   if (ev->xunmap.window != EwinGetClientXwin(ewin))
+  break;
EoSetGone(ewin);
+   goto do_unmap;
  case UnmapNotify:
+   if (ev->xunmap.window != EwinGetClientXwin(ewin))
+  break;
+  do_unmap:
EwinEventUnmap(ewin, ev);
break;
 
  case MapNotify:
+   if (ev->xmap.window != EwinGetClientXwin(ewin))
+  break;
EwinEventMap(ewin, ev);
break;
 



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: e kwo

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/src


Modified Files:
ewins.c 


Log Message:
Fix segv in some obscure client exit scenarios involving reparent/destroy.

===
RCS file: /cvs/e/e16/e/src/ewins.c,v
retrieving revision 1.187
retrieving revision 1.188
diff -u -3 -r1.187 -r1.188
--- ewins.c 13 Jan 2007 19:14:27 -  1.187
+++ ewins.c 15 Jan 2007 00:29:17 -  1.188
@@ -64,6 +64,8 @@
 static void EwinHandleEventsContainer(Win win, XEvent * ev, void *prm);
 static void EwinHandleEventsClient(Win win, XEvent * ev, void *prm);
 
+static void EwinUnmap2(EWin * ewin);
+
 Window
 EwinGetClientXwin(const EWin * ewin)
 {
@@ -354,6 +356,9 @@
if (!ewin)
   return;
 
+   if (ewin->state.state == EWIN_STATE_MAPPED)
+  EwinUnmap2(ewin);
+
if (EDebug(EDBUG_TYPE_EWINS))
   Eprintf("EwinDestroy %#lx st=%d: %s\n", EwinGetClientXwin(ewin),
  ewin->state.state, EwinGetTitle(ewin));
@@ -2092,8 +2097,14 @@
break;
 
  case EX_EVENT_REPARENT_GONE:
+   if (ev->xreparent.window != EwinGetClientXwin(ewin))
+  break;
EoSetGone(ewin);
+   goto do_reparent;
  case ReparentNotify:
+   if (ev->xreparent.window != EwinGetClientXwin(ewin))
+  break;
+  do_reparent:
EwinEventReparent(ewin);
break;
 



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_paned.c ewl_tree2.c 


Log Message:
- fix selection in tree2

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_paned.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- ewl_paned.c 9 Jan 2007 06:11:40 -   1.40
+++ ewl_paned.c 14 Jan 2007 23:11:03 -  1.41
@@ -708,15 +708,28 @@
 }
 
 static void
-ewl_paned_grabber_cb_mouse_down(Ewl_Widget *w, void *ev __UNUSED__,
+ewl_paned_grabber_cb_mouse_down(Ewl_Widget *w, void *ev,
void *data __UNUSED__)
 {
+   Ewl_Paned *p;
+   Ewl_Event_Mouse_Down *event;
+   int ds;
+
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("w", w);
DCHECK_TYPE("w", w, EWL_WIDGET_TYPE);
 
+   event = ev;
+   p = EWL_PANED(w->parent);
+
+   if (ewl_paned_orientation_get(p) == EWL_ORIENTATION_HORIZONTAL)
+   ds = CURRENT_X(w) - event->x;
+   else
+   ds = CURRENT_Y(w) - event->y;
+   
ewl_callback_append(w, EWL_CALLBACK_MOUSE_MOVE,
-   ewl_paned_grabber_cb_mouse_move, NULL);
+   ewl_paned_grabber_cb_mouse_move, 
+   (void *) ds);
ewl_widget_state_set(w, "selected", EWL_STATE_PERSISTENT);
 
DLEAVE_FUNCTION(DLEVEL_STABLE);
@@ -738,19 +751,20 @@
 }
 
 static void
-ewl_paned_grabber_cb_mouse_move(Ewl_Widget *w, void *ev,
-   void *data __UNUSED__)
+ewl_paned_grabber_cb_mouse_move(Ewl_Widget *w, void *ev, void *data)
 {
Ewl_Event_Mouse_Move *e;
Ewl_Paned_Grabber *stop_grabber = NULL;
-   Ewl_Widget *shrink = NULL, *grow = NULL, *child;
+   Ewl_Widget *child;
Ewl_Container *c;
Ewl_Paned *p;
-   int cur_pos, amt, block_pos, grab_size, pos, cur_size = 0;
-   int new_size, left, min, shrink_size, move_pos;
-   int pane_pos, pane_size, pane_position;
-   void *(*give_to)(Ecore_DList *list);
-   void *(*take_from)(Ecore_DList *list);
+   Ewl_Widget *left_pane = NULL, *right_pane = NULL;
+
+   int paned_pos, paned_size;
+   int left_grabber_pos, right_grabber_pos;
+   int grabber_pos, grabber_size;
+   int mouse_pos, mouse_vec, mouse_offset;
+   int grabber_pos_new;

DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("w", w);
@@ -760,49 +774,41 @@
e = ev;
p = EWL_PANED(w->parent);
c = EWL_CONTAINER(p);
+   mouse_offset = (int) data;
 
if (ewl_paned_orientation_get(p) == EWL_ORIENTATION_HORIZONTAL)
{
layout = horizontal_layout;
-   move_pos = e->x;
-   pane_position = CURRENT_X(p);
-   pane_size = CURRENT_W(p);
+   mouse_pos = e->x;
+   paned_pos = CURRENT_X(p);
+   paned_size = CURRENT_W(p);
}
else
{
layout = vertical_layout;
-   move_pos = e->y;
-   pane_position = CURRENT_Y(p);
-   pane_size = CURRENT_H(p);
+   mouse_pos = e->y;
+   paned_pos = CURRENT_Y(p);
+   paned_size = CURRENT_H(p);
}
 
-   cur_pos = layout->current_position(EWL_OBJECT(w));
-
-   /* shifting left */
-   if ((cur_pos - move_pos) > 0)
-   {
-   give_to = ecore_dlist_next;
-   take_from = ecore_dlist_previous;
-   amt = cur_pos - move_pos;
-   left = 1;
-   }
-   else if ((cur_pos - move_pos) < 0)
-   {
-   give_to = ecore_dlist_previous;
-   take_from = ecore_dlist_next;
-   amt = move_pos - cur_pos;
-   left = 0;
-   }
-   else
+   grabber_pos = layout->current_position(EWL_OBJECT(w));
+   grabber_size = layout->current_size(EWL_OBJECT(w));
+
+   /* 
+* this is the vector pointing from the left edge of the grabber
+* to the mouse position, so is it neagtive the grabber will
+* be moved to the left side and is it positiv to the right
+*/
+   mouse_vec = mouse_pos - grabber_pos + mouse_offset;
+   if (mouse_vec == 0)
DRETURN(DLEVEL_STABLE);
 
-   /* find the pane we are shifting into and the grabber
-* blockign us */
+   /* find the left grabber that is blocking us */
ecore_dlist_goto(c->children, w);
 
/* move past the selected grabber */
-   take_from(c->children);
-   while ((child = take_from(c->children)))
+   ecore_dlist_previous(c->children);
+   while ((child = ecore_dlist_previous(c->children)))
{
if (!VISIBLE(child)) continue;
 
@@ -812,94 +818,104 @@
break;

E CVS: libs/etk-perl leviathan

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : libs/etk-perl

Dir : e17/libs/etk-perl/lib/Etk


Modified Files:
Constants.pm Simple.pm 


Log Message:
-fix Widget: lots of old stuff deleted, added some functions

===
RCS file: /cvs/e/e17/libs/etk-perl/lib/Etk/Constants.pm,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- Constants.pm14 Jan 2007 20:03:16 -  1.12
+++ Constants.pm14 Jan 2007 21:10:43 -  1.13
@@ -60,6 +60,7 @@
entry   => [qw/ImagePrimary ImageSecondary/],
popupwindow => [qw/BelowRight BelowLeft AboveRight AboveLeft/],
window  => [qw/Normal Above Below/],
+   swallow => [qw/None IncompatibleParent NotRealized NoPart/],
);
 
 my @all = ();
@@ -294,4 +295,9 @@
Below=>2
 };
 
-
+# swallow errors
+use constant {
+   IncompatibleParent=>1,
+   NotRealized=>2,
+   NoPart=>3
+};
===
RCS file: /cvs/e/e17/libs/etk-perl/lib/Etk/Simple.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- Simple.pm   30 Dec 2006 09:18:23 -  1.3
+++ Simple.pm   14 Jan 2007 21:10:43 -  1.4
@@ -45,7 +45,8 @@
if (defined $arg2) {
return NewFromEdje($arg1, $arg2);
} else {
-   return NewFromFile($arg1);
+   # XXX oops... from file requires a key now
+   return NewFromFile($arg1, ""); 
}
}
}



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/etk-perl leviathan

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : libs/etk-perl

Dir : e17/libs/etk-perl


Modified Files:
Etk.xs TODO typemap 


Log Message:
-fix Widget: lots of old stuff deleted, added some functions

===
RCS file: /cvs/e/e17/libs/etk-perl/Etk.xs,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -3 -r1.75 -r1.76
--- Etk.xs  14 Jan 2007 20:37:10 -  1.75
+++ Etk.xs  14 Jan 2007 21:10:43 -  1.76
@@ -4993,13 +4993,6 @@
   ALIAS:
ClipUnset=1
 
-void
-etk_widget_clipboard_received(widget, event)
-   Etk_Widget *widget
-   Etk_Event_Selection_Request *   event
-  ALIAS:
-   ClipboardReceived=1
-
 Etk_Bool
 etk_widget_dnd_dest_get(widget)
Etk_Widget *widget
@@ -5250,31 +5243,12 @@
IsSwallowed=1
 
 Etk_Bool
-etk_widget_is_swallowing_object(widget, object)
-   Etk_Widget *widget
-   Evas_Object *   object
-  ALIAS:
-   IsSwallowingObject=1
-
-Etk_Bool
-etk_widget_is_swallowing_widget(widget, swallowed_widget)
-   Etk_Widget *widget
-   Etk_Widget *swallowed_widget
-  ALIAS:
-   IsSwallowingWidget=1
-
-Etk_Bool
 etk_widget_is_visible(widget)
Etk_Widget *widget
   ALIAS:
IsVisible=1
 
 void
-etk_widget_key_event_propagation_stop()
-  ALIAS:
-   KeyEventPropagationStop=1
-
-void
 etk_widget_leave(widget)
Etk_Widget *widget
   ALIAS:
@@ -5331,13 +5305,6 @@
MemberObjectStackBelow=1
 
 Etk_Widget *
-etk_widget_new(widget_type, first_property, ...)
-   Etk_Type *  widget_type
-   char *  first_property
-  ALIAS:
-   New=1
-
-Etk_Widget *
 etk_widget_parent_get(widget)
Etk_Widget *widget
   ALIAS:
@@ -5397,13 +5364,6 @@
RepeatMouseEventsSet=1
 
 void
-etk_widget_selection_received(widget, event)
-   Etk_Widget *widget
-   Etk_Event_Selection_Request *   event
-  ALIAS:
-   SelectionReceived=1
-
-void
 etk_widget_show(widget)
Etk_Widget *widget
   ALIAS:
@@ -5485,58 +5445,6 @@
   ALIAS:
ThemeGroupSet=1
 
-int
-etk_widget_theme_object_data_get(widget, data_name, format, ...)
-   Etk_Widget *widget
-   char *  data_name
-   char * format   
-  ALIAS:
-   ThemeObjectDataGet=1
-
-void
-etk_widget_theme_object_min_size_calc(widget)
-   Etk_Widget *widget
-  ALIAS:
-   ThemeObjectMinSizeCalc=1
-   PPCODE:
-   int w;
-   int h;
-
-   etk_widget_theme_object_min_size_calc(widget, &w, &h);
-   EXTEND(SP, 2);
-   PUSHs(sv_2mortal(newSViv(w)));
-   PUSHs(sv_2mortal(newSViv(h)));
-
-void
-etk_widget_theme_object_part_text_set(widget, part_name, text)
-   Etk_Widget *widget
-   char *  part_name
-   char *  text
-  ALIAS:
-   ThemeObjectPartTextSet=1
-
-void
-etk_widget_theme_object_signal_emit(widget, signal_name)
-   Etk_Widget *widget
-   char *  signal_name
-  ALIAS:
-   ThemeObjectSignalEmit=1
-
-Etk_Bool
-etk_widget_theme_object_swallow(swallowing_widget, part, object)
-   Etk_Widget *swallowing_widget
-   char *  part
-   Evas_Object *   object
-  ALIAS:
-   ThemeObjectSwallow=1
-
-void
-etk_widget_theme_object_unswallow(swallowing_widget, object)
-   Etk_Widget *swallowing_widget
-   Evas_Object *   object
-  ALIAS:
-   ThemeObjectUnswallow=1
-
 Etk_Widget *
 etk_widget_theme_parent_get(widget)
Etk_Widget *widget
@@ -5593,6 +5501,74 @@
Etk_Boolinternal
   ALIAS:
InternalSet=1
+
+void
+etk_widget_padding_set(widget, left, right, top, bottom)
+   Etk_Widget *widget
+   int left
+   int right
+   int top
+   int bottom
+   ALIAS:
+   PaddingSet=1
+
+void
+etk_widget_padding_get(widget)
+   Etk_Widget *widget
+   ALIAS:
+   PaddingGet=1
+   PPCODE:
+   int left, right, top, bottom;
+   etk_widget_padding_get(widget, &left, &right, &top, &bottom);
+   EXTEND(SP, 4);
+   PUSHs(sv_2mortal(newSViv(left)));
+   PUSHs(sv_2mortal(newSViv(right)));
+   PUSHs(sv_2mortal(newSViv(top)));
+   PUSHs(sv_2mortal(newSViv(bottom)));
+
+void
+etk_widget_theme_set(widget, theme_file, theme_group)
+   Etk_Widget *widget
+   const char *theme_file
+   const char *theme_group
+   ALIAS:
+   ThemeSet=1
+   
+void
+etk_widget_theme_signal_emit(widget, signal_name, size_recalc)
+   Etk_Widget *widget
+   const char *signal_name
+   Etk_Boolsize_recalc
+   ALIAS:
+   ThemeSignalEmit=1
+
+void
+etk_widget_theme_part_text_set(widget, part_name, text)
+   Etk_Widget *widget
+   const char *part_name
+   char *  text
+   ALIAS:
+   ThemePartTextSet=1
+   
+Etk_Bool
+etk_widget_swallow_

E CVS: libs/etk-perl leviathan

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : libs/etk-perl

Dir : e17/libs/etk-perl


Modified Files:
Etk.xs 


Log Message:
-Add missing Object functions

===
RCS file: /cvs/e/e17/libs/etk-perl/Etk.xs,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -3 -r1.74 -r1.75
--- Etk.xs  14 Jan 2007 20:31:29 -  1.74
+++ Etk.xs  14 Jan 2007 20:37:10 -  1.75
@@ -3000,6 +3000,21 @@
   ALIAS:
NameSet=1
 
+void
+etk_object_destroy(object)
+   Etk_Object *object
+   ALIAS:
+   Destroy=1
+
+void
+etk_object_shutdown()
+   ALIAS:
+   Shutdown=1
+
+void
+etk_object_purge()
+   ALIAS:
+   Purge=1
 
 MODULE = Etk::PanedPACKAGE = Etk::PanedPREFIX = etk_paned_




-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/etk-perl leviathan

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : libs/etk-perl

Dir : e17/libs/etk-perl


Modified Files:
Etk.xs 


Log Message:
-Add missing Combobox functions

===
RCS file: /cvs/e/e17/libs/etk-perl/Etk.xs,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -3 -r1.73 -r1.74
--- Etk.xs  14 Jan 2007 20:22:24 -  1.73
+++ Etk.xs  14 Jan 2007 20:31:29 -  1.74
@@ -916,6 +916,12 @@
ItemHeightSet=1
 
 int
+etk_combobox_active_item_nth_get(combobox)
+   Etk_Combobox *  combobox
+   ALIAS:
+   ActiveItemNthGet=1
+   
+int
 etk_combobox_item_height_get(combobox)
Etk_Combobox *  combobox
   ALIAS:
@@ -1273,14 +1279,6 @@
DataSet=1
   CODE:
 etk_combobox_item_data_set(ETK_COMBOBOX_ITEM(item), newSVsv(data));
-
-void
-etk_combobox_item_data_set_full(item, data, free_cb)
-   Etk_Combobox_Item * item
-   void *  data
-   void ( * ) ( void * data ) free_cb
-  ALIAS:
-   DataSetFull=1
 
 void
 etk_combobox_item_remove(combobox, item)



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/etk-perl leviathan

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : libs/etk-perl

Dir : e17/libs/etk-perl


Modified Files:
Etk.xs typemap 


Log Message:
-Add missing Window functions

===
RCS file: /cvs/e/e17/libs/etk-perl/Etk.xs,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -3 -r1.71 -r1.72
--- Etk.xs  14 Jan 2007 19:53:23 -  1.71
+++ Etk.xs  14 Jan 2007 20:03:16 -  1.72
@@ -5716,19 +5716,6 @@
IconifiedGet=1
 
 Etk_Bool
-etk_window_dnd_aware_get(window)
-   Etk_Window *window
-  ALIAS:
-   DndAwareGet=1
-
-void
-etk_window_dnd_aware_set(window, on)
-   Etk_Window *window
-   Etk_Boolon
-  ALIAS:
-   DndAwareSet=1
-
-Etk_Bool
 etk_window_focused_get(window)
Etk_Window *window
   ALIAS:
@@ -5893,6 +5880,26 @@
char *  window_class
   ALIAS:
WmclassSet=1
+
+void
+etk_window_delete_request(window)
+   Etk_Window *window
+   ALIAS:
+   DeleteRequest=1
+
+void
+etk_window_stacking_set(window, stacking)
+   Etk_Window *window
+   Etk_Window_Stacking stacking
+   ALIAS:
+   StackingSet=1
+
+Etk_Window_Stacking
+etk_window_stacking_get(window)
+   Etk_Window *window
+   ALIAS:
+   StackingGet=1
+
 
 MODULE = Etk::Spinner  PACKAGE = Etk::Spinner  PREFIX = etk_spinner_
 
===
RCS file: /cvs/e/e17/libs/etk-perl/typemap,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- typemap 14 Jan 2007 19:09:26 -  1.27
+++ typemap 14 Jan 2007 20:03:16 -  1.28
@@ -115,6 +115,7 @@
 Etk_Type **T_PTROBJ
 Etk_Widget *   T_PTR_WIDGET
 Etk_Window *   T_PTROBJ_ETK
+Etk_Window_StackingT_IV
 Evas * T_PTROBJ
 Evas_List *T_PTROBJ_EVAS_LIST
 Evas_List **   T_PTROBJ



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/etk-perl leviathan

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : libs/etk-perl

Dir : e17/libs/etk-perl


Modified Files:
Etk.xs 


Log Message:
-Add missing Menu* functions

===
RCS file: /cvs/e/e17/libs/etk-perl/Etk.xs,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -3 -r1.72 -r1.73
--- Etk.xs  14 Jan 2007 20:03:16 -  1.72
+++ Etk.xs  14 Jan 2007 20:22:24 -  1.73
@@ -2407,6 +2407,11 @@
   ALIAS:
SubmenuSet=1
 
+Etk_Menu *
+etk_menu_item_submenu_get(menu_item)
+   Etk_Menu_Item * menu_item
+   ALIAS:
+   SubmenuGet=1
 
 
 MODULE = Etk::Menu::Item::CheckPACKAGE = Etk::Menu::Item::Check
PREFIX = etk_menu_item_check_
@@ -2487,7 +2492,7 @@
 new(class)
SV * class
CODE:
-   RETVAL = ETK_MENU_ITEM_RADIO(etk_menu_item_new());
+   RETVAL = ETK_MENU_ITEM_RADIO(etk_menu_item_radio_new(NULL));
OUTPUT:
RETVAL

@@ -2563,6 +2568,28 @@
int y
   ALIAS:
PopupAtXy=1
+
+void
+etk_menu_popup_in_direction(menu, direction)
+   Etk_Menu *menu
+   Etk_Popup_Direction direction
+   ALIAS:
+   PopupInDirection=1
+   
+void
+etk_menu_popup_at_xy_in_direction(menu, x, y, direction)
+   Etk_Menu *menu
+   int x
+   int y
+   Etk_Popup_Direction direction
+   ALIAS:
+   PopupAtXYInDirection=1
+
+Etk_Menu_Item *
+etk_menu_parent_item_get(menu)
+   Etk_Menu *menu
+   ALIAS:
+   ParentItemGet=1
 
 
 MODULE = Etk::Menu::Shell  PACKAGE = Etk::Menu::Shell  PREFIX = 
etk_menu_shell_



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto doursse

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : proto

Dir : e17/proto/epdf/src/bin


Modified Files:
epdf_etk_test.c 


Log Message:
fix policy and header name

===
RCS file: /cvs/e/e17/proto/epdf/src/bin/epdf_etk_test.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- epdf_etk_test.c 13 Jan 2007 19:51:24 -  1.5
+++ epdf_etk_test.c 14 Jan 2007 20:22:11 -  1.6
@@ -63,7 +63,7 @@
 etk_tree2_multiple_select_set (ETK_TREE2 (tree), ETK_FALSE);
 
 /* column */
-col = etk_tree2_col_new (ETK_TREE2 (tree), "Column", 130, 0.0);
+col = etk_tree2_col_new (ETK_TREE2 (tree), "Index", 130, 0.0);
 etk_tree2_col_model_add (col, etk_tree2_model_text_new());
 
 etk_tree2_build (ETK_TREE2 (tree));
@@ -114,7 +114,9 @@
 etk_table_attach_default (ETK_TABLE (table), list, 0, 0, 0, 1);
   etk_widget_show (list);
 
-  etk_table_attach_default (ETK_TABLE (table), pdf, 1, 1, 0, 1);
+  etk_table_attach (ETK_TABLE (table), pdf,
+1, 1, 0, 1,
+0, 0, ETK_TABLE_NONE);
   etk_widget_show (pdf);
   
   etk_widget_show (window);



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/emphasis lok

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : lok
Project : e17
Module  : apps/emphasis

Dir : e17/apps/emphasis


Modified Files:
TODO 


Log Message:
don't commit old TODO

===
RCS file: /cvs/e/e17/apps/emphasis/TODO,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- TODO14 Jan 2007 19:27:43 -  1.7
+++ TODO14 Jan 2007 19:49:02 -  1.8
@@ -1,12 +1,4 @@
-== Details ==
--Updater/completer cette doc !
--Revoir le "namespace" des fonctions
--Trier les callbacks (soit des emphasis_`part`_callback.c soit dans les 
fichiers emphasis_`part`.c)
--Emphasis_Song dans data_list et convert_mpd_song dans convert ?
--Faire une routine de quit qui prend en param Emphasis_Gui *gui
-
 == Bugfix ==
--Un-Leak the writing of the config << up-to-date?
 -Change prototypes of row_clicked callbacks
 -Fixe cover "refresh" (sometime)
 
@@ -19,6 +11,7 @@
 *Add support of ID3 covers and path choose for cover
 *Grab media-keys 
 *Add lyrics
+*Update the doc !
 
-== Later ==
+== Dream ==
 *Support XMMS 2 (later later later)



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/etk-perl leviathan

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : libs/etk-perl

Dir : e17/libs/etk-perl/lib/Etk


Modified Files:
Constants.pm 


Log Message:
-Add missing Window functions

===
RCS file: /cvs/e/e17/libs/etk-perl/lib/Etk/Constants.pm,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- Constants.pm14 Jan 2007 19:09:26 -  1.11
+++ Constants.pm14 Jan 2007 20:03:16 -  1.12
@@ -59,6 +59,7 @@
image   => [qw/ImageFile ImageEdje ImageStock ImageEvasObject 
ImageData/],
entry   => [qw/ImagePrimary ImageSecondary/],
popupwindow => [qw/BelowRight BelowLeft AboveRight AboveLeft/],
+   window  => [qw/Normal Above Below/],
);
 
 my @all = ();
@@ -285,3 +286,12 @@
AboveRight=>2,
AboveLeft=>3
 };
+
+# window stacking
+use constant {
+   Normal=>0,
+   Above=>1,
+   Below=>2
+};
+
+



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/etk-perl leviathan

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : libs/etk-perl

Dir : e17/libs/etk-perl


Modified Files:
Etk.xs 


Log Message:
-Add missing Toplevel widget functions

===
RCS file: /cvs/e/e17/libs/etk-perl/Etk.xs,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -3 -r1.70 -r1.71
--- Etk.xs  14 Jan 2007 19:39:40 -  1.70
+++ Etk.xs  14 Jan 2007 19:53:23 -  1.71
@@ -3879,7 +3879,7 @@
CharSizeGet=1
PPCODE:
int w, h;
-   etk_textblock_char_size_get(eva, font_face, font_size, &w, &h);
+   etk_textblock_char_size_get(evas, font_face, font_size, &w, &h);
EXTEND(SP, 2);
PUSHs(sv_2mortal(newSViv(w)));
PUSHs(sv_2mortal(newSViv(h)));
@@ -4036,9 +4036,9 @@
TipSet=1
 
 Etk_Bool
-etk_tooltips_enabled_get()
+etk_tooltips_tip_visible()
   ALIAS:
-   EnabledGet=1
+   TipVisible=1
 
 
 MODULE = Etk::Toplevel PACKAGE = Etk::Toplevel PREFIX = etk_toplevel_
@@ -4075,23 +4075,6 @@
FocusedWidgetSet=1
 
 void
-etk_toplevel_geometry_get(toplevel_widget, x, y, w, h)
-   Etk_Toplevel *  toplevel_widget
-  ALIAS:
-   GeometryGet=1
-   PPCODE:
-   int x;
-   int y;
-   int w;
-   int h;
-   etk_toplevel_geometry_get(toplevel_widget, &x, &y, &w, &h);
-   EXTEND(SP, 4);
-   PUSHs(sv_2mortal(newSViv(x)));
-   PUSHs(sv_2mortal(newSViv(y)));
-   PUSHs(sv_2mortal(newSViv(w)));
-   PUSHs(sv_2mortal(newSViv(h)));
-
-void
 etk_toplevel_pointer_pop(toplevel_widget, pointer_type)
Etk_Toplevel *  toplevel_widget
Etk_Pointer_Typepointer_type
@@ -4104,6 +4087,47 @@
Etk_Pointer_Typepointer_type
   ALIAS:
PointerPush=1
+
+void
+etk_toplevel_evas_position_get(toplevel)
+   Etk_Toplevel *  toplevel
+   ALIAS:
+   EvasPositionGet=1
+   PPCODE:
+   int x, y;
+   etk_toplevel_evas_position_get(toplevel, &x, &y);
+   EXTEND(SP, 2);
+   PUSHs(sv_2mortal(newSViv(x)));
+   PUSHs(sv_2mortal(newSViv(y)));
+
+void
+etk_toplevel_screen_position_get(toplevel)
+   Etk_Toplevel *  toplevel
+   ALIAS:
+   ScreenPositionGet=1
+   PPCODE:
+   int x, y;
+   etk_toplevel_screen_position_get(toplevel, &x, &y);
+   EXTEND(SP, 2);
+   PUSHs(sv_2mortal(newSViv(x)));
+   PUSHs(sv_2mortal(newSViv(y)));
+
+void
+etk_toplevel_size_get(toplevel)
+   Etk_Toplevel *  toplevel
+   ALIAS:
+   SizeGet=1
+   PPCODE:
+   int w, h;
+   etk_toplevel_size_get(toplevel, &w, &h);
+   EXTEND(SP, 2);
+   PUSHs(sv_2mortal(newSViv(w)));
+   PUSHs(sv_2mortal(newSViv(h)));
+
+Evas_List *
+etk_toplevel_widgets_get()
+   ALIAS:
+   WidgetsGet=1
 
 
 MODULE = Etk::Tree PACKAGE = Etk::Tree PREFIX = etk_tree_



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/etk-perl leviathan

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : libs/etk-perl

Dir : e17/libs/etk-perl


Modified Files:
Etk.xs 


Log Message:
-Add missing Spinner functions

===
RCS file: /cvs/e/e17/libs/etk-perl/Etk.xs,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -3 -r1.68 -r1.69
--- Etk.xs  14 Jan 2007 19:09:26 -  1.68
+++ Etk.xs  14 Jan 2007 19:29:47 -  1.69
@@ -5859,6 +5859,33 @@
ALIAS:
DigitsGet=1
 
+void
+etk_spinner_snap_to_ticks_set(spinner, snap)
+   Etk_Spinner * spinner
+   Etk_Boolsnap
+   ALIAS:
+   SnapToTicksSet=1
+
+Etk_Bool
+etk_spinner_snap_to_ticks_get(spinner)
+   Etk_Spinner * spinner
+   ALIAS:
+   SnapToTicksGet=1
+   
+void
+etk_spinner_wrap_set(spinner, wrap)
+   Etk_Spinner * spinner
+   Etk_Boolwrap
+   ALIAS:
+   WrapSet=1
+
+Etk_Bool
+etk_spinner_wrap_get(spinner)
+   Etk_Spinner * spinner
+   ALIAS:
+   WrapGet=1
+
+
 MODULE = Etk::Editable PACKAGE = Etk::Editable PREFIX = etk_editable_
 
 Evas_Object *



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/etk-perl leviathan

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : libs/etk-perl

Dir : e17/libs/etk-perl


Modified Files:
Etk.xs typemap 


Log Message:
-Add missing Popupwindow functions

===
RCS file: /cvs/e/e17/libs/etk-perl/Etk.xs,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -3 -r1.67 -r1.68
--- Etk.xs  14 Jan 2007 18:35:28 -  1.67
+++ Etk.xs  14 Jan 2007 19:09:26 -  1.68
@@ -2317,11 +2317,6 @@
Iterate=1
 
 void
-etk_main_iteration_queue()
-  ALIAS:
-   IterationQueue=1
-
-void
 etk_main_quit()
   ALIAS:
Quit=1
@@ -3095,6 +3090,36 @@
   ALIAS:
PopupAtXy=1
 
+void
+etk_popup_window_parent_set(popup_window, parent)
+   Etk_Popup_Window *  popup_window
+   Etk_Popup_Window *  parent
+   ALIAS:
+   ParentSet=1
+
+Etk_Popup_Window *
+etk_popup_window_parent_get(popup_window)
+   Etk_Popup_Window *  popup_window
+   ALIAS:
+   ParentGet=1
+
+void
+etk_popup_window_popup_in_direction(popup_window, direction)
+   Etk_Popup_Window *  popup_window
+   Etk_Popup_Direction direction
+   ALIAS:
+   PopupInDirection=1
+
+void
+etk_popup_window_popup_at_xy_in_direction(popup_window, x, y, direction)
+   Etk_Popup_Window *  popup_window
+   int x
+   int y
+   Etk_Popup_Direction direction
+   ALIAS:
+   PopupAtXYInDirection=1
+
+   
 MODULE = Etk::ProgressBar  PACKAGE = Etk::ProgressBar  PREFIX = 
etk_progress_bar_

 double
===
RCS file: /cvs/e/e17/libs/etk-perl/typemap,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- typemap 14 Jan 2007 18:35:28 -  1.26
+++ typemap 14 Jan 2007 19:09:26 -  1.27
@@ -61,6 +61,7 @@
 Etk_VPaned *   T_PTROBJ_ETK
 Etk_Pointer_Type   T_OPAQUE_STRUCT
 Etk_Popup_Window * T_PTROBJ_ETK
+Etk_Popup_DirectionT_IV
 Etk_Progress_Bar * T_PTROBJ_ETK
 Etk_Progress_Bar_Direction T_IV
 Etk_Property * T_PTROBJ



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/emphasis lok

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : lok
Project : e17
Module  : apps/emphasis

Dir : e17/apps/emphasis/src/bin


Modified Files:
emphasis_callbacks.c emphasis_callbacks.h 
emphasis_config_gui.c emphasis_cover_db.c emphasis_gui.c 
emphasis_media.c emphasis_mpc.c emphasis_mpc.h 
emphasis_player.c emphasis_player.h 


Log Message:
Another aji's patch :
Shuffle added.
A change in the config doesn't require to relaunch emphasis anymore.
Keybinding added on 'c' to clear the playlist.
Keybinding added on 's' to shuffle the playlist.
textblock bug solved.

===
RCS file: /cvs/e/e17/apps/emphasis/src/bin/emphasis_callbacks.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- emphasis_callbacks.c10 Jan 2007 01:12:53 -  1.15
+++ emphasis_callbacks.c14 Jan 2007 19:27:43 -  1.16
@@ -784,7 +784,7 @@
 cb_pls_contextual_menu(Etk_Object *object, Etk_Event_Mouse_Down *event,
void *data)
 {
-  UNUSED(object)
+  UNUSED(object);
   Emphasis_Gui *gui;
 
   gui = data;
@@ -802,21 +802,32 @@
 cb_playlist_clear(Etk_Object *object, Etk_Event_Mouse_Down *event,
   void *data)
 {
-  UNUSED(object)
-  UNUSED(event)
-  UNUSED(data)
+  UNUSED(object);
+  UNUSED(event);
+  UNUSED(data);
 
   mpc_playlist_clear();
 }
 
 /**
+ * * @brief Shuffle the playlist
+ */
+void
+cb_playlist_shuffle(Etk_Object *object, void *data)
+{
+  UNUSED_CLICKED_PARAM;
+  
+  mpc_playlist_shuffle();
+}
+
+/**
  * @brief Callback function of bindings key on the playlist
  */
 void
 cb_pls_bindings_key(Etk_Object *object, Etk_Event_Key_Down *event, 
 void *data)
 {
-  UNUSED(object)
+  UNUSED(object);
   Emphasis_Player_Gui *player;
   Evas_List *rowlist;
   Evas_List *list;
@@ -832,6 +843,20 @@
   mpc_playlist_delete(list);
 }
 }
+  else if(!strcmp(event->key, "c"))
+{
+  cb_playlist_clear(NULL,NULL,NULL);
+}
+  else if(!strcmp(event->key, "s"))
+{
+  cb_playlist_shuffle(NULL,NULL);
+}
+  /*
+  else if(!strcmp(event->key, "u"))
+{
+  cb_database_update(NULL, data);
+}
+  */
 }
 
 /**
@@ -840,7 +865,7 @@
 void
 cb_playlist_delete(Etk_Object *object, void *data)
 {
-  UNUSED(object)
+  UNUSED(object);
   Emphasis_Player_Gui *player;
   Evas_List *rowlist;
   Evas_List *list;
@@ -859,7 +884,7 @@
 void
 cb_database_update(Etk_Object *object, void *data)
 {
-  UNUSED(object)
+  UNUSED(object);
   Emphasis_Player_Gui *player;
   player = data;
 
@@ -896,7 +921,6 @@
 cb_switch_full(Etk_Object *object, void *data)
 {
   UNUSED(object);
-//  int x, y, w, h;
 
   Emphasis_Player_Gui *player;
   player = data;
@@ -907,7 +931,6 @@
 }
   player->state = EMPHASIS_FULL;
 
-//  etk_window_geometry_get(ETK_WINDOW(player->small.window), &x, &y, &w, &h);
   etk_widget_hide(player->small.window);
   etk_widget_hide(player->media.window);
   
@@ -920,14 +943,12 @@
   emphasis_player_toggle_full(player, ETK_TRUE);
 
   etk_widget_show(player->full.window);
-//  etk_window_move(ETK_WINDOW(player->full.window), x, y);
 }
 
 void
 cb_switch_small(Etk_Object *object, void *data)
 {
   UNUSED(object);
-//  int x, y, w, h;
 
   Emphasis_Player_Gui *player;
   player = data;
@@ -938,7 +959,6 @@
 }
   player->state = EMPHASIS_SMALL;
 
-//  etk_window_geometry_get(ETK_WINDOW(player->full.window), &x, &y, &w, &h);
   etk_widget_hide(player->full.window);
 
   etk_container_add(ETK_CONTAINER(player->media.window), player->media.root);
@@ -949,7 +969,6 @@
   etk_widget_show(player->media.window);
 }
   etk_widget_show(player->small.window);
-//  etk_window_move(ETK_WINDOW(player->small.window), x, y);
 }
 
 void
===
RCS file: /cvs/e/e17/apps/emphasis/src/bin/emphasis_callbacks.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- emphasis_callbacks.h30 Dec 2006 13:46:38 -  1.7
+++ emphasis_callbacks.h14 Jan 2007 19:27:43 -  1.8
@@ -50,6 +50,7 @@
 void cb_pls_bindings_key(Etk_Object *object, Etk_Event_Key_Down *event,
  void *data);
 void cb_playlist_delete(Etk_Object *object, void *data);
+void cb_playlist_shuffle(Etk_Object *object, void *data);
 void cb_database_update(Etk_Object *object, void *data);
 
 void cb_small_resize(Etk_Object *object, void *data);
===
RCS file: /cvs/e/e17/apps/emphasis/src/bin/emphasis_config_gui.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- emphasis_config_gui.c   30 Dec 2006 13:46:38 -  1.5
+++ emphasis_config_gui.c   14 Jan 2007 19:27:43 -  1.6
@@ -89,18 +89,33 @@
 emphasis_configgui_save(Emphasis_Config_Gui *configgui)
 {
   Emphasis_Config *config;
+  char *key = NULL, *value = NULL;
+  int reconnect = 0;
 
  

E CVS: libs/etk-perl leviathan

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : libs/etk-perl

Dir : e17/libs/etk-perl


Modified Files:
Etk.xs 


Log Message:
-Add missing Textblock functions
-Add theme missing functions

===
RCS file: /cvs/e/e17/libs/etk-perl/Etk.xs,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -3 -r1.69 -r1.70
--- Etk.xs  14 Jan 2007 19:29:47 -  1.69
+++ Etk.xs  14 Jan 2007 19:39:40 -  1.70
@@ -3792,12 +3792,6 @@
OUTPUT:
RETVAL
 
-void
-etk_textblock_unrealize(textblock)
-   Etk_Textblock * textblock
-  ALIAS:
-   Unrealize=1
-
 const char *
 etk_textblock_range_text_get(tb, iter1, iter2, markup)
Etk_Textblock *tb
@@ -3865,6 +3859,31 @@
   ALIAS:
DeleteRange=1
 
+void
+etk_textblock_unicode_length_get(unicode_string)
+   const char *unicode_string
+   ALIAS:
+   UnicodeLengthGet=1
+
+Etk_Bool etk_textblock_is_white_char(c)
+   int c
+   ALIAS:
+   IsWhiteChar=1
+
+void
+etk_textblock_char_size_get(evas, font_face, font_size)
+   Evas * evas
+   const char * font_face
+   int font_size
+   ALIAS:
+   CharSizeGet=1
+   PPCODE:
+   int w, h;
+   etk_textblock_char_size_get(eva, font_face, font_size, &w, &h);
+   EXTEND(SP, 2);
+   PUSHs(sv_2mortal(newSViv(w)));
+   PUSHs(sv_2mortal(newSViv(h)));
+
 
 
 MODULE = Etk::ThemePACKAGE = Etk::ThemePREFIX = etk_theme_
@@ -3890,7 +3909,15 @@
   ALIAS:
WidgetSet=1
 
+void
+etk_theme_widget_available_themes_get()
+   ALIAS:
+   WidgetAvailableThemesGet=1
+   PPCODE:
+   Evas_List * list;
 
+   list = etk_theme_widget_available_themes_get();
+   XPUSHs(sv_2mortal(newSVCharEvasList(list)));
 
 const char *
 etk_theme_icon_get()
@@ -3903,6 +3930,16 @@
ALIAS:
IconSet=1
 
+void
+etk_theme_icon_available_themes_get()
+   ALIAS:
+   IconAvailableThemesGet=1
+   PPCODE:
+   Evas_List * list;
+
+   list = etk_theme_icon_available_themes_get();
+   XPUSHs(sv_2mortal(newSVCharEvasList(list)));
+   
 Etk_Bool
 etk_theme_group_exists(file, group, parent)
const char * 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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/etk-perl leviathan

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : libs/etk-perl

Dir : e17/libs/etk-perl/lib/Etk


Modified Files:
Constants.pm 


Log Message:
-Add missing Popupwindow functions

===
RCS file: /cvs/e/e17/libs/etk-perl/lib/Etk/Constants.pm,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- Constants.pm13 Jan 2007 22:01:04 -  1.10
+++ Constants.pm14 Jan 2007 19:09:26 -  1.11
@@ -58,6 +58,7 @@
 ShadowRight ShadowTop ShadowBottom ShadowLeftRight ShadowTopBottom/],
image   => [qw/ImageFile ImageEdje ImageStock ImageEvasObject 
ImageData/],
entry   => [qw/ImagePrimary ImageSecondary/],
+   popupwindow => [qw/BelowRight BelowLeft AboveRight AboveLeft/],
);
 
 my @all = ();
@@ -277,3 +278,10 @@
ImageSecondary=>2
 };
 
+# popup window
+use constant {
+   BelowRight=>0,
+   BelowLeft=>1,
+   AboveRight=>2,
+   AboveLeft=>3
+};



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/emphasis lok

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : lok
Project : e17
Module  : apps/emphasis

Dir : e17/apps/emphasis


Modified Files:
README TODO configure.in 


Log Message:
Another aji's patch :
Shuffle added.
A change in the config doesn't require to relaunch emphasis anymore.
Keybinding added on 'c' to clear the playlist.
Keybinding added on 's' to shuffle the playlist.
textblock bug solved.

===
RCS file: /cvs/e/e17/apps/emphasis/README,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- README  20 Aug 2006 22:48:49 -  1.5
+++ README  14 Jan 2007 19:27:43 -  1.6
@@ -2,25 +2,29 @@
 
 #
 Features:
-   Drag and drop between medialib treeview and playlist is supported.
-   Double left click on a row of medialib treeview add it with a search to 
the playlist,
-   and play it if the server is on status "stop".
-   ex : double left click on an album row will add all this album
-   Middle click remove them on the same principe,
-   Select a row in the playlist and push "d" to delete it from the 
playlist.
-   Right click open a contextual menu. 
-   A click on the progress bar seek the right time on the song.
-   Select a medialib tree and type some letters will search for 
"pattern.*", Esc to cancel
+  Drag and drop between medialib treeview and playlist is supported.
+  Double left click on a row of medialib treeview add it with a search
+  to the playlist, and play it if the server is on status "stop".
+  ex : double left click on an album row will add all this album.
+  Middle click remove them on the same principe,
+  Select a row in the playlist and push "d" to delete it from the playlist.
+  Push "c" or "s" to clear or shuffle the current playlist.
+  Right click open a contextual menu. 
+  A click on the progress bar seek the right time on the song.
+  "Ctrl+r" on artist/album/track tree selects randomly a row.
+  Select a medialib tree and type some letters will search for "pattern.*",
+  Esc to cancel.
 
 #
 Description:
-   Emphasis is a simple MPD (Music Player Daemon) client writen in C/Etk.
+  Emphasis is a simple MPD (Music Player Daemon) client writen in C/Etk.
 
 #
 Depends:
-   libmpd 0.12.0 ( svn co https://svn.musicpd.org/libmpd/trunk libmpd )
-   mpd 0.12.0 ( svn co https://svn.musicpd.org/mpd/trunk mpd )
-   A special debian repository for this version :
-   http://musicpd.org/~normalperson/debian/
+  libmpd 0.12.0 ( svn co https://svn.musicpd.org/libmpd/trunk libmpd )
+  mpd 0.12.0 ( svn co https://svn.musicpd.org/mpd/trunk mpd )
+  A special debian repository for this version :
+http://musicpd.org/~normalperson/debian/
 
-   Ecore and Etk ( Enlightenment DR17 cvs: [EMAIL PROTECTED]:/var/cvs/e )
+  Ecore, Etk and Enhance
+( Enlightenment DR17 cvs: [EMAIL PROTECTED]:/var/cvs/e )
===
RCS file: /cvs/e/e17/apps/emphasis/TODO,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- TODO30 Dec 2006 13:46:38 -  1.6
+++ TODO14 Jan 2007 19:27:43 -  1.7
@@ -1,5 +1,12 @@
+== Details ==
+-Updater/completer cette doc !
+-Revoir le "namespace" des fonctions
+-Trier les callbacks (soit des emphasis_`part`_callback.c soit dans les 
fichiers emphasis_`part`.c)
+-Emphasis_Song dans data_list et convert_mpd_song dans convert ?
+-Faire une routine de quit qui prend en param Emphasis_Gui *gui
+
 == Bugfix ==
--Un-Leak the writing of the config
+-Un-Leak the writing of the config << up-to-date?
 -Change prototypes of row_clicked callbacks
 -Fixe cover "refresh" (sometime)
 
@@ -9,10 +16,8 @@
 *Make a special panel for stream support
 *Add bindings keys
 *Add "crossfade" cover
-*Fixe windows postion (not at startup)
 *Add support of ID3 covers and path choose for cover
 *Grab media-keys 
-*Add a theme or media_tab_icons
 *Add lyrics
 
 == Later ==
===
RCS file: /cvs/e/e17/apps/emphasis/configure.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- configure.in9 Oct 2006 20:36:46 -   1.10
+++ configure.in14 Jan 2007 19:27:43 -  1.11
@@ -124,7 +124,8 @@
 AC_MSG_ERROR([libmpd not found.])
]
 )
-if test `pkg-config --modversion libmpd` = "0.12.4"; then
+
+if `pkg-config --atleast-version=0.12.4 libmpd`; then
  libmpd_v_cflags="-DLIBMPD_0_12_4"
 else
  libmpd_v_cflags="-DLIBMPD_0_12_0"



-
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 ear

E CVS: apps/emphasis lok

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : lok
Project : e17
Module  : apps/emphasis

Dir : e17/apps/emphasis/data


Modified Files:
config.glade emphasis.glade 


Log Message:
Another aji's patch :
Shuffle added.
A change in the config doesn't require to relaunch emphasis anymore.
Keybinding added on 'c' to clear the playlist.
Keybinding added on 's' to shuffle the playlist.
textblock bug solved.

===
RCS file: /cvs/e/e17/apps/emphasis/data/config.glade,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- config.glade30 Dec 2006 13:46:38 -  1.2
+++ config.glade14 Jan 2007 19:27:43 -  1.3
@@ -1,6 +1,6 @@
 
 
-

E CVS: libs/etk-perl leviathan

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : libs/etk-perl

Dir : e17/libs/etk-perl


Modified Files:
Etk.xs TODO typemap 


Log Message:
-Add Etk::Config
-Add Etk::Editable
-Remove unused DND code

===
RCS file: /cvs/e/e17/libs/etk-perl/Etk.xs,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -3 -r1.66 -r1.67
--- Etk.xs  14 Jan 2007 15:52:10 -  1.66
+++ Etk.xs  14 Jan 2007 18:35:28 -  1.67
@@ -741,6 +741,32 @@
CODE:
etk_canvas_object_remove(ETK_CANVAS(canvas), object);
 
+void
+etk_canvas_object_move(canvas, object, x, y)
+   Etk_Widget *canvas
+   Evas_Object *   object
+   int x
+   int y
+   ALIAS:
+   ObjectMove=1
+   CODE:
+   etk_canvas_object_move(ETK_CANVAS(canvas), object, x, y);
+
+void
+etk_canvas_object_geometry_get(canvas, object)
+   Etk_Widget *canvas
+   Evas_Object *   object
+   ALIAS:
+   GeometryGet=1
+   PPCODE:
+   int x, y, w, h;
+   etk_canvas_object_geometry_get(ETK_CANVAS(canvas), object, &x, &y, &w, 
&h);
+   EXTEND(SP, 4);
+   PUSHs(sv_2mortal(newSViv(x)));
+   PUSHs(sv_2mortal(newSViv(y)));
+   PUSHs(sv_2mortal(newSViv(w)));
+   PUSHs(sv_2mortal(newSViv(h)));
+
 
 MODULE = Etk::CheckButton  PACKAGE = Etk::CheckButton  PREFIX 
= etk_check_button_

@@ -1435,19 +1461,6 @@
PackWidgetInActionArea=1
 
 
-MODULE = Etk::Dnd  PACKAGE = Etk::Dnd  PREFIX = etk_dnd_
-   
-Etk_Bool
-etk_dnd_init()
-  ALIAS:
-   Init=1
-
-void
-etk_dnd_shutdown()
-  ALIAS:
-   Shutdown=1
-
-
 MODULE = Etk::Drag PACKAGE = Etk::Drag PREFIX = etk_drag_

 void
@@ -5821,6 +5834,220 @@
ALIAS:
DigitsGet=1
 
+MODULE = Etk::Editable PACKAGE = Etk::Editable PREFIX = etk_editable_
+
+Evas_Object *
+etk_editable_add(Evas * evas)
+   ALIAS:
+   Add=1
+
+void
+etk_editable_theme_set(editable, file, group)
+   Evas_Object *editable
+   const char *file
+   const char *group
+   ALIAS:
+   ThemeSet=1
+
+void
+etk_editable_align_set(editable, align)
+   Evas_Object *editable
+   float   align
+   ALIAS:
+   AlignSet=1
+
+float
+etk_editable_align_get(editable)
+   Evas_Object *editable
+   ALIAS:
+   AlignGet=1
+
+void
+etk_editable_password_mode_set(editable, password_mode)
+   Evas_Object *editable
+   Etk_Boolpassword_mode
+   ALIAS:
+   PasswordModeSet=1
+
+Etk_Bool
+etk_editable_password_mode_get(editable)
+   Evas_Object *editable
+   ALIAS:
+   PasswordModeGet=1
+
+void
+etk_editable_text_set(editable, text)
+   Evas_Object *editable
+   const char * text
+   ALIAS:
+   TextSet=1
+
+const char *
+etk_editable_text_get(editable)
+   Evas_Object *editable
+   ALIAS:
+   TextGet=1
+
+char *
+etk_editable_text_range_get(editable, start, end)
+   Evas_Object *editable
+   int start
+   int end
+   ALIAS:
+   TextRangeGet=1
+
+int
+etk_editable_text_length_get(editable)
+   Evas_Object *editable
+   ALIAS:
+   TextLengthGet=1
+
+Etk_Bool
+etk_editable_insert(editable, pos, text)
+   Evas_Object *editable
+   int pos
+   const char * text
+   ALIAS:
+   Insert=1
+
+Etk_Bool
+etk_editable_delete(editable, start, end)
+   Evas_Object *editable
+   int start
+   int end
+   ALIAS:
+   Delete=1
+
+void
+etk_editable_cursor_pos_set(editable, pos)
+   Evas_Object *editable
+   int pos
+   ALIAS:
+   CursorPosSet=1
+
+int
+etk_editable_cursor_pos_get(editable)
+   Evas_Object *editable
+   ALIAS:
+   CursorPosGet=1
+
+void 
+etk_editable_cursor_move_to_start(editable)
+   Evas_Object *editable
+   ALIAS:
+   CursorMoveToStart=1
+
+void
+etk_editable_cursor_move_to_end(editable)
+   Evas_Object *editable
+   ALIAS:
+   CursorMoveToEnd=1
+
+void
+etk_editable_cursor_move_left(editable)
+   Evas_Object *editable
+   ALIAS:
+   CursorMoveLeft=1
+
+void
+etk_editable_cursor_move_right(editable)
+   Evas_Object *editable
+   ALIAS:
+   CursorMoveRight=1
+
+void
+etk_editable_cursor_show(editable)
+   Evas_Object *editable
+   ALIAS:
+   CursorShow=1
+
+void
+etk_editable_cursor_hide(editable)
+   Evas_Object *editable
+   ALIAS:
+   CursorHide=1
+
+void
+etk_editable_selection_pos_set(editable, pos)
+   Evas_Object *editable
+   int pos
+   ALIAS:
+   SelectionPosSet=1
+
+int 
+etk_editable_selection_pos_get(editable)
+   Evas_Object *editable
+   ALIAS:
+   SelectionPosGet=1
+
+void
+etk_editable_selection_move_to_start(editable)
+   Evas_Object *editable
+   ALIAS:
+   SelectionMoveToStart=1
+
+void
+etk_editable_selection_move_to_end(editable)
+   Evas_Object *editable

E CVS: e kwo

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/src


Modified Files:
util.h memory.c 


Log Message:
Trivial prototype change (Estrndup).

===
RCS file: /cvs/e/e16/e/src/util.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- util.h  13 Jan 2007 19:14:29 -  1.5
+++ util.h  14 Jan 2007 17:27:01 -  1.6
@@ -54,7 +54,7 @@
 char   *Estrtrim(char *s);
 
 char   *Estrdup(const char *s);
-char   *Estrndup(const char *s, int n);
+char   *Estrndup(const char *s, size_t n);
 char   *Estrdupcat2(char *ss, const char *s1, const char *s2);
 
 char  **StrlistDup(char **lst, int num);
===
RCS file: /cvs/e/e16/e/src/memory.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -3 -r1.52 -r1.53
--- memory.c13 Jan 2007 19:14:28 -  1.52
+++ memory.c14 Jan 2007 17:27:01 -  1.53
@@ -62,7 +62,7 @@
 }
 
 char   *
-Estrndup(const char *s, int n)
+Estrndup(const char *s, size_t n)
 {
 #if USE_LIBC_STRNDUP
if (s)



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e devilhorns

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_confirm_dialog.h 


Log Message:
Just some doxy fixes to make the sentence sound sane.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_confirm_dialog.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_confirm_dialog.h  30 Oct 2006 10:42:23 -  1.2
+++ e_confirm_dialog.h  14 Jan 2007 16:48:20 -  1.3
@@ -13,8 +13,8 @@
  * @text - the text show in the dialog
  * @button_text - "yes" button text
  * @button2_text - "no" button text
- * func - the function is called if yes is pressed
- * func2 - the function is called if no is pressed
+ * func - the function to call if yes is pressed
+ * func2 - the function to call if no is pressed
  * data - the pointer passed to func
  * data2 - the pointer passed to func2
  */



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: e kwo

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e


Modified Files:
configure.in ChangeLog timestamp.h 


Log Message:
Sun Jan 14 11:38:31 CET 2007
(Kim)

--- 0.16.8.6 0.01 ---
Refactor iconbox animation code.
Japanese translation update (Yasufumi Haga).
Fix bug in dockapp placement (wrapping at right/lower edge). Fix by davey?
Clean out unused duplicate backgrounds at startup.
Minor reorganisation of some ewin internals.
Fix build with ecore (ecore_list_find implemented in ecore).
Move theme path related stuff out of eimage.c, add function to get image data.
Add title to Window Options menu.
Remove offensive pawn.png.
Remove unneeded grab parameter (we always grab).
Fix move through desk switch.
Fix crash on opening certain dialogs when sound is enabled (Valdis Kletnieks).
Danish translation update.


===
RCS file: /cvs/e/e16/e/configure.in,v
retrieving revision 1.187
retrieving revision 1.188
diff -u -3 -r1.187 -r1.188
--- configure.in27 Dec 2006 16:34:47 -  1.187
+++ configure.in14 Jan 2007 16:40:40 -  1.188
@@ -3,7 +3,7 @@
 ENLIGHTENMENT_MAJOR=0
 ENLIGHTENMENT_MINOR=16
 ENLIGHTENMENT_MICRO=8.6
-ENLIGHTENMENT_REVISION=0.00
+ENLIGHTENMENT_REVISION=0.01
 
ENLIGHTENMENT_VERSION=$ENLIGHTENMENT_MAJOR.$ENLIGHTENMENT_MINOR.$ENLIGHTENMENT_MICRO
 if test "x$ENLIGHTENMENT_REVISION" != "x"; then
   ENLIGHTENMENT_REVNAME="$ENLIGHTENMENT_VERSION-$ENLIGHTENMENT_REVISION"
===
RCS file: /cvs/e/e16/e/ChangeLog,v
retrieving revision 1.223
retrieving revision 1.224
diff -u -3 -r1.223 -r1.224
--- ChangeLog   16 Dec 2006 14:45:21 -  1.223
+++ ChangeLog   14 Jan 2007 16:40:40 -  1.224
@@ -4155,3 +4155,24 @@
 (Kim)
 
 --- 0.16.8.5 ---
+
+---
+
+Sun Jan 14 11:38:31 CET 2007
+(Kim)
+
+--- 0.16.8.6 0.01 ---
+Refactor iconbox animation code.
+Japanese translation update (Yasufumi Haga).
+Fix bug in dockapp placement (wrapping at right/lower edge). Fix by davey?
+Clean out unused duplicate backgrounds at startup.
+Minor reorganisation of some ewin internals.
+Fix build with ecore (ecore_list_find implemented in ecore).
+Move theme path related stuff out of eimage.c, add function to get image data.
+Add title to Window Options menu.
+Remove offensive pawn.png.
+Remove unneeded grab parameter (we always grab).
+Fix move through desk switch.
+Fix crash on opening certain dialogs when sound is enabled (Valdis Kletnieks).
+Danish translation update.
+
===
RCS file: /cvs/e/e16/e/timestamp.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- timestamp.h 16 Dec 2006 14:45:21 -  1.19
+++ timestamp.h 14 Jan 2007 16:40:40 -  1.20
@@ -1 +1 @@
-#define E_CHECKOUT_DATE "$Date: 2006/12/16 14:45:21 $"
+#define E_CHECKOUT_DATE "$Date: 2007/01/14 16:40:40 $"



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: e kwo

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/po


Modified Files:
bg.po bs.po da.po de.po en_US.po es.po fr.po hu.po ja.po ko.po 
nl.po no.po pl.po pt.po pt_BR.po ru.po sv.po tr.po 


Log Message:
Update po.




-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: e kwo

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/po


Modified Files:
da.po 


Log Message:
Danish translation update.




-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/etk-perl leviathan

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : libs/etk-perl

Dir : e17/libs/etk-perl


Modified Files:
Etk.xs 


Log Message:
method name change

===
RCS file: /cvs/e/e17/libs/etk-perl/Etk.xs,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -3 -r1.65 -r1.66
--- Etk.xs  13 Jan 2007 22:01:04 -  1.65
+++ Etk.xs  14 Jan 2007 15:52:10 -  1.66
@@ -1578,10 +1578,10 @@
ImageHighlightSet=1
 
 void
-etk_entry_add_clear_button(entry)
+etk_entry_clear_button_add(entry)
Etk_Entry * entry
ALIAS:
-   AddClearButton=1
+   ClearButtonAdd=1

 
 MODULE = Etk::Filechooser  PACKAGE = Etk::Filechooser  PREFIX = 
etk_filechooser_widget_



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/etk-perl leviathan

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : libs/etk-perl

Dir : e17/libs/etk-perl/etk_test


Modified Files:
etk_test.pl 


Log Message:
method name change

===
RCS file: /cvs/e/e17/libs/etk-perl/etk_test/etk_test.pl,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -3 -r1.45 -r1.46
--- etk_test.pl 13 Jan 2007 22:01:04 -  1.45
+++ etk_test.pl 14 Jan 2007 15:52:10 -  1.46
@@ -296,7 +296,7 @@
 
 my $image = Etk::Image->new(DocumentPrint, SizeSmall);
 $entry_normal->ImageSet(ImagePrimary, $image);
-$entry_normal->AddClearButton();
+$entry_normal->ClearButtonAdd();
 
 my $label_normal = Etk::Label->new("");
 $table->Attach($label_normal, 0, 1, 1, 1, 0, 0, TableHExpand | TableHFill);



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/engrave leviathan

2007-01-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : libs/engrave

Dir : e17/libs/engrave/src/lib


Modified Files:
engrave_canvas.c engrave_part.c engrave_part.h 
engrave_part_state.c engrave_part_state.h 


Log Message:
Canvas patch from DaveMDS

===
RCS file: /cvs/e/e17/libs/engrave/src/lib/engrave_canvas.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- engrave_canvas.c6 Jan 2007 21:33:48 -   1.6
+++ engrave_canvas.c14 Jan 2007 15:48:53 -  1.7
@@ -32,25 +32,20 @@
 
 static void engrave_canvas_redraw(Evas_Object *o, Engrave_Canvas *ec);
 static void engrave_canvas_part_redraw(Engrave_Part *ep, void *data);
-static void engrave_canvas_part_state_redraw(Engrave_Part_State *eps,
-Engrave_Part *ep, void *data);
-static void engrave_canvas_part_state_recalc(Engrave_Canvas *ec, 
-Engrave_Part_State *eps, 
+
+static void engrave_canvas_part_recalc(Engrave_Canvas *ec, 
+Engrave_Part *ep, 
 Engrave_Part_State *rel1_to_x, 
 Engrave_Part_State *rel1_to_y, 
 Engrave_Part_State *rel2_to_x,
 Engrave_Part_State *rel2_to_y,
 Engrave_Part_State *confine);
 
-static Evas_Object *engrave_canvas_part_state_image_setup(Evas *evas, 
Engrave_File *ef,
-Engrave_Part_State *eps);
-static Evas_Object *engrave_canvas_part_state_text_setup(Evas *evas,
-Engrave_Part_State *eps);
-static Evas_Object *engrave_canvas_part_state_rect_setup(Evas *evas,
-Engrave_Part_State *eps);
+static void engrave_canvas_part_state_text_setup(Engrave_Part_State *eps);
+static void engrave_canvas_part_state_rect_setup(Engrave_Part_State *eps);
+static void engrave_canvas_part_state_image_setup(Engrave_Part_State *eps);
 
 static void engrave_canvas_part_hide(Engrave_Part *ep, void *data);
-static void engrave_canvas_part_state_hide(Engrave_Part_State *eps, void 
*data);
 
 /**
  * engrave_canvas_new - create a new cavnas
@@ -126,15 +121,9 @@
 static void
 engrave_canvas_part_hide(Engrave_Part *ep, void *data)
 {
-engrave_part_state_foreach(ep, engrave_canvas_part_state_hide, NULL);
-}
-
-static void
-engrave_canvas_part_state_hide(Engrave_Part_State *eps, void *data)
-{
-evas_object_hide(eps->object);
+   evas_object_hide(ep->object);
 }
-
+  
 static void
 engrave_canvas_redraw(Evas_Object *o, Engrave_Canvas *ec)
 {
@@ -144,168 +133,113 @@
 static void
 engrave_canvas_part_redraw(Engrave_Part *ep, void *data)
 {
-Engrave_Part_State *eps;
-
-/* 
- * only want to draw one state for a part. The default one for now.
- * XXX need to fix this tho to draw the selected visible state ...
-*/
-eps = engrave_part_state_by_name_value_find(ep, "default", 0.0);
-engrave_canvas_part_state_redraw(eps, ep, data);
-}
-
-static void
-engrave_canvas_part_state_redraw(Engrave_Part_State *eps, 
-Engrave_Part *ep, void *data)
-{
-Engrave_Group *eg;
-Evas_Object *o, *eps_object;
-Engrave_Canvas *ec;
-Engrave_Part *rel1_to_x = NULL, *rel1_to_y = NULL;
-Engrave_Part *rel2_to_x = NULL, *rel2_to_y = NULL, *confine = NULL;
-
-if (!eps) return;
-
-o = data;
-ec = evas_object_smart_data_get(o);
-if (!ec) return;
-
-if (!(eps_object = engrave_part_state_evas_object_get(eps))) {
-Evas *evas;
-
-evas = evas_object_evas_get(o);
-switch(engrave_part_type_get(ep)) {
-case ENGRAVE_PART_TYPE_IMAGE:
-eps_object = engrave_canvas_part_state_image_setup(evas,
-ec->engrave_file, eps);
-break;
-
-case ENGRAVE_PART_TYPE_TEXT:
-eps_object = engrave_canvas_part_state_text_setup(evas, eps);
-break;
-
-case ENGRAVE_PART_TYPE_RECT:
-eps_object = engrave_canvas_part_state_rect_setup(evas, eps);
-break;
-
-case ENGRAVE_PART_TYPE_SWALLOW:
-/* XXX ?? */
-break;
-
-default:
-break;
-}
-engrave_part_state_evas_object_set(eps, eps_object);
-evas_object_clip_set(eps_object, ec->clip);
+   Engrave_Part_State *eps = NULL;
+   Evas_Object *o, *ep_object;
+   Engrave_Group *eg;
+   Engrave_Canvas *ec;
+   Engrave_Part *rel1_to_x = NULL, *rel1_to_y = NULL;
+   Engrave_Part *rel2_to_x = NULL, *rel2_to_y = NULL, *confine = NULL;
+
+   
+   if (!ep) return;
+   
+   o = data;
+   ec = evas_object_smart_data_get(o);
+   if (!ec) return;
+  
+   eps = e