E CVS: libs/engrave leviathan

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : libs/engrave

Dir : e17/libs/engrave/src/lib


Modified Files:
engrave.l engrave.y engrave_enums.h engrave_parse.c 
engrave_parse.h engrave_part_state.c engrave_part_state.h 
engrave_spectrum.c 


Log Message:
Added gradient type

===
RCS file: /cvs/e/e17/libs/engrave/src/lib/engrave.l,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- engrave.l   28 Dec 2006 18:22:56 -  1.10
+++ engrave.l   30 Dec 2006 08:10:46 -  1.11
@@ -169,6 +169,8 @@
 STATE_SET  { KEYWORD_RETURN(STATE_SET); }
 step   { KEYWORD_RETURN(STEP); }
 SWALLOW{ KEYWORD_RETURN(SWALLOW); }
+GRADIENT   { KEYWORD_RETURN(GRADIENT); }
+gradient   { KEYWORD_RETURN(GRAD); }
 target { KEYWORD_RETURN(TARGET); }
 TEXT   { KEYWORD_RETURN(TEXT); }
 TEXTBLOCK  { KEYWORD_RETURN(TEXTBLOCK); }
===
RCS file: /cvs/e/e17/libs/engrave/src/lib/engrave.y,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- engrave.y   29 Dec 2006 14:12:12 -  1.18
+++ engrave.y   30 Dec 2006 08:10:46 -  1.19
@@ -36,17 +36,17 @@
 %token CONFINE DATA DESCRIPTION DRAGABLE EFFECT FILL FIT
 %token FONT FONTS GROUP GROUPS IMAGE TEXTBLOCK IMAGES IN ITEM MAX MIN FIXED 
MOUSE_EVENTS
 %token NAME NORMAL OFFSET ORIGIN PART PARTS PROGRAM PROGRAMS
-%token REL1 REL2 RELATIVE REPEAT_EVENTS SCRIPT SIGNAL SIZE
+%token REL1 REL2 RELATIVE REPEAT_EVENTS SCRIPT SIGNAL SIZE GRADREL1 GRADREL2
 %token SMOOTH SOURCE STATE STEP TARGET TEXT TEXT_CLASS TEXT_SOURCE TO
 %token TO_X TO_Y TRANSITION TWEEN TYPE VISIBLE X Y
 %token OPEN_BRACE CLOSE_BRACE RAW COMP LOSSY
 %token STYLES STYLE SBASE TAG ELIPSIS
 %token COLON QUOTE SEMICOLON STATE_SET ACTION_STOP SIGNAL_EMIT
 %token DRAG_VAL_SET DRAG_VAL_STEP DRAG_VAL_PAGE LINEAR
-%token SINUSOIDAL ACCELERATE DECELERATE IMAGE RECT SWALLOW
+%token SINUSOIDAL ACCELERATE DECELERATE IMAGE RECT SWALLOW GRADIENT
 %token NONE PLAIN OUTLINE SOFT_OUTLINE SHADOW SOFT_SHADOW 
 %token OUTLINE_SHADOW OUTLINE_SOFT_SHADOW VERTICAL HORIZONTAL BOTH
-%token SPECTRA SPECTRUM
+%token SPECTRA SPECTRUM GRAD
 %left MINUS PLUS
 %left TIMES DIVIDE
 %left NEG /* negation--unary minus */
@@ -226,6 +226,7 @@
 program_body: /* blank */ 
| program_cmd
| program_body program_cmd
+   | program_body SEMICOLON
;
 
 program_cmd: name
@@ -410,6 +411,9 @@
   case STATE:
 engrave_parse_state_max((int)$3, (int)$4);
 break;
+  case TEXT:
+engrave_parse_state_text_max((int)$3, (int)$4);
+break;
   default: 
 break;
 }
@@ -458,6 +462,7 @@
| TEXT { $$ = ENGRAVE_PART_TYPE_TEXT; }
| TEXTBLOCK { $$ = ENGRAVE_PART_TYPE_TEXTBLOCK; }
| SWALLOW { $$ = ENGRAVE_PART_TYPE_SWALLOW; }
+   | GRADIENT { $$ = ENGRAVE_PART_TYPE_GRADIENT; }
| STRING { /* edje accepts quoted part types. */
if (!strcmp($1, RECT))
$$ = ENGRAVE_PART_TYPE_RECT;
@@ -469,6 +474,8 @@
$$ = ENGRAVE_PART_TYPE_TEXTBLOCK;
else if (!strcmp($1, SWALLOW))
$$ = ENGRAVE_PART_TYPE_SWALLOW;
+   else if (!strcmp($1, GRADIENT))
+   $$ = ENGRAVE_PART_TYPE_GRADIENT;
}
;
 
@@ -640,6 +647,34 @@
| color2
| color3
| text
+   | gradient
+   ;
+
+gradient: GRAD OPEN_BRACE {section = GRAD;} grad_statement CLOSE_BRACE 
semicolon_maybe { section = STATE;}
+
+grad_statement: /* empty */
+   | grad_spectrum grad_statement
+   | grad_type grad_statement
+   | grad_rel1 grad_statement
+   | grad_rel2 grad_statement
+   ;
+
+grad_spectrum: SPECTRUM COLON STRING SEMICOLON {
+   engrave_parse_state_gradient_spectrum($3);
+   }
+   ;
+
+grad_type: TYPE COLON STRING SEMICOLON {
+   engrave_parse_state_gradient_type($3);
+   }
+   ;
+
+grad_rel1: REL1 OPEN_BRACE {section = GRADREL1;} rel_statement CLOSE_BRACE 
semicolon_maybe {section = GRAD;}
+   | REL1 DOT {section = GRADREL1;} rel_body {section = GRAD;}
+   ;
+
+grad_rel2: REL2 OPEN_BRACE {section = GRADREL2;} rel_statement CLOSE_BRACE 
semicolon_maybe {section = GRAD;}
+   | REL2 DOT {section = GRADREL2;} rel_body {section = GRAD;}
;
 
 rel1: REL1 OPEN_BRACE {section = REL1;} rel_statement CLOSE_BRACE 
semicolon_maybe {section = STATE;}
@@ -677,6 +712,12 @@
   case SIZE:
 engrave_parse_state_fill_size_relative($3, $4);

E CVS: libs/engrave leviathan

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : libs/engrave

Dir : e17/libs/engrave/src/lib


Modified Files:
engrave.l engrave.y engrave_group.c engrave_group.h 
engrave_parse.c engrave_parse.h 


Log Message:
Add group alias

===
RCS file: /cvs/e/e17/libs/engrave/src/lib/engrave.l,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- engrave.l   30 Dec 2006 08:10:46 -  1.11
+++ engrave.l   30 Dec 2006 08:49:27 -  1.12
@@ -137,6 +137,7 @@
 fixed  { KEYWORD_RETURN(FIXED); }
 mouse_events   { KEYWORD_RETURN(MOUSE_EVENTS); }
 name   { KEYWORD_RETURN(NAME); }
+alias  { KEYWORD_RETURN(ALIAS); }
 NONE   { KEYWORD_RETURN(NONE); }
 normal { KEYWORD_RETURN(NORMAL); }
 offset { KEYWORD_RETURN(OFFSET); }
===
RCS file: /cvs/e/e17/libs/engrave/src/lib/engrave.y,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- engrave.y   30 Dec 2006 08:10:46 -  1.19
+++ engrave.y   30 Dec 2006 08:49:27 -  1.20
@@ -35,7 +35,7 @@
 %token CLIP_TO COLLECTIONS COLOR COLOR2 COLOR3 COLOR_CLASS
 %token CONFINE DATA DESCRIPTION DRAGABLE EFFECT FILL FIT
 %token FONT FONTS GROUP GROUPS IMAGE TEXTBLOCK IMAGES IN ITEM MAX MIN FIXED 
MOUSE_EVENTS
-%token NAME NORMAL OFFSET ORIGIN PART PARTS PROGRAM PROGRAMS
+%token NAME NORMAL OFFSET ORIGIN PART PARTS PROGRAM PROGRAMS ALIAS
 %token REL1 REL2 RELATIVE REPEAT_EVENTS SCRIPT SIGNAL SIZE GRADREL1 GRADREL2
 %token SMOOTH SOURCE STATE STEP TARGET TEXT TEXT_CLASS TEXT_SOURCE TO
 %token TO_X TO_Y TRANSITION TWEEN TYPE VISIBLE X Y
@@ -373,8 +373,14 @@
;
 
 group_preamble_entry: name
+   | alias
| min
| max
+   ;
+
+alias: ALIAS COLON STRING SEMICOLON {
+   engrave_parse_group_alias($3);
+   }
;
 
 min: MIN COLON exp exp SEMICOLON {
===
RCS file: /cvs/e/e17/libs/engrave/src/lib/engrave_group.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- engrave_group.c 6 Sep 2006 07:31:31 -   1.17
+++ engrave_group.c 30 Dec 2006 08:49:27 -  1.18
@@ -34,6 +34,7 @@
   if (!eg) return;
 
   IF_FREE(eg-name);
+  IF_FREE(eg-alias);
   for (l = eg-parts; l; l = l-next) {
 Engrave_Part *ep = l-data;
 engrave_part_free(ep);
@@ -101,6 +102,21 @@
 }
 
 /**
+ * engrave_group_alias_set - set the alias of the group.
+ * @param eg: The Engrave_Group to attach the alias too.
+ * @param alias: The alias to attach to the group.
+ *
+ * @return Returns no value.
+ */
+EAPI void
+engrave_group_alias_set(Engrave_Group *eg, const char *alias)
+{
+  if (!eg) return;
+  IF_FREE(eg-alias);
+  eg-alias = (alias ? strdup(alias) : NULL);
+}
+
+/**
  * engrave_group_min_size_set - set the min size of the group.
  * @param eg: The Engrave_Group on which to set the min size.
  * @param w: The min width to set on the group.
@@ -259,6 +275,18 @@
 engrave_group_name_get(Engrave_Group *eg)
 {
   return (eg ? eg-name : NULL);
+}
+
+/**
+ * engrave_group_alias_get - get the alias attached to the group
+ * @param eg: The Engrave_Group to get the alias from
+ *
+ * @return Returns the alias of the group or NULL on failure.
+ */
+EAPI const char *
+engrave_group_alias_get(Engrave_Group *eg)
+{
+  return (eg ? eg-alias : NULL);
 }
 
 /**
===
RCS file: /cvs/e/e17/libs/engrave/src/lib/engrave_group.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- engrave_group.h 6 Sep 2006 07:31:31 -   1.12
+++ engrave_group.h 30 Dec 2006 08:49:27 -  1.13
@@ -23,6 +23,7 @@
 struct _Engrave_Group
 {
   char *name;   /** The group name */
+  char *alias;   /** The group alias */
   /**
* The max/min size values for the group 
*/
@@ -53,6 +54,7 @@
 
 EAPI void engrave_group_script_set(Engrave_Group *eg, const char *script);
 EAPI void engrave_group_name_set(Engrave_Group *eg, const char *name);
+EAPI void engrave_group_alias_set(Engrave_Group *eg, const char *alias);
 EAPI void engrave_group_min_size_set(Engrave_Group *eg, int w, int h);
 EAPI void engrave_group_max_size_set(Engrave_Group *eg, int w, int h);
 
@@ -60,6 +62,7 @@
 EAPI Engrave_Program * engrave_group_program_last_get(Engrave_Group *eg);
 
 EAPI const char *engrave_group_name_get(Engrave_Group *eg);
+EAPI const char *engrave_group_alias_get(Engrave_Group *eg);
 EAPI const char *engrave_group_script_get(Engrave_Group *eg);
 EAPI void engrave_group_min_size_get(Engrave_Group *eg, int *w, int *h);
 EAPI void engrave_group_max_size_get(Engrave_Group *eg, int *w, int *h);

E CVS: proto leviathan

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : proto

Dir : e17/proto/etk-perl/t/Etk


Modified Files:
Image.t 


Log Message:
Image API change

===
RCS file: /cvs/e/e17/proto/etk-perl/t/Etk/Image.t,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Image.t 4 Aug 2006 14:50:37 -   1.1
+++ Image.t 30 Dec 2006 09:18:23 -  1.2
@@ -6,11 +6,14 @@
 ok( defined $b,Image new());
 ok( $b-isa(Etk::Image), Class Check);
 
-$b-SetFromFile(/dev/null);
-is($b-FileGet(), /dev/null, File set/get);
+$b-SetFromFile(/dev/null,key);
+is($b-FileGet(), key, File set/get);
 
 $b-KeepAspectSet(1);
 is($b-KeepAspectGet(), 1, Keep Aspect);
+
+$b-AspectRatioSet(0.3);
+is($b-AspectRatioGet(), 0.3,  Aspect Ratio);
 
 my $image2 = Etk::Image-new();
 $image2-Copy($b);



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


E CVS: proto leviathan

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : proto

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


Modified Files:
Constants.pm Simple.pm 


Log Message:
Image API change

===
RCS file: /cvs/e/e17/proto/etk-perl/lib/Etk/Constants.pm,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- Constants.pm20 Oct 2006 19:01:34 -  1.8
+++ Constants.pm30 Dec 2006 09:18:23 -  1.9
@@ -56,6 +56,7 @@
button  = [qw/ButtonIcon ButtonText ButtonBothVert ButtonBothHoriz/],
shadow  = [qw/ShadowNone ShadowInside ShadowOutside ShadowNoEdge 
ShadowLeft ShadowAll
 ShadowRight ShadowTop ShadowBottom ShadowLeftRight ShadowTopBottom/],
+   image   = [qw/ImageFile ImageEdje ImageStock ImageEvasObject 
ImageData/],
);
 
 my @all = ();
@@ -260,6 +261,14 @@
ShadowAll = ShadowLeftRight | ShadowTopBottom
 };
 
+# image source
+use constant {
+   ImageFile=0,
+   ImageEdje=1,
+   ImageStock=2,
+   ImageEvasObject=3,
+   ImageData=4
+};
 
 
 
===
RCS file: /cvs/e/e17/proto/etk-perl/lib/Etk/Simple.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Simple.pm   23 Nov 2006 20:08:49 -  1.2
+++ Simple.pm   30 Dec 2006 09:18:23 -  1.3
@@ -53,6 +53,16 @@
return $inew-(__PACKAGE__);
 };
 
+my $iset = \SetFromFile;
+*SetFromFile = sub {
+   my $class = shift;
+   my $arg1 = shift;
+   my $arg2 = shift || ;
+   
+   return $iset-($class, $arg1, $arg2);
+};
+
+
 package Etk::Menu::Item;
 
 my $minew = \new;



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


E CVS: proto leviathan

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : proto

Dir : e17/proto/etk-perl


Modified Files:
Etk.xs TODO typemap 


Log Message:
Image API change

===
RCS file: /cvs/e/e17/proto/etk-perl/Etk.xs,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -3 -r1.63 -r1.64
--- Etk.xs  9 Dec 2006 14:54:12 -   1.63
+++ Etk.xs  30 Dec 2006 09:18:23 -  1.64
@@ -2054,11 +2054,17 @@
PUSHs(sv_2mortal(newSVpv(edje_filename, strlen(edje_filename;
PUSHs(sv_2mortal(newSVpv(edje_group, strlen(edje_group;
 
-const char *
+void
 etk_image_file_get(image)
Etk_Image * image
   ALIAS:
FileGet=1
+   PPCODE:
+   char * filename;
+   char * key;
+   etk_image_file_get(image, filename, key);
+   XPUSHs(sv_2mortal(newSVpv(filename, strlen(filename;
+   if (key) XPUSHs(sv_2mortal(newSVpv(key, strlen(key;
 
 Etk_Bool
 etk_image_keep_aspect_get(image)
@@ -2073,6 +2079,19 @@
   ALIAS:
KeepAspectSet=1
 
+void
+etk_image_aspect_ratio_set(image, aspect_ratio)
+   Etk_Image * image
+   double  aspect_ratio
+   ALIAS:
+   AspectRatioSet=1
+
+double
+etk_image_aspect_ratio_get(image)
+   Etk_Image * image
+   ALIAS:
+   AspectRatioGet=1
+
 Etk_Image *
 new(class)
SV * class
@@ -2093,12 +2112,13 @@
RETVAL
 
 Etk_Image *
-etk_image_new_from_file(filename)
-   char *  filename
+etk_image_new_from_file(filename, key)
+   const char *filename
+   const char * key
   ALIAS:
NewFromFile=1
CODE:
-   RETVAL = ETK_IMAGE(etk_image_new_from_file(filename));
+   RETVAL = ETK_IMAGE(etk_image_new_from_file(filename, key));
OUTPUT:
RETVAL
 
@@ -2122,9 +2142,10 @@
SetFromEdje=1
 
 void
-etk_image_set_from_file(image, filename)
+etk_image_set_from_file(image, filename, key)
Etk_Image * image
-   char *  filename
+   const char *filename
+   const char *key
   ALIAS:
SetFromFile=1
 
@@ -2162,6 +2183,29 @@
EXTEND(SP, 2);
PUSHs(sv_2mortal(newSViv(stock_id)));
PUSHs(sv_2mortal(newSViv(stock_size)));
+
+Etk_Image_Source
+etk_image_source_get(image)
+   Etk_Image * image
+  ALIAS:
+   SourceGet=1
+
+void
+etk_image_update(image)
+   Etk_Image * image
+   ALIAS:
+   Update=1
+
+void
+etk_image_update_rect(image, x, y, w, h)
+   Etk_Image * image
+   int x
+   int y
+   int w
+   int h
+   ALIAS:
+   UpdateRect=1
+
 
 
 MODULE = Etk::LabelPACKAGE = Etk::LabelPREFIX = etk_label_
===
RCS file: /cvs/e/e17/proto/etk-perl/TODO,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- TODO10 Sep 2006 09:14:25 -  1.19
+++ TODO30 Dec 2006 09:18:23 -  1.20
@@ -12,6 +12,7 @@
- Check for memory usage (I'm not sure if we're leaking or not,
  need to do some tests for that)
- Fix Combobox append functions (waiting for some functionality in etk)
+   - Image new from data
 
 BUGS:
 
===
RCS file: /cvs/e/e17/proto/etk-perl/typemap,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- typemap 9 Dec 2006 14:54:12 -   1.23
+++ typemap 30 Dec 2006 09:18:23 -  1.24
@@ -38,6 +38,7 @@
 Etk_Iconbox_Icon * T_PTROBJ_ETK
 Etk_Iconbox_Model *T_PTROBJ_ETK
 Etk_Image *T_PTROBJ_ETK
+Etk_Image_Source   T_IV
 Etk_Label *T_PTROBJ_ETK
 Etk_Marshaller T_PTROBJ
 Etk_Menu * T_PTROBJ_ETK



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


E CVS: proto codewarrior

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/edje_editor




Log Message:
Directory /cvs/e/e17/proto/edje_editor added to the repository




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


E CVS: proto codewarrior

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/edje_editor/m4




Log Message:
Directory /cvs/e/e17/proto/edje_editor/m4 added to the repository




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


E CVS: proto codewarrior

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/edje_editor/src




Log Message:
Directory /cvs/e/e17/proto/edje_editor/src added to the repository




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


E CVS: proto codewarrior

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/edje_editor/data




Log Message:
Directory /cvs/e/e17/proto/edje_editor/data added to the repository




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


E CVS: proto codewarrior

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/edje_editor/data/fonts




Log Message:
Directory /cvs/e/e17/proto/edje_editor/data/fonts added to the repository




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


E CVS: proto codewarrior

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/edje_editor/data/images




Log Message:
Directory /cvs/e/e17/proto/edje_editor/data/images added to the repository




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


E CVS: proto codewarrior

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/edje_editor/src/bin




Log Message:
Directory /cvs/e/e17/proto/edje_editor/src/bin added to the repository




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


E CVS: proto codewarrior

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/edje_editor/data/fonts


Added Files:
Makefile.am vera.ttf 


Log Message:
DaveMDS's edje_editor app making its way to CVS. Now we can all contribute.





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


E CVS: proto codewarrior

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/edje_editor/data/images


Added Files:
Makefile.am arrow_d.png arrow_l.png arrow_r.png arrow_u.png 
bg.png desc.png e17.png etk_focus.png fakewin.png focus.png 
image.png miniarrow.png none.png parent1.png parent1X.png 
parent1Y.png parent2X.png parent2Y.png rect.png rel1.png 
rel2.png shadow.png text.png 


Log Message:
DaveMDS's edje_editor app making its way to CVS. Now we can all contribute.





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


E CVS: proto codewarrior

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/edje_editor/m4


Added Files:
ac_path_generic.m4 


Log Message:
DaveMDS's edje_editor app making its way to CVS. Now we can all contribute.





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


E CVS: proto codewarrior

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/edje_editor/src/bin


Added Files:
.cvsignore Makefile.am callbacks.c callbacks.h evas.c evas.h 
interface.c interface.h main.c main.h parse.c parse.h 


Log Message:
DaveMDS's edje_editor app making its way to CVS. Now we can all contribute.





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


E CVS: proto codewarrior

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/edje_editor/src


Added Files:
.cvsignore Makefile.am 


Log Message:
DaveMDS's edje_editor app making its way to CVS. Now we can all contribute.





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


E CVS: proto codewarrior

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/edje_editor/data


Added Files:
Makefile.am edje_editor.edc 


Log Message:
DaveMDS's edje_editor app making its way to CVS. Now we can all contribute.





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


E CVS: proto codewarrior

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/edje_editor


Added Files:
AUTHORS COPYING COPYING-PLAIN ChangeLog INSTALL Makefile.am 
NEWS README TODO autogen.sh configure.in 


Log Message:
DaveMDS's edje_editor app making its way to CVS. Now we can all contribute.





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


E CVS: proto codewarrior

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/edje_editor


Added Files:
.cvsignore 


Log Message:
add .cvsignore




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


E CVS: proto leviathan

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : proto

Dir : e17/proto/edje_editor/src/bin


Modified Files:
interface.c 


Log Message:
etk_image_new_from_file needs a key

===
RCS file: /cvs/e/e17/proto/edje_editor/src/bin/interface.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- interface.c 30 Dec 2006 09:59:09 -  1.2
+++ interface.c 30 Dec 2006 10:02:46 -  1.3
@@ -43,7 +43,7 @@
 
//printf(IMAGE:%s - %s\n,fname,ext);
g_string_printf(str,%s/%s,EDCFileDir-str,fname);
-   ComboItem = etk_combobox_item_append(ETK_COMBOBOX(UI_ImageComboBox), 
etk_image_new_from_file (str-str), fname);
+   ComboItem = etk_combobox_item_append(ETK_COMBOBOX(UI_ImageComboBox), 
etk_image_new_from_file (str-str, NULL), fname);
etk_combobox_item_data_set (ComboItem, strdup(fname));
return TRUE;
 }



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


E CVS: libs/engrave leviathan

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : libs/engrave

Dir : e17/libs/engrave/src/lib


Modified Files:
engrave_out.c 


Log Message:
add GRADIENT to the types

===
RCS file: /cvs/e/e17/libs/engrave/src/lib/engrave_out.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- engrave_out.c   28 Dec 2006 18:22:56 -  1.35
+++ engrave_out.c   30 Dec 2006 11:55:10 -  1.36
@@ -33,7 +33,8 @@
 TEXT,
 TEXTBLOCK,
 RECT,
-SWALLOW
+SWALLOW,
+   GRADIENT
 };
 
 static char *_text_effect_string[ENGRAVE_TEXT_EFFECT_NUM] = {



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


E CVS: proto codewarrior

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/exhibit/src/bin


Modified Files:
exhibit_image.c exhibit_main.c exhibit_tab.c 


Log Message:
make exhibit compile again - might have to check some of the logic now where we 
were using im-filename

===
RCS file: /cvs/e/e17/proto/exhibit/src/bin/exhibit_image.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -3 -r1.39 -r1.40
--- exhibit_image.c 7 Oct 2006 11:39:19 -   1.39
+++ exhibit_image.c 30 Dec 2006 12:28:03 -  1.40
@@ -197,9 +197,16 @@
 {
unsigned int *data;
int   w, h;
-
-   if(im-use_edje)
- return;
+   char *edje;
+   char *group;
+   
+   etk_image_edje_get(im, edje, group);
+   if(edje != NULL)
+ {
+   free(edje);
+   free(group);
+   return;
+ }

etk_image_size_get(im, w, h);

@@ -208,8 +215,8 @@
if (data) 
  {
D((Undo: getting data %p, image %p\n, data, im));
-   evas_object_image_data_set(im-image_object, data);
-   evas_object_image_data_update_add(im-image_object, 0, 0, w, h);
+   evas_object_image_data_set(etk_image_evas_object_get(im), data);
+   evas_object_image_data_update_add(etk_image_evas_object_get(im), 0, 0, 
w, h);
etk_object_data_set(ETK_OBJECT(im), undo, NULL);
  }
 }
@@ -221,12 +228,19 @@
int   w, h;
int   x, y;
unsigned int *p1, *p2, tmp;
+   char *edje;
+   char *group;

-   if(im-use_edje)
- return;
+   etk_image_edje_get(im, edje, group);
+   if(edje != NULL)
+ {
+   free(edje);
+   free(group);
+   return;
+ }   

etk_image_size_get(im, w, h);
-   data = evas_object_image_data_get(im-image_object, ETK_TRUE);
+   data = evas_object_image_data_get(etk_image_evas_object_get(im), ETK_TRUE);
_ex_image_data_copy(im, data, w, h); /* for undo */

for (y = 0; y  h; y++)
@@ -243,8 +257,8 @@
  }
  }

-   evas_object_image_data_set(im-image_object, data);
-   evas_object_image_data_update_add(im-image_object, 0, 0, w, h);
+   evas_object_image_data_set(etk_image_evas_object_get(im), data);
+   evas_object_image_data_update_add(etk_image_evas_object_get(im), 0, 0, w, 
h);
 }
 
 void
@@ -254,12 +268,19 @@
int   w, h;
int   x, y;
unsigned int *p1, *p2, tmp;
+   char *edje;
+   char *group;

-   if(im-use_edje)
- return;
+   etk_image_edje_get(im, edje, group);
+   if(edje != NULL)
+ {
+   free(edje);
+   free(group);
+   return;
+ }

etk_image_size_get(im, w, h);
-   data = evas_object_image_data_get(im-image_object, ETK_TRUE);
+   data = evas_object_image_data_get(etk_image_evas_object_get(im), ETK_TRUE);
_ex_image_data_copy(im, data, w, h); /* for undo */

for (y = 0; y  (h  1); y++)
@@ -276,8 +297,8 @@
  }
  }
   
-   evas_object_image_data_set(im-image_object, data);
-   evas_object_image_data_update_add(im-image_object, 0, 0, w, h);   
+   evas_object_image_data_set(etk_image_evas_object_get(im), data);
+   evas_object_image_data_update_add(etk_image_evas_object_get(im), 0, 0, w, 
h);
 }
 
 /* Directions (source is right/down):
@@ -291,12 +312,19 @@
 {
unsigned int   *data, *data2, *to, *from;
int x, y, w, hw, iw, ih;
- 
-   if(im-use_edje)
- return;
+   char *edje;
+   char *group;
+   
+   etk_image_edje_get(im, edje, group);
+   if(edje != NULL)
+ {
+   free(edje);
+   free(group);
+   return;
+ }

etk_image_size_get(im, iw, ih);
-   data2 = evas_object_image_data_get(im-image_object, ETK_FALSE);
+   data2 = evas_object_image_data_get(etk_image_evas_object_get(im), 
ETK_FALSE);
 
data = malloc(iw * ih * sizeof(unsigned int));
from = data2;
@@ -338,9 +366,9 @@
to += hw;
  }

-   evas_object_image_size_set(im-image_object, iw, ih);   
-   evas_object_image_data_set(im-image_object, data);
-   evas_object_image_data_update_add(im-image_object, 0, 0, iw, ih);
+   evas_object_image_size_set(etk_image_evas_object_get(im), iw, ih);   
+   evas_object_image_data_set(etk_image_evas_object_get(im), data);
+   evas_object_image_data_update_add(etk_image_evas_object_get(im), 0, 0, iw, 
ih);
etk_widget_size_request_set(ETK_WIDGET(im), iw, ih);
 
 
@@ -358,12 +386,19 @@
int  *as, *rs, *gs, *bs;   
int   rad = 2; 
unsigned int *p1, *p2;
+   char *edje;
+   char *group;

-   if(im-use_edje)
- return;
+   etk_image_edje_get(im, edje, group);
+   if(edje != NULL)
+ {
+   free(edje);
+   free(group);
+   return;
+ }
 
etk_image_size_get(im, w, h);
-   data2 = evas_object_image_data_get(im-image_object, ETK_TRUE);
+   data2 = evas_object_image_data_get(etk_image_evas_object_get(im), ETK_TRUE);
_ex_image_data_copy(im, data2, w, h); /* for undo */
 
rad = 

E CVS: proto leviathan

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : proto

Dir : e17/proto/exhibit/src/bin


Modified Files:
exhibit_main.c 


Log Message:
be able to read the filename passed after -f -- this is ugly, but does the job 
for now

===
RCS file: /cvs/e/e17/proto/exhibit/src/bin/exhibit_main.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -3 -r1.89 -r1.90
--- exhibit_main.c  30 Dec 2006 12:28:03 -  1.89
+++ exhibit_main.c  30 Dec 2006 12:57:41 -  1.90
@@ -1065,7 +1065,7 @@

epsilon_init();
if(argc  1)
- _ex_main_window_show(argv[1], fullscreen);
+ _ex_main_window_show(argv[(fullscreen (argc  2)) ? 2 : 1], fullscreen);
else
  _ex_main_window_show(NULL, fullscreen);   
  



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


E CVS: proto chaos

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : proto

Dir : e17/proto/entropy/utils


Modified Files:
entropy_queuer.c 


Log Message:
* Compile again with image changes in etk
* Slight changed to audio queuer util

===
RCS file: /cvs/e/e17/proto/entropy/utils/entropy_queuer.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- entropy_queuer.c2 Aug 2006 05:53:59 -   1.2
+++ entropy_queuer.c30 Dec 2006 13:43:34 -  1.3
@@ -81,11 +81,11 @@
int attempts = 0;
int i;

-   ecore_init(NULL, NULL);
+   ecore_init();
ecore_ipc_init();
 
if (argc == 1 || strcmp(argv[1], --enqueue)) {
-   etk_init();
+   etk_init(NULL,NULL);
window = etk_window_new();
etk_widget_size_request_set(window, 450, 300);




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


E CVS: proto chaos

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : proto

Dir : e17/proto/entropy/src/dialogs


Modified Files:
etk_properties_dialog.c 


Log Message:
* Compile again with image changes in etk
* Slight changed to audio queuer util

===
RCS file: /cvs/e/e17/proto/entropy/src/dialogs/etk_properties_dialog.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- etk_properties_dialog.c 29 Dec 2006 13:02:53 -  1.12
+++ etk_properties_dialog.c 30 Dec 2006 13:43:34 -  1.13
@@ -66,10 +66,10 @@
etk_box_append(ETK_BOX(ivbox), hbox, ETK_BOX_START, ETK_BOX_NONE, 0);
 
if (file-thumbnail) {
-   icon = 
etk_image_new_from_file(file-thumbnail-thumbnail_filename);
+   icon = 
etk_image_new_from_file(file-thumbnail-thumbnail_filename, NULL);
etk_box_append(ETK_BOX(hbox), icon, ETK_BOX_START, 
ETK_BOX_NONE, 0);
} else {
-   icon = etk_image_new_from_file(PACKAGE_DATA_DIR 
/icons/default.png);
+   icon = etk_image_new_from_file(PACKAGE_DATA_DIR 
/icons/default.png, NULL);
etk_box_append(ETK_BOX(hbox), icon, ETK_BOX_START, 
ETK_BOX_NONE, 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.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto chaos

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : proto

Dir : e17/proto/entropy/src/plugins


Modified Files:
etk_list_viewer.c etk_structure_viewer.c 


Log Message:
* Compile again with image changes in etk
* Slight changed to audio queuer util

===
RCS file: /cvs/e/e17/proto/entropy/src/plugins/etk_list_viewer.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -3 -r1.75 -r1.76
--- etk_list_viewer.c   29 Dec 2006 13:02:53 -  1.75
+++ etk_list_viewer.c   30 Dec 2006 13:43:34 -  1.76
@@ -285,9 +285,9 @@
   label = etk_label_new(label_buffer);
   
  if (file-file-thumbnail  
file-file-thumbnail-thumbnail_filename) {
-   image = 
etk_image_new_from_file(file-file-thumbnail-thumbnail_filename);
+   image = 
etk_image_new_from_file(file-file-thumbnail-thumbnail_filename,NULL);
  } else {
-   image = etk_image_new_from_file(PACKAGE_DATA_DIR 
/icons/default.png);
+   image = etk_image_new_from_file(PACKAGE_DATA_DIR 
/icons/default.png, NULL);
  }
 etk_image_keep_aspect_set(ETK_IMAGE(image), ETK_TRUE);
 etk_widget_size_request_set(image, 48, 48);
@@ -400,7 +400,7 @@
 }
 
 
-static void _etk_list_viewer_row_clicked(Etk_Object *object, Etk_Tree_Row 
*row, Etk_Event_Mouse_Down *event, void *data)
+static void _etk_list_viewer_row_clicked(Etk_Object *object, Etk_Tree_Row 
*row, Etk_Event_Mouse_Up *event, void *data)
 {
entropy_gui_component_instance* instance;
entropy_etk_file_list_viewer* viewer;
@@ -411,8 +411,15 @@
file = ecore_hash_get(etk_list_viewer_row_hash, row);
instance = file-instance;
viewer = instance-data;
+
+   printf(Event-button (ext): %d, event-button);
+   if (event-flags  ETK_MOUSE_DOUBLE_CLICK) printf(Double!);
+   if (event-flags  ETK_MOUSE_TRIPLE_CLICK) printf(Triple!);
+
+   printf(\n);

-   if (event-flags  EVAS_BUTTON_DOUBLE_CLICK  event-button == 1) {
+   if ( (event-flags  ETK_MOUSE_DOUBLE_CLICK)  event-button == 1) {
+  printf(Event-button: %d\n, event-button);
   printf(Row clicked, file is: %s\n, file-file-filename); 
 
  gui_event = entropy_malloc (sizeof (entropy_gui_event));
===
RCS file: /cvs/e/e17/proto/entropy/src/plugins/etk_structure_viewer.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- etk_structure_viewer.c  29 Dec 2006 13:37:19 -  1.30
+++ etk_structure_viewer.c  30 Dec 2006 13:43:34 -  1.31
@@ -127,9 +127,13 @@
entropy_gui_event *gui_event;
event_file_core* e_event;
 
-   if ( (!(event-button == 1 || event-button == 3)) || event-flags  
EVAS_BUTTON_TRIPLE_CLICK 
-   || event-flags  EVAS_BUTTON_DOUBLE_CLICK )
+   printf(Structure event: %d\n, event-button);
+
+   if ( (!(event-button == 1 || event-button == 3)) || event-flags  
ETK_MOUSE_DOUBLE_CLICK
+   || event-flags  ETK_MOUSE_TRIPLE_CLICK )
   return;
+
+   printf(Post\n);

instance = ecore_hash_get(instance_map_hash, row);
etk_tree_row_select(row);



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


E CVS: balony codewarrior

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : devs
Module  : balony

Dir : devs/balony


Added Files:
id_dsa2.pub 


Log Message:
new key. enjoy




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


E CVS: proto lok

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : lok
Project : e17
Module  : proto

Dir : e17/proto/emphasis/src/emphasis_cover_editor


Modified Files:
emphasis_cover_editor.c emphasis_cover_editor.glade 


Log Message:
Aji's big update.

[Config] 
* crossfade support
* return from the death of the port parameter
* keep/or not the cover aspect when resizing the window
* option to stop mpd when quitting emphasis
* the panes and tree columns size will now be saved
[Small Mode]
* Cover is resized along with emphasis window
* utf8 fixed
[Medialib]
* Fast search is enabled only for regular keys
* ut8 fixed
* Full featured search mode added
[Misc]
* random Haricot pictures when no cover is found
* mpd errors support
* fix when closing the config window
* various fix in textblock
* various fix in cover support
* leak--
* typo--
[Cover Editor]
* keys are sorted alphabeticaly
* size of the cover
[Tomorrow]
* Happy new year !

===
RCS file: 
/cvs/e/e17/proto/emphasis/src/emphasis_cover_editor/emphasis_cover_editor.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- emphasis_cover_editor.c 29 Dec 2006 22:25:07 -  1.2
+++ emphasis_cover_editor.c 30 Dec 2006 13:46:38 -  1.3
@@ -35,6 +35,19 @@
 void dialog_close(Etk_Object *object, void *data);
 
 /*/
+int
+tree_sort(Etk_Tree *tree,
+  Etk_Tree_Row *r1, Etk_Tree_Row *r2,
+  Etk_Tree_Col *col,
+  void *data)
+{
+  char *k1 = NULL;
+  char *k2 = NULL;
+  etk_tree_row_fields_get(r1, col, k1, NULL);
+  etk_tree_row_fields_get(r2, col, k2, NULL);
+  return strcoll(k1, k2);
+}
+
 void
 on_window_destroy(Etk_Object *object, void *data)
 {
@@ -269,6 +282,7 @@
  etk_tree_model_text_new(tree),
  0);
   etk_tree_build(tree);
+  etk_tree_freeze(tree);
 
   entries = eet_list(ef, *, num);
 
@@ -288,4 +302,7 @@
 
   eet_close(ef);
   free(cover_db_path);
+
+  etk_tree_sort(tree, tree_sort, ETK_TRUE, etk_tree_nth_col_get(tree, 0), 
NULL);
+  etk_tree_thaw(tree);
 }
===
RCS file: 
/cvs/e/e17/proto/emphasis/src/emphasis_cover_editor/emphasis_cover_editor.glade,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- emphasis_cover_editor.glade 20 Aug 2006 22:48:50 -  1.1
+++ emphasis_cover_editor.glade 30 Dec 2006 13:46:38 -  1.2
@@ -77,8 +77,8 @@
/widget
packing
  property name=padding0/property
- property name=expandTrue/property
- property name=fillFalse/property
+ property name=expandFalse/property
+ property name=fillTrue/property
/packing
  /child
/widget
@@ -198,7 +198,7 @@
 /widget
 
 widget class=GtkDialog id=filechooser_dialog
-  property name=title translatable=yesdialog2/property
+  property name=title translatable=yesselect cover/property
   property name=typeGTK_WINDOW_TOPLEVEL/property
   property name=window_positionGTK_WIN_POS_NONE/property
   property name=modalFalse/property



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


E CVS: proto lok

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : lok
Project : e17
Module  : proto

Dir : e17/proto/emphasis


Modified Files:
Doxyfile TODO 


Log Message:
Aji's big update.

[Config] 
* crossfade support
* return from the death of the port parameter
* keep/or not the cover aspect when resizing the window
* option to stop mpd when quitting emphasis
* the panes and tree columns size will now be saved
[Small Mode]
* Cover is resized along with emphasis window
* utf8 fixed
[Medialib]
* Fast search is enabled only for regular keys
* ut8 fixed
* Full featured search mode added
[Misc]
* random Haricot pictures when no cover is found
* mpd errors support
* fix when closing the config window
* various fix in textblock
* various fix in cover support
* leak--
* typo--
[Cover Editor]
* keys are sorted alphabeticaly
* size of the cover
[Tomorrow]
* Happy new year !

===
RCS file: /cvs/e/e17/proto/emphasis/Doxyfile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Doxyfile6 Jun 2006 11:22:15 -   1.1
+++ Doxyfile30 Dec 2006 13:46:38 -  1.2
@@ -3,7 +3,7 @@
 #---
 # Project related configuration options
 #---
-PROJECT_NAME   = Empc
+PROJECT_NAME   = Emphasis
 PROJECT_NUMBER = 0.1
 OUTPUT_DIRECTORY   = ./doc
 CREATE_SUBDIRS = NO
===
RCS file: /cvs/e/e17/proto/emphasis/TODO,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- TODO20 Aug 2006 22:48:49 -  1.5
+++ TODO30 Dec 2006 13:46:38 -  1.6
@@ -1,21 +1,19 @@
 == Bugfix ==
 -Un-Leak the writing of the config
--Parse song title for  before put them in the label
 -Change prototypes of row_clicked callbacks
+-Fixe cover refresh (sometime)
 
 == Global ==
-*Add crossfade config
 *Add a drag and drop to order the tree_pls
 *Make an OSD at song change
 *Make a special panel for stream support
-*Make a special panel for advanced search
 *Add bindings keys
 *Add crossfade cover
 *Fixe windows postion (not at startup)
-*Parse Song name (emphasis hate special caract like '')
 *Add support of ID3 covers and path choose for cover
 *Grab media-keys 
 *Add a theme or media_tab_icons
+*Add lyrics
 
 == Later ==
 *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.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto lok

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : lok
Project : e17
Module  : proto

Dir : e17/proto/emphasis/data


Modified Files:
config.glade emphasis.glade 


Log Message:
Aji's big update.

[Config] 
* crossfade support
* return from the death of the port parameter
* keep/or not the cover aspect when resizing the window
* option to stop mpd when quitting emphasis
* the panes and tree columns size will now be saved
[Small Mode]
* Cover is resized along with emphasis window
* utf8 fixed
[Medialib]
* Fast search is enabled only for regular keys
* ut8 fixed
* Full featured search mode added
[Misc]
* random Haricot pictures when no cover is found
* mpd errors support
* fix when closing the config window
* various fix in textblock
* various fix in cover support
* leak--
* typo--
[Cover Editor]
* keys are sorted alphabeticaly
* size of the cover
[Tomorrow]
* Happy new year !

===
RCS file: /cvs/e/e17/proto/emphasis/data/config.glade,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- config.glade20 Aug 2006 22:54:03 -  1.1
+++ config.glade30 Dec 2006 13:46:38 -  1.2
@@ -1,306 +1,264 @@
-?xml version=1.0 standalone=no? !--*- mode: xml -*--
-!DOCTYPE glade-interface SYSTEM http://glade.gnome.org/glade-2.0.dtd;
-
+?xml version=1.0 encoding=UTF-8 standalone=no?
+!DOCTYPE glade-interface SYSTEM glade-2.0.dtd
+!-- Generated with glade3
+   Version: 3.0.1
+   Date: Wed Dec 20 00:52:02 2006
+   User: aji
+   Host: neiki
+--
 glade-interface
-
-widget class=GtkDialog id=window
-  property name=visibleTrue/property
-  property name=title translatable=yesEmphais Config/property
-  property name=typeGTK_WINDOW_TOPLEVEL/property
-  property name=window_positionGTK_WIN_POS_NONE/property
-  property name=modalFalse/property
-  property name=resizableTrue/property
-  property name=destroy_with_parentFalse/property
-  property name=decoratedTrue/property
-  property name=skip_taskbar_hintFalse/property
-  property name=skip_pager_hintFalse/property
-  property name=type_hintGDK_WINDOW_TYPE_HINT_DIALOG/property
-  property name=gravityGDK_GRAVITY_NORTH_WEST/property
-  property name=focus_on_mapTrue/property
-  property name=urgency_hintFalse/property
-  property name=has_separatorTrue/property
-  signal name=delete_event handler=cb_config_hide 
last_modification_time=Tue, 08 Aug 2006 02:08:31 GMT/
-
-  child internal-child=vbox
-widget class=GtkVBox id=dialog-vbox1
-  property name=visibleTrue/property
-  property name=homogeneousFalse/property
-  property name=spacing0/property
-
-  child internal-child=action_area
-   widget class=GtkHButtonBox id=dialog-action_area1
- property name=visibleTrue/property
- property name=layout_styleGTK_BUTTONBOX_END/property
-
- child
-   widget class=GtkButton id=cancelbutton1
- property name=visibleTrue/property
- property name=can_defaultTrue/property
- property name=can_focusTrue/property
- property name=labelgtk-cancel/property
- property name=use_stockTrue/property
- property name=reliefGTK_RELIEF_NORMAL/property
- property name=focus_on_clickTrue/property
- property name=response_id-6/property
- signal name=clicked handler=cb_config_hide 
last_modification_time=Tue, 08 Aug 2006 02:15:16 GMT/
-   /widget
- /child
-
- child
-   widget class=GtkButton id=okbutton1
- property name=visibleTrue/property
- property name=can_defaultTrue/property
- property name=can_focusTrue/property
- property name=labelgtk-ok/property
- property name=use_stockTrue/property
- property name=reliefGTK_RELIEF_NORMAL/property
- property name=focus_on_clickTrue/property
- property name=response_id-5/property
- signal name=clicked handler=cb_config_ok 
last_modification_time=Tue, 08 Aug 2006 02:14:59 GMT/
-   /widget
- /child
-   /widget
-   packing
- property name=padding0/property
- property name=expandFalse/property
- property name=fillTrue/property
- property name=pack_typeGTK_PACK_END/property
-   /packing
-  /child
-
-  child
-   widget class=GtkVBox id=vbox1
- property name=visibleTrue/property
- property name=homogeneousFalse/property
- property name=spacing0/property
-
- child
-   widget class=GtkFrame id=frame1
- property name=visibleTrue/property
- property name=label_xalign0/property
- property name=label_yalign0.5/property
- property name=shadow_typeGTK_SHADOW_NONE/property
-
- child
-   widget class=GtkTable id=table1
- property name=visibleTrue/property
- 

E CVS: proto lok

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : lok
Project : e17
Module  : proto

Dir : e17/proto/emphasis/data/images


Modified Files:
note.png 


Log Message:
Aji's big update.

[Config] 
* crossfade support
* return from the death of the port parameter
* keep/or not the cover aspect when resizing the window
* option to stop mpd when quitting emphasis
* the panes and tree columns size will now be saved
[Small Mode]
* Cover is resized along with emphasis window
* utf8 fixed
[Medialib]
* Fast search is enabled only for regular keys
* ut8 fixed
* Full featured search mode added
[Misc]
* random Haricot pictures when no cover is found
* mpd errors support
* fix when closing the config window
* various fix in textblock
* various fix in cover support
* leak--
* typo--
[Cover Editor]
* keys are sorted alphabeticaly
* size of the cover
[Tomorrow]
* Happy new year !

===
RCS file: /cvs/e/e17/proto/emphasis/data/images/note.png,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
Binary files /tmp/cvs3ajI6Q and /tmp/cvsswSWFE differ



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


E CVS: proto moom

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : moom
Project : e17
Module  : proto

Dir : e17/proto/etk/src/lib


Modified Files:
etk_image.c 


Log Message:
* [Etk_Image] Allow chaning the stock-id and the stock-id property, 
even if the image is not in STOCK mode


===
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_image.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- etk_image.c 29 Dec 2006 22:10:13 -  1.28
+++ etk_image.c 30 Dec 2006 14:27:13 -  1.29
@@ -65,7 +65,7 @@
   etk_type_property_add(image_type, stock_id, 
ETK_IMAGE_STOCK_ID_PROPERTY,
  ETK_PROPERTY_INT, ETK_PROPERTY_READABLE_WRITABLE, 
etk_property_value_int(ETK_STOCK_NO_STOCK));
   etk_type_property_add(image_type, stock_size, 
ETK_IMAGE_STOCK_SIZE_PROPERTY,
- ETK_PROPERTY_INT, ETK_PROPERTY_READABLE_WRITABLE, 
etk_property_value_int(ETK_STOCK_SMALL));
+ ETK_PROPERTY_INT, ETK_PROPERTY_READABLE_WRITABLE, 
etk_property_value_int(ETK_STOCK_MEDIUM));
   etk_type_property_add(image_type, evas_object, 
ETK_IMAGE_EVAS_OBJECT_PROPERTY,
  ETK_PROPERTY_POINTER, ETK_PROPERTY_READABLE_WRITABLE, 
etk_property_value_pointer(NULL));
   etk_type_property_add(image_type, keep_aspect, 
ETK_IMAGE_KEEP_ASPECT_PROPERTY,
@@ -310,7 +310,7 @@
   if (stock_id)
  *stock_id = ETK_STOCK_NO_STOCK;
   if (stock_size)
- *stock_size = ETK_STOCK_SMALL;
+ *stock_size = ETK_STOCK_MEDIUM;
}
else
{
@@ -545,7 +545,7 @@
   return;
 
image-keep_aspect = keep_aspect;
-   etk_widget_size_recalc_queue(ETK_WIDGET(image));
+   etk_widget_redraw_queue(ETK_WIDGET(image));
etk_object_notify(ETK_OBJECT(image), keep_aspect);
 }
 
@@ -573,7 +573,7 @@
   return;

image-aspect_ratio = aspect_ratio;
-   etk_widget_size_recalc_queue(ETK_WIDGET(image));
+   etk_widget_redraw_queue(ETK_WIDGET(image));
etk_object_notify(ETK_OBJECT(image), aspect_ratio);
 }
 
@@ -667,10 +667,14 @@
   case ETK_IMAGE_STOCK_ID_PROPERTY:
  if (image-source == ETK_IMAGE_STOCK)
 etk_image_set_from_stock(image, etk_property_value_int_get(value), 
image-info.stock.size);
+ else
+etk_image_set_from_stock(image, etk_property_value_int_get(value), 
ETK_STOCK_MEDIUM);
  break;
   case ETK_IMAGE_STOCK_SIZE_PROPERTY:
  if (image-source == ETK_IMAGE_STOCK)
 etk_image_set_from_stock(image, image-info.stock.id, 
etk_property_value_int_get(value));
+ else
+etk_image_set_from_stock(image, ETK_STOCK_NO_STOCK, 
etk_property_value_int_get(value));
  break;
   case ETK_IMAGE_EVAS_OBJECT_PROPERTY:
  etk_image_set_from_evas_object(image, 
etk_property_value_pointer_get(value));
@@ -716,10 +720,16 @@
 etk_property_value_string_set(value, NULL);
  break;
   case ETK_IMAGE_STOCK_ID_PROPERTY:
- etk_property_value_int_set(value, image-info.stock.id);
+ if (image-source == ETK_IMAGE_STOCK)
+etk_property_value_int_set(value, image-info.stock.id);
+ else
+etk_property_value_int_set(value, ETK_STOCK_NO_STOCK);
  break;
   case ETK_IMAGE_STOCK_SIZE_PROPERTY:
- etk_property_value_int_set(value, image-info.stock.size);
+ if (image-source == ETK_IMAGE_STOCK)
+etk_property_value_int_set(value, image-info.stock.size);
+ else
+etk_property_value_int_set(value, ETK_STOCK_MEDIUM);
  break;
   case ETK_IMAGE_EVAS_OBJECT_PROPERTY:
  etk_property_value_pointer_set(value, image-object);
@@ -853,7 +863,7 @@
  break;
   case ETK_IMAGE_STOCK:
  image-info.stock.id = ETK_STOCK_NO_STOCK;
- image-info.stock.size = ETK_STOCK_SMALL;
+ image-info.stock.size = ETK_STOCK_MEDIUM;
  break;
   case ETK_IMAGE_DATA:
  image-info.data.size.w = 0;
@@ -1013,5 +1023,5 @@
  * Set to a random value if the image is not loaded from a stock icon
  * @prop_type Integer
  * @prop_rw
- * @prop_val ETK_STOCK_SMALL
+ * @prop_val ETK_STOCK_MEDIUM
  */



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


E CVS: proto lok

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : lok
Project : e17
Module  : proto

Dir : e17/proto/enhance/src/lib


Modified Files:
enhance.c 


Log Message:
Change only the property for stock image.

===
RCS file: /cvs/e/e17/proto/enhance/src/lib/enhance.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- enhance.c   30 Dec 2006 04:08:24 -  1.35
+++ enhance.c   30 Dec 2006 14:31:29 -  1.36
@@ -602,7 +602,7 @@

_en_stock_items_hash_init();  
id = (Etk_Stock_Id)ecore_hash_get(_en_stock_items_hash, value);
-  etk_image_set_from_stock(ETK_IMAGE(wid-wid), id, ETK_STOCK_MEDIUM);
+   etk_object_properties_set(ETK_OBJECT(wid-wid), stock_id, id, NULL);
  }

else if(!strcmp(name, stock_id))



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


E CVS: proto moom

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : moom
Project : e17
Module  : proto

Dir : e17/proto/etk/src/lib


Modified Files:
etk_image.c 


Log Message:
* [Etk_Image] Update the docs of the properties


===
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_image.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- etk_image.c 30 Dec 2006 14:27:13 -  1.29
+++ etk_image.c 30 Dec 2006 14:42:00 -  1.30
@@ -985,43 +985,48 @@
  * - Etk_Image
  *
  * \par Properties:
- * @prop_name image_file: The image file (.png, .jpg, ...) which the image 
is loaded from.
- * Set to NULL if the image is loaded from an edje file (.edj)
- * @prop_type String (char *)
- * @prop_rw
- * @prop_val NULL
+ * @prop_name source: The source of the image (file, edje, stock, Evas 
object or pixel data)
+ * @prop_type Integer (Etk_Image_Source)
+ * @prop_ro
+ * @prop_val ETK_IMAGE_FILE
  * \par
- * @prop_name edje_file: The edje file (.edj) which the image is loaded from.
- * Set to NULL if the image is loaded from an image file (.png, .jpg, ...)
+ * @prop_name file: The path of the loaded file (path to the image-file or 
to the edje-file, or NULL if the image is
+ * not loaded from a file)
  * @prop_type String (char *)
  * @prop_rw
  * @prop_val NULL
  * \par
- * @prop_name edje_group: The edje group of the image.
- * Set to NULL if the image is loaded from an image file (.png, .jpg, ...)
+ * @prop_name key: The name of the loaded key: it corresponds to the loaded 
edje-group if the image is loaded from an
+ * Edje-file, or to the key corresponding to the image if it is loaded from an 
Eet-file. Otherwise it is set to NULL
  * @prop_type String (char *)
  * @prop_rw
  * @prop_val NULL
  * \par
- * @prop_name keep_aspect: Whether of not the image keeps its aspect ratio 
when it is resized
- * @prop_type Boolean
- * @prop_rw
- * @prop_val ETK_TRUE
- * \par
- * @prop_name use_edje: Whether of not the image is loaded from an edje file 
(.edj)
- * @prop_type Boolean
- * @prop_ro
- * @prop_val ETK_FALSE
- * \par
  * @prop_name stock_id: The stock ID used by the image.
- * Set to ETK_STOCK_NO_STOCK if the image is not loaded from a stock icon
+ * It is set to ETK_STOCK_NO_STOCK if the image is not a stock-icon
  * @prop_type Integer
  * @prop_rw
  * @prop_val ETK_STOCK_NO_STOCK
  * \par
- * @prop_name stock_size: The size of the stock icon used by the image.
- * Set to a random value if the image is not loaded from a stock icon
+ * @prop_name stock_size: The size of the stock-icon used by the image.
+ * It is set to ETK_STOCK_MEDIUM if the image is not a stock-icon
  * @prop_type Integer
  * @prop_rw
  * @prop_val ETK_STOCK_MEDIUM
+ * \par
+ * @prop_name evas_object: A pointer to the Evas object corresponding to the 
image. You must be careful if you
+ * manipulate it directly (do not call an Edje function on an Evas image 
object)
+ * @prop_type Pointer (Evas_Object *)
+ * @prop_rw
+ * @prop_val NULL
+ * \par
+ * @prop_name keep_aspect: Whether of not the image keeps its aspect ratio 
when it is resized
+ * @prop_type Boolean
+ * @prop_rw
+ * @prop_val ETK_TRUE
+ * \par
+ * @prop_name aspect_ratio: The aspect-ratio of the image. If it is set to 
0.0, Etk calculates it automatically
+ * @prop_type Double
+ * @prop_rw
+ * @prop_val 0.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.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/temperature


Modified Files:
e_mod_main.c 


Log Message:
Clean up some gadcon config code.
Make id unique for each gadcon.

===
RCS file: /cvs/e/e17/apps/e/src/modules/temperature/e_mod_main.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -3 -r1.75 -r1.76
--- e_mod_main.c17 Dec 2006 22:01:45 -  1.75
+++ e_mod_main.c30 Dec 2006 17:54:27 -  1.76
@@ -77,7 +77,7 @@
e_theme_edje_object_set(o, base/theme/modules/temperature,
   e/modules/temperature/main);

-   gcc = e_gadcon_client_new(gc, name, id, style, o);
+   gcc = e_gadcon_client_new(gc, style, o);
gcc-data = inst;

inst-gcc = gcc;



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


E CVS: apps/e englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/clock


Modified Files:
e_mod_main.c 


Log Message:
Clean up some gadcon config code.
Make id unique for each gadcon.

===
RCS file: /cvs/e/e17/apps/e/src/modules/clock/e_mod_main.c,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -3 -r1.65 -r1.66
--- e_mod_main.c3 Sep 2006 07:40:44 -   1.65
+++ e_mod_main.c30 Dec 2006 17:54:26 -  1.66
@@ -53,7 +53,7 @@
   e/modules/clock/main);
evas_object_show(o);

-   gcc = e_gadcon_client_new(gc, name, id, style, o);
+   gcc = e_gadcon_client_new(gc, style, o);
gcc-data = inst;

inst-gcc = gcc;



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


E CVS: apps/e englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/cpufreq


Modified Files:
e_mod_main.c 


Log Message:
Clean up some gadcon config code.
Make id unique for each gadcon.

===
RCS file: /cvs/e/e17/apps/e/src/modules/cpufreq/e_mod_main.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -3 -r1.52 -r1.53
--- e_mod_main.c28 Sep 2006 17:01:20 -  1.52
+++ e_mod_main.c30 Dec 2006 17:54:26 -  1.53
@@ -86,7 +86,7 @@
edje_object_signal_callback_add(o, e,action,frequency,increase, *, 
_cpufreq_face_cb_set_frequency, NULL);
edje_object_signal_callback_add(o, e,action,frequency,decrease, *, 
_cpufreq_face_cb_set_frequency, NULL);

-   gcc = e_gadcon_client_new(gc, name, id, style, o);
+   gcc = e_gadcon_client_new(gc, style, o);
gcc-data = inst;

inst-gcc = gcc;



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


E CVS: apps/e englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/pager


Modified Files:
e_mod_main.c 


Log Message:
Clean up some gadcon config code.
Make id unique for each gadcon.

===
RCS file: /cvs/e/e17/apps/e/src/modules/pager/e_mod_main.c,v
retrieving revision 1.197
retrieving revision 1.198
diff -u -3 -r1.197 -r1.198
--- e_mod_main.c29 Nov 2006 09:14:45 -  1.197
+++ e_mod_main.c30 Dec 2006 17:54:27 -  1.198
@@ -171,7 +171,7 @@
p-inst = inst;
inst-pager = p;
o = p-o_table;
-   gcc = e_gadcon_client_new(gc, name, id, style, o);
+   gcc = e_gadcon_client_new(gc, style, o);
gcc-data = inst;

inst-gcc = gcc;



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


E CVS: apps/e englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/ibox


Modified Files:
e_mod_main.c 


Log Message:
Clean up some gadcon config code.
Make id unique for each gadcon.

===
RCS file: /cvs/e/e17/apps/e/src/modules/ibox/e_mod_main.c,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -3 -r1.76 -r1.77
--- e_mod_main.c14 Dec 2006 19:37:51 -  1.76
+++ e_mod_main.c30 Dec 2006 17:54:27 -  1.77
@@ -151,7 +151,7 @@
b-inst = inst;
inst-ibox = b;
o = b-o_box;
-   gcc = e_gadcon_client_new(gc, name, id, style, o);
+   gcc = e_gadcon_client_new(gc, style, o);
gcc-data = inst;

inst-gcc = gcc;



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


E CVS: apps/e englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/ibar


Modified Files:
e_mod_main.c 


Log Message:
Clean up some gadcon config code.
Make id unique for each gadcon.

===
RCS file: /cvs/e/e17/apps/e/src/modules/ibar/e_mod_main.c,v
retrieving revision 1.162
retrieving revision 1.163
diff -u -3 -r1.162 -r1.163
--- e_mod_main.c28 Dec 2006 13:43:30 -  1.162
+++ e_mod_main.c30 Dec 2006 17:54:26 -  1.163
@@ -141,7 +141,7 @@
b-inst = inst;
inst-ibar = b;
o = b-o_box;
-   gcc = e_gadcon_client_new(gc, name, id, style, o);
+   gcc = e_gadcon_client_new(gc, style, o);
gcc-data = inst;

inst-gcc = gcc;



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


E CVS: apps/e englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/start


Modified Files:
e_mod_main.c 


Log Message:
Clean up some gadcon config code.
Make id unique for each gadcon.

===
RCS file: /cvs/e/e17/apps/e/src/modules/start/e_mod_main.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -3 -r1.36 -r1.37
--- e_mod_main.c18 Sep 2006 03:49:45 -  1.36
+++ e_mod_main.c30 Dec 2006 17:54:27 -  1.37
@@ -56,7 +56,7 @@
e_theme_edje_object_set(o, base/theme/modules/start, 
e/modules/start/main);
edje_object_signal_emit(o, e,state,unfocused, e);

-   gcc = e_gadcon_client_new(gc, name, id, style, o);
+   gcc = e_gadcon_client_new(gc, style, o);
gcc-data = inst;

inst-gcc = gcc;



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


E CVS: apps/e englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_config.c e_gadcon.c e_gadcon.h e_int_gadcon_config.c 


Log Message:
Clean up some gadcon config code.
Make id unique for each gadcon.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_config.c,v
retrieving revision 1.220
retrieving revision 1.221
diff -u -3 -r1.220 -r1.221
--- e_config.c  29 Dec 2006 05:35:12 -  1.220
+++ e_config.c  30 Dec 2006 17:54:26 -  1.221
@@ -1182,39 +1182,39 @@
 
/* the default shelf on the default head/zone */
CFG_GADCON(shelf, 0);
-   CFG_GADCON_CLIENT(start, default, 800, 32,
+   CFG_GADCON_CLIENT(start, 0.start.0, 800, 32,
  0, NULL, 0, 0);
-   CFG_GADCON_CLIENT(pager, default, 800, 120,
+   CFG_GADCON_CLIENT(pager, 0.pager.0, 800, 120,
  32, NULL, 0, 0);
-   CFG_GADCON_CLIENT(ibox, default, 800, 32,
+   CFG_GADCON_CLIENT(ibox, 0.ibox.0, 800, 32,
  32 + 120, NULL, 0, 0);
-   CFG_GADCON_CLIENT(ibar, default, 800, 200,
+   CFG_GADCON_CLIENT(ibar, 0.ibar.0, 800, 200,
  (800 / 2) - (100 / 2), NULL, 0, 0);
-   CFG_GADCON_CLIENT(temperature, default, 800, 32,
+   CFG_GADCON_CLIENT(temperature, 0.temperature.0, 800, 32,
  800 - 128, NULL, 0, 0);
-   CFG_GADCON_CLIENT(cpufreq, default, 800, 32,
+   CFG_GADCON_CLIENT(cpufreq, 0.cpufreq.0, 800, 32,
  800 - 96, NULL, 0, 0);
-   CFG_GADCON_CLIENT(battery, default, 800, 32,
+   CFG_GADCON_CLIENT(battery, 0.battery.0, 800, 32,
  800 - 64, NULL, 0, 0);
-   CFG_GADCON_CLIENT(clock, default, 800, 32,
+   CFG_GADCON_CLIENT(clock, 0.clock.0, 800, 32,
  800 - 32, NULL, 0, 0);
/* additional shelves for up to 3 more heads by default */
CFG_GADCON(shelf, 1);
-   CFG_GADCON_CLIENT(pager, default2, 800, 120,
+   CFG_GADCON_CLIENT(pager, 1.pager.0, 800, 120,
  0, NULL, 0, 0);
-   CFG_GADCON_CLIENT(ibox, default, 800, 32,
+   CFG_GADCON_CLIENT(ibox, 1.ibox.0, 800, 32,
  800 - 32, NULL, 0, 0);

CFG_GADCON(shelf, 2);
-   CFG_GADCON_CLIENT(pager, default3, 800, 120,
+   CFG_GADCON_CLIENT(pager, 2.pager.0, 800, 120,
  0, NULL, 0, 0);
-   CFG_GADCON_CLIENT(ibox, default, 800, 32,
+   CFG_GADCON_CLIENT(ibox, 2.ibox.0, 800, 32,
  800 - 32, NULL, 0, 0);

CFG_GADCON(shelf, 3);
-   CFG_GADCON_CLIENT(pager, default4, 800, 120,
+   CFG_GADCON_CLIENT(pager, 3.pager.0, 800, 120,
  0, NULL, 0, 0);
-   CFG_GADCON_CLIENT(ibox, default, 800, 32,
+   CFG_GADCON_CLIENT(ibox, 3.ibox.0, 800, 32,
  800 - 32, NULL, 0, 0);
  }
IFCFGEND;
===
RCS file: /cvs/e/e17/apps/e/src/bin/e_gadcon.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -3 -r1.55 -r1.56
--- e_gadcon.c  29 Dec 2006 16:58:56 -  1.55
+++ e_gadcon.c  30 Dec 2006 17:54:26 -  1.56
@@ -170,6 +170,33 @@
return 1;
 }
 
+EAPI E_Config_Gadcon *
+e_gadcon_config_get(const char *name, const char *id)
+{
+   Evas_List   *l;
+   E_Config_Gadcon *cf_gc = NULL;
+
+   if (!name) return NULL;
+
+   for (l = e_config-gadcons; l; l = l-next)
+ {
+   cf_gc = l-data;
+   if ((!strcmp(cf_gc-name, name)) 
+   (!strcmp(cf_gc-id, id)))
+ {
+return cf_gc;
+ }
+ }
+
+   cf_gc = E_NEW(E_Config_Gadcon, 1);
+   if (!cf_gc) return NULL;
+   cf_gc-name = evas_stringshare_add(name);
+   cf_gc-id = evas_stringshare_add(id);
+   e_config-gadcons = evas_list_append(e_config-gadcons, cf_gc);
+   e_config_save_queue();
+   return cf_gc;
+}
+
 EAPI void
 e_gadcon_provider_register(const E_Gadcon_Client_Class *cc)
 {
@@ -302,80 +329,58 @@
 e_gadcon_populate(E_Gadcon *gc)
 {
Evas_List *l;
-   int ok;
E_Config_Gadcon *cf_gc;
E_Config_Gadcon_Client *cf_gcc;

E_OBJECT_CHECK(gc);
E_OBJECT_TYPE_CHECK(gc, E_GADCON_TYPE);
-   ok = 0;
e_gadcon_layout_freeze(gc-o_container);
-   for (l = e_config-gadcons; l; l = l-next)
- {
-   cf_gc = l-data;
-   if ((!strcmp(cf_gc-name, gc-name)) 
-   (!strcmp(cf_gc-id, gc-id)))
- {
-ok = 1;
-break;
- }
- }
-   if (ok)
+   cf_gc = e_gadcon_config_get(gc-name, gc-id);
+   if (!cf_gc) return;
+   for (l = cf_gc-clients; l; l = l-next)
  {
-   for (l = cf_gc-clients; l; l = l-next)
+   E_Gadcon_Client_Class *cc;
+
+   cf_gcc = l-data;
+   if (!cf_gcc-name) continue;
+   cc = evas_hash_find(providers, cf_gcc-name);
+   if (cc)
  {
- 

E CVS: wlan englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : wlan

Dir : e_modules/wlan


Modified Files:
e_mod_main.c 


Log Message:
Remove name and id from e_gadcon_client_new.

===
RCS file: /cvs/e/e_modules/wlan/e_mod_main.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- e_mod_main.c3 Dec 2006 06:00:21 -   1.34
+++ e_mod_main.c30 Dec 2006 17:56:40 -  1.35
@@ -73,7 +73,7 @@
   inst-wlan = wlan;
 
   o = wlan-wlan_obj;
-  gcc = e_gadcon_client_new (gc, name, id, style, o);
+  gcc = e_gadcon_client_new (gc, style, o);
   gcc-data = inst;
   inst-gcc = gcc;
   inst-wlan_obj = o;



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


E CVS: alarm englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : alarm

Dir : e_modules/alarm


Modified Files:
e_mod_main.c 


Log Message:
Remove name and id from e_gadcon_client_new.

===
RCS file: /cvs/e/e_modules/alarm/e_mod_main.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_mod_main.c8 Nov 2006 10:06:38 -   1.1
+++ e_mod_main.c30 Dec 2006 17:56:38 -  1.2
@@ -92,7 +92,7 @@
edje_object_signal_callback_add(o, EDJE_SIG_RECV_ALARM_RING_STOP,

   _cb_edje_alarm_ring_stop, NULL);

 

-   gcc = e_gadcon_client_new(gc, name, id, style, o);

+   gcc = e_gadcon_client_new(gc, style, o);

gcc-data = inst;



inst-gcc = gcc;




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


E CVS: cpu englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : cpu

Dir : e_modules/cpu


Modified Files:
e_mod_main.c 


Log Message:
Remove name and id from e_gadcon_client_new.

===
RCS file: /cvs/e/e_modules/cpu/e_mod_main.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- e_mod_main.c27 Sep 2006 21:57:58 -  1.29
+++ e_mod_main.c30 Dec 2006 17:56:38 -  1.30
@@ -87,7 +87,7 @@
  edje_object_file_set(cpu-o_icon, buf, modules/cpu/main);
evas_object_show(cpu-o_icon);

-   gcc = e_gadcon_client_new(gc, name, id, style, cpu-o_icon);
+   gcc = e_gadcon_client_new(gc, style, cpu-o_icon);
gcc-data = inst;
inst-gcc = gcc;
inst-cpu = cpu;



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


E CVS: deskshow englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : deskshow

Dir : e_modules/deskshow


Modified Files:
e_mod_main.c 


Log Message:
Remove name and id from e_gadcon_client_new.

===
RCS file: /cvs/e/e_modules/deskshow/e_mod_main.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- e_mod_main.c18 Sep 2006 15:00:04 -  1.15
+++ e_mod_main.c30 Dec 2006 17:56:39 -  1.16
@@ -57,7 +57,7 @@
   evas_object_show (o);
   edje_object_signal_emit (o, passive, );
 
-  gcc = e_gadcon_client_new (gc, name, id, style, o);
+  gcc = e_gadcon_client_new (gc, style, o);
   gcc-data = inst;
 
   inst-gcc = gcc;



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


E CVS: mail englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : mail

Dir : e_modules/mail


Modified Files:
e_mod_main.c 


Log Message:
Remove name and id from e_gadcon_client_new.

===
RCS file: /cvs/e/e_modules/mail/e_mod_main.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- e_mod_main.c20 Sep 2006 22:12:18 -  1.40
+++ e_mod_main.c30 Dec 2006 17:56:39 -  1.41
@@ -82,7 +82,7 @@
   mail-inst = inst;
   inst-mail = mail;
 
-  gcc = e_gadcon_client_new (gc, name, id, style, mail-mail_obj);
+  gcc = e_gadcon_client_new (gc, style, mail-mail_obj);
   gcc-data = inst;
   inst-gcc = gcc;
   inst-mail_obj = mail-mail_obj;



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


E CVS: mem englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : mem

Dir : e_modules/mem


Modified Files:
e_mod_main.c 


Log Message:
Remove name and id from e_gadcon_client_new.

===
RCS file: /cvs/e/e_modules/mem/e_mod_main.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- e_mod_main.c17 Sep 2006 14:55:36 -  1.40
+++ e_mod_main.c30 Dec 2006 17:56:39 -  1.41
@@ -71,7 +71,7 @@
   inst-mem = mem;
 
   o = mem-mem_obj;
-  gcc = e_gadcon_client_new (gc, name, id, style, o);
+  gcc = e_gadcon_client_new (gc, style, o);
   gcc-data = inst;
   inst-gcc = gcc;
   inst-mem_obj = o;



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


E CVS: mixer englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : mixer

Dir : e_modules/mixer


Modified Files:
e_mod_main.c 


Log Message:
Remove name and id from e_gadcon_client_new.

===
RCS file: /cvs/e/e_modules/mixer/e_mod_main.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -3 -r1.55 -r1.56
--- e_mod_main.c11 Nov 2006 19:58:58 -  1.55
+++ e_mod_main.c30 Dec 2006 17:56:39 -  1.56
@@ -132,7 +132,7 @@
  edje_object_signal_emit(mixer-base, muted, );
  }

-   gcc = e_gadcon_client_new(gc, name, id, style, mixer-base);
+   gcc = e_gadcon_client_new(gc, style, mixer-base);
gcc-data = inst;
inst-gcc = gcc;
 



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


E CVS: net englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : net

Dir : e_modules/net


Modified Files:
e_mod_main.c 


Log Message:
Remove name and id from e_gadcon_client_new.

===
RCS file: /cvs/e/e_modules/net/e_mod_main.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -3 -r1.50 -r1.51
--- e_mod_main.c17 Sep 2006 15:34:25 -  1.50
+++ e_mod_main.c30 Dec 2006 17:56:39 -  1.51
@@ -76,7 +76,7 @@
   inst-net = net;
 
   o = net-net_obj;
-  gcc = e_gadcon_client_new (gc, name, id, style, o);
+  gcc = e_gadcon_client_new (gc, style, o);
   gcc-data = inst;
   inst-gcc = gcc;
   inst-net_obj = o;



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


E CVS: slideshow englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
Remove name and id from e_gadcon_client_new.

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -3 -r1.42 -r1.43
--- e_mod_main.c18 Dec 2006 09:15:58 -  1.42
+++ e_mod_main.c30 Dec 2006 17:56:39 -  1.43
@@ -76,7 +76,7 @@
inst-slide = slide;
 
o = slide-slide_obj;
-   gcc = e_gadcon_client_new(gc, name, id, style, o);
+   gcc = e_gadcon_client_new(gc, style, o);
gcc-data = inst;
inst-gcc = gcc;
inst-slide_obj = o;



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


E CVS: taskbar englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : taskbar

Dir : e_modules/taskbar


Modified Files:
e_mod_main.c 


Log Message:
Remove name and id from e_gadcon_client_new.

===
RCS file: /cvs/e/e_modules/taskbar/e_mod_main.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- e_mod_main.c23 Sep 2006 16:07:50 -  1.23
+++ e_mod_main.c30 Dec 2006 17:56:39 -  1.24
@@ -137,7 +137,7 @@
b-inst = inst;
inst-taskbar = b;
o = b-o_gccbox;
-   gcc = e_gadcon_client_new(gc, name, id, style, o);
+   gcc = e_gadcon_client_new(gc, style, o);
gcc-data = inst;
 
inst-gcc = gcc;



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


E CVS: tclock englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : tclock

Dir : e_modules/tclock


Modified Files:
e_mod_main.c 


Log Message:
Remove name and id from e_gadcon_client_new.

===
RCS file: /cvs/e/e_modules/tclock/e_mod_main.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -3 -r1.43 -r1.44
--- e_mod_main.c10 Oct 2006 17:33:48 -  1.43
+++ e_mod_main.c30 Dec 2006 17:56:39 -  1.44
@@ -68,7 +68,7 @@
 edje_object_file_set (o, buf, modules/tclock/main);
   evas_object_show (o);
 
-  gcc = e_gadcon_client_new (gc, name, id, style, o);
+  gcc = e_gadcon_client_new (gc, style, o);
   gcc-data = inst;
   inst-gcc = gcc;
   inst-tclock = o;



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


E CVS: screenshot englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : screenshot

Dir : e_modules/screenshot


Modified Files:
e_mod_main.c 


Log Message:
Remove name and id from e_gadcon_client_new.

===
RCS file: /cvs/e/e_modules/screenshot/e_mod_main.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -3 -r1.67 -r1.68
--- e_mod_main.c11 Oct 2006 19:35:54 -  1.67
+++ e_mod_main.c30 Dec 2006 17:56:39 -  1.68
@@ -90,7 +90,7 @@
   inst-ss = ss;
 
   o = ss-ss_obj;
-  gcc = e_gadcon_client_new (gc, name, id, style, o);
+  gcc = e_gadcon_client_new (gc, style, o);
   gcc-data = inst;
   inst-gcc = gcc;
   inst-ss_obj = o;



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


E CVS: uptime englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
e_mod_main.c 


Log Message:
Remove name and id from e_gadcon_client_new.

===
RCS file: /cvs/e/e_modules/uptime/e_mod_main.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- e_mod_main.c17 Sep 2006 17:08:29 -  1.21
+++ e_mod_main.c30 Dec 2006 17:56:40 -  1.22
@@ -102,7 +102,7 @@
   inst-ut = ut;
 
   o = ut-ut_obj;
-  gcc = e_gadcon_client_new (gc, name, id, style, o);
+  gcc = e_gadcon_client_new (gc, style, o);
   gcc-data = inst;
   inst-gcc = gcc;
   inst-ut_obj = o;



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


E CVS: weather englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : weather

Dir : e_modules/weather


Modified Files:
e_mod_main.c 


Log Message:
Remove name and id from e_gadcon_client_new.

===
RCS file: /cvs/e/e_modules/weather/e_mod_main.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -3 -r1.44 -r1.45
--- e_mod_main.c17 Sep 2006 17:20:33 -  1.44
+++ e_mod_main.c30 Dec 2006 17:56:40 -  1.45
@@ -87,7 +87,7 @@
   inst-weather = w;
 
   o = w-weather_obj;
-  gcc = e_gadcon_client_new (gc, name, id, style, o);
+  gcc = e_gadcon_client_new (gc, style, o);
   gcc-data = inst;
   inst-gcc = gcc;
   inst-weather_obj = o;



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


E CVS: winselector englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : winselector

Dir : e_modules/winselector


Modified Files:
e_mod_main.c 


Log Message:
Remove name and id from e_gadcon_client_new.

===
RCS file: /cvs/e/e_modules/winselector/e_mod_main.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_mod_main.c28 Oct 2006 12:08:19 -  1.8
+++ e_mod_main.c30 Dec 2006 17:56:40 -  1.9
@@ -70,7 +70,7 @@
   evas_object_show (o);
   edje_object_signal_emit (o, passive, );
 
-  gcc = e_gadcon_client_new (gc, name, id, style, o);
+  gcc = e_gadcon_client_new (gc, style, o);
   gcc-data = inst;
 
   inst-gcc = gcc;



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


E CVS: apps/e englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_gadcon.c 


Log Message:
Drag gadcons off the shelf in edit mode to remove them.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_gadcon.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -3 -r1.56 -r1.57
--- e_gadcon.c  30 Dec 2006 17:54:26 -  1.56
+++ e_gadcon.c  30 Dec 2006 18:12:53 -  1.57
@@ -1623,7 +1623,6 @@
if (e_gadcon_layout_orientation_get(gcc-gadcon-o_container))
  {
// TODO: Configure this value
-#if 0
if (abs((y + gcc-dy) - gcc-drag.y)  10)
  {
 E_Drag *drag;
@@ -1650,9 +1649,7 @@
 e_util_evas_fake_mouse_up_later(gcc-gadcon-evas, 1);
 return;
  }
-   else
-#endif
-   if (x  0)
+   else if (x  0)
  {
 if (gcc-state_info.state != E_LAYOUT_ITEM_STATE_POS_INC)
   gcc-state_info.resist = 0;
@@ -1904,53 +1901,31 @@
 {
// TODO: Need to check if we drop on the same gadcon as the drag begins.
//   This should result in a reorder, not a remove.
-#if 0
E_Gadcon_Client *gcc;
E_Gadcon*gc;
-   Evas_List *l;
-   int ok;
E_Config_Gadcon *cf_gc = NULL;
E_Config_Gadcon_Client *cf_gcc;

gcc = drag-data;
gc = gcc-gadcon;
-   ok = 0;
-   for (l = e_config-gadcons; l; l = l-next)
- {
-   cf_gc = l-data;
-   if ((!strcmp(cf_gc-name, gc-name)) 
-   (!strcmp(cf_gc-id, gc-id)))
- {
-ok = 1;
-break;
- }
- }
-   if (ok)
+   cf_gc = e_gadcon_config_get(gc-name, gc-id);
+   if (cf_gc)
  {
-   for (l = cf_gc-clients; l; l = l-next) 
+   cf_gcc = e_gadcon_client_config_get(gc, gcc-name, gcc-id);
+   if (cf_gcc)
  {
-E_Config_Gadcon_Client *cf_gcc;
-
-cf_gcc = l-data;
-if (!cf_gcc) continue;
-if (!cf_gcc-name) continue;
-if ((!strcmp(cf_gcc-name, gcc-name))  (!strcmp(cf_gcc-id, 
gcc-id)))
-  {
- if (cf_gcc-name) evas_stringshare_del(cf_gcc-name);
- if (cf_gcc-id) evas_stringshare_del(cf_gcc-id);
- if (cf_gcc-style) evas_stringshare_del(cf_gcc-style);
- cf_gc-clients = evas_list_remove(cf_gc-clients, cf_gcc);
- free(cf_gcc);
- break;
-  }
+if (cf_gcc-name) evas_stringshare_del(cf_gcc-name);
+if (cf_gcc-id) evas_stringshare_del(cf_gcc-id);
+if (cf_gcc-style) evas_stringshare_del(cf_gcc-style);
+cf_gc-clients = evas_list_remove(cf_gc-clients, cf_gcc);
+free(cf_gcc);
  }
  }
+   e_object_unref(E_OBJECT(drag-data));
 
e_gadcon_unpopulate(gc);
e_gadcon_populate(gc);
e_config_save_queue();
-#endif
-   e_object_unref(E_OBJECT(drag-data));
 }
 
 /* a smart object JUST for gadcon */



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


E CVS: apps/e englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_gadcon.c e_gadcon.h e_int_gadcon_config.c 


Log Message:
Functions to create new config and del config.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_gadcon.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -3 -r1.57 -r1.58
--- e_gadcon.c  30 Dec 2006 18:12:53 -  1.57
+++ e_gadcon.c  30 Dec 2006 21:00:19 -  1.58
@@ -632,6 +632,43 @@
 }
 
 EAPI E_Config_Gadcon_Client *
+e_gadcon_client_config_new(E_Gadcon *gc, const char *name)
+{
+   Evas_List  *l;
+   E_Config_Gadcon*cf_gc;
+   E_Config_Gadcon_Client *cf_gcc;
+   int id = 0;
+   charbuf[256];
+
+   E_OBJECT_CHECK_RETURN(gc, NULL);
+   E_OBJECT_TYPE_CHECK_RETURN(gc, E_GADCON_TYPE, NULL);
+   if (!name) return NULL;
+
+   cf_gc = e_gadcon_config_get(gc-name, gc-id);
+   if (!cf_gc) return NULL;
+   for (l = cf_gc-clients; l; l = l-next)
+ {
+   cf_gcc = l-data;
+   if (!strcmp(name, cf_gcc-name)) id++;
+ }
+   snprintf(buf, sizeof(buf), %s.%s.%i, cf_gc-id, name, id);
+
+   cf_gcc = E_NEW(E_Config_Gadcon_Client, 1);
+   if (!cf_gcc) return NULL;
+   cf_gcc-name = evas_stringshare_add(name);
+   cf_gcc-id = evas_stringshare_add(buf);
+   cf_gcc-geom.res = 800;
+   cf_gcc-geom.size = 80;
+   cf_gcc-geom.pos = cf_gcc-geom.res - cf_gcc-geom.size;
+   cf_gcc-style = NULL;
+   cf_gcc-autoscroll = 0;
+   cf_gcc-resizable = 0;
+   cf_gc-clients = evas_list_append(cf_gc-clients, cf_gcc);
+   e_config_save_queue();
+   return cf_gcc;
+}
+
+EAPI E_Config_Gadcon_Client *
 e_gadcon_client_config_get(E_Gadcon *gc, const char *name, const char *id)
 {
Evas_List  *l;
@@ -640,19 +677,18 @@
 
E_OBJECT_CHECK_RETURN(gc, NULL);
E_OBJECT_TYPE_CHECK_RETURN(gc, E_GADCON_TYPE, NULL);
-   if (!name) return NULL;
 
cf_gc = e_gadcon_config_get(gc-name, gc-id);
if (!cf_gc) return NULL;
for (l = cf_gc-clients; l; l = l-next)
  {
cf_gcc = l-data;
-   if ((!strcmp(cf_gcc-name, name)) 
-   (!strcmp(cf_gcc-id, id)))
+   if (!strcmp(cf_gcc-id, id))
  {
 return cf_gcc;
  }
  }
+   if (!name) return NULL;
 
cf_gcc = E_NEW(E_Config_Gadcon_Client, 1);
if (!cf_gcc) return NULL;
@@ -669,6 +705,27 @@
return cf_gcc;
 }
  
+EAPI void
+e_gadcon_client_config_del(E_Gadcon *gc, const char *id)
+{
+   E_Config_Gadcon *cf_gc;
+   E_Config_Gadcon_Client *cf_gcc;
+
+   cf_gc = e_gadcon_config_get(gc-name, gc-id);
+   if (cf_gc)
+ {
+   cf_gcc = e_gadcon_client_config_get(gc, NULL, id);
+   if (cf_gcc)
+ {
+if (cf_gcc-name) evas_stringshare_del(cf_gcc-name);
+if (cf_gcc-id) evas_stringshare_del(cf_gcc-id);
+if (cf_gcc-style) evas_stringshare_del(cf_gcc-style);
+cf_gc-clients = evas_list_remove(cf_gc-clients, cf_gcc);
+free(cf_gcc);
+ }
+ }
+}
+
 EAPI E_Gadcon_Client *
 e_gadcon_client_new(E_Gadcon *gc, const char *style, Evas_Object *base_obj)
 {
@@ -1903,29 +1960,16 @@
//   This should result in a reorder, not a remove.
E_Gadcon_Client *gcc;
E_Gadcon*gc;
-   E_Config_Gadcon *cf_gc = NULL;
-   E_Config_Gadcon_Client *cf_gcc;
-   
+
gcc = drag-data;
gc = gcc-gadcon;
-   cf_gc = e_gadcon_config_get(gc-name, gc-id);
-   if (cf_gc)
- {
-   cf_gcc = e_gadcon_client_config_get(gc, gcc-name, gcc-id);
-   if (cf_gcc)
- {
-if (cf_gcc-name) evas_stringshare_del(cf_gcc-name);
-if (cf_gcc-id) evas_stringshare_del(cf_gcc-id);
-if (cf_gcc-style) evas_stringshare_del(cf_gcc-style);
-cf_gc-clients = evas_list_remove(cf_gc-clients, cf_gcc);
-free(cf_gcc);
- }
- }
+   e_gadcon_client_config_del(gc, gcc-id);
e_object_unref(E_OBJECT(drag-data));
 
e_gadcon_unpopulate(gc);
e_gadcon_populate(gc);
e_config_save_queue();
+   e_gadcon_edit_begin(gc);
 }
 
 /* a smart object JUST for gadcon */
===
RCS file: /cvs/e/e17/apps/e/src/bin/e_gadcon.h,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- e_gadcon.h  30 Dec 2006 17:54:26 -  1.31
+++ e_gadcon.h  30 Dec 2006 21:00:19 -  1.32
@@ -178,7 +178,9 @@
 EAPI void e_gadcon_dnd_window_set(E_Gadcon *gc, Ecore_X_Window 
win);
 EAPI Ecore_X_Window   e_gadcon_dnd_window_get(E_Gadcon *gc);
 
+EAPI E_Config_Gadcon_Client *e_gadcon_client_config_new(E_Gadcon *gc, const 
char *name);
 EAPI E_Config_Gadcon_Client *e_gadcon_client_config_get(E_Gadcon *gc, const 
char *name, const char *id);
+EAPI void e_gadcon_client_config_del(E_Gadcon *gc, const char *id);
 EAPI E_Gadcon_Client *e_gadcon_client_new(E_Gadcon *gc, const char *style, 

E CVS: proto moom

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : moom
Project : e17
Module  : proto

Dir : e17/proto/etk/doc/img/widgets


Modified Files:
toggle_button.png 


Log Message:
* [Toggle_Button] Documentation


===
RCS file: /cvs/e/e17/proto/etk/doc/img/widgets/toggle_button.png,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
Binary files /tmp/cvsYXzRWc and /tmp/cvsPXeIIR differ



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


E CVS: proto moom

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : moom
Project : e17
Module  : proto

Dir : e17/proto/etk/src/lib


Modified Files:
etk_toggle_button.c etk_toggle_button.h etk_types.h 


Log Message:
* [Toggle_Button] Documentation


===
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_toggle_button.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- etk_toggle_button.c 6 Oct 2006 17:04:15 -   1.14
+++ etk_toggle_button.c 30 Dec 2006 21:22:45 -  1.15
@@ -38,7 +38,7 @@
 /**
  * @internal
  * @brief Gets the type of an Etk_Toggle_Button
- * @return Returns the type on an Etk_Toggle_Button
+ * @return Returns the type of an Etk_Toggle_Button
  */
 Etk_Type *etk_toggle_button_type_get()
 {
@@ -46,11 +46,14 @@
 
if (!toggle_button_type)
{
-  toggle_button_type = etk_type_new(Etk_Toggle_Button, ETK_BUTTON_TYPE, 
sizeof(Etk_Toggle_Button), ETK_CONSTRUCTOR(_etk_toggle_button_constructor), 
NULL);
+  toggle_button_type = etk_type_new(Etk_Toggle_Button, ETK_BUTTON_TYPE, 
sizeof(Etk_Toggle_Button),
+ ETK_CONSTRUCTOR(_etk_toggle_button_constructor), NULL);
   
-  _etk_toggle_button_signals[ETK_TOGGLE_BUTTON_TOGGLED_SIGNAL] = 
etk_signal_new(toggled, toggle_button_type, 
ETK_MEMBER_OFFSET(Etk_Toggle_Button, toggled), etk_marshaller_VOID__VOID, NULL, 
NULL);
+  _etk_toggle_button_signals[ETK_TOGGLE_BUTTON_TOGGLED_SIGNAL] = 
etk_signal_new(toggled,
+ toggle_button_type, ETK_MEMBER_OFFSET(Etk_Toggle_Button, toggled), 
etk_marshaller_VOID__VOID, NULL, NULL);

-  etk_type_property_add(toggle_button_type, active, 
ETK_TOGGLE_BUTTON_ACTIVE_PROPERTY, ETK_PROPERTY_BOOL, 
ETK_PROPERTY_READABLE_WRITABLE, etk_property_value_bool(0));
+  etk_type_property_add(toggle_button_type, active, 
ETK_TOGGLE_BUTTON_ACTIVE_PROPERTY,
+ ETK_PROPERTY_BOOL, ETK_PROPERTY_READABLE_WRITABLE, 
etk_property_value_bool(ETK_FALSE));
   
   toggle_button_type-property_set = _etk_toggle_button_property_set;
   toggle_button_type-property_get = _etk_toggle_button_property_get;
@@ -61,7 +64,7 @@
 
 /**
  * @brief Creates a new toggle button
- * @return Returns the new toggle button widget
+ * @return Returns the new toggle-button widget
  */
 Etk_Widget *etk_toggle_button_new()
 {
@@ -71,11 +74,12 @@
 /**
  * @brief Creates a new toggle button with a label
  * @param label the label
- * @return Returns the new toggle button widget
+ * @return Returns the new toggle-button widget
  */
 Etk_Widget *etk_toggle_button_new_with_label(const char *label)
 {
-   return etk_widget_new(ETK_TOGGLE_BUTTON_TYPE, theme_group, 
toggle_button, label, label, focusable, ETK_TRUE, NULL);
+   return etk_widget_new(ETK_TOGGLE_BUTTON_TYPE, theme_group, 
toggle_button,
+  label, label, focusable, ETK_TRUE, NULL);
 }
 
 /**
@@ -90,9 +94,9 @@
 }
 
 /**
- * @brief Sets the state of the toggle button
+ * @brief Sets whether the toggle button is active or not
  * @param toggle_button a toggle button
- * @param active if @a active == ETK_TRUE, the toggle button will be active
+ * @param active if @a active is ETK_TRUE, the toggle button will be 
activated. Otherwise, it will be deactivated
  */
 void etk_toggle_button_active_set(Etk_Toggle_Button *toggle_button, Etk_Bool 
active)
 {
@@ -103,7 +107,7 @@
 /**
  * @brief Gets the state of the toggle button
  * @param toggle_button a toggle button
- * @return Returns ETK_TRUE if the button is activated, ETK_FALSE otherwise
+ * @return Returns ETK_TRUE if the button is active, ETK_FALSE otherwise
  */
 Etk_Bool etk_toggle_button_active_get(Etk_Toggle_Button *toggle_button)
 {
@@ -128,8 +132,11 @@
toggle_button-toggled = _etk_toggle_button_toggled_handler;
toggle_button-active_set = _etk_toggle_button_active_set_default;
 
-   etk_signal_connect(realize, ETK_OBJECT(toggle_button), 
ETK_CALLBACK(_etk_toggle_button_realize_cb), NULL);
-   etk_signal_connect_swapped(clicked, ETK_OBJECT(toggle_button), 
ETK_CALLBACK(etk_toggle_button_toggle), toggle_button);
+   etk_signal_connect(realize, ETK_OBJECT(toggle_button),
+  ETK_CALLBACK(_etk_toggle_button_realize_cb), NULL);
+   /* If the button is clicked, we toggle it */
+   etk_signal_connect_swapped(clicked, ETK_OBJECT(toggle_button),
+  ETK_CALLBACK(etk_toggle_button_toggle), toggle_button);
 }
 
 /* Sets the property whose id is property_id to the value value */
@@ -212,3 +219,35 @@
 }
 
 /** @} */
+
+/**
+ *
+ * Documentation
+ *
+ **/
+
+/**
+ * @addtogroup Etk_Toggle_Button
+ *
+ * @image html widgets/toggle_button.png
+ * 
+ * \par Object Hierarchy:
+ * - Etk_Object
+ *   - Etk_Widget
+ * - Etk_Container
+ *   - Etk_Bin
+ * - Etk_Button
+ *   - Etk_Toggle_Button
+ *
+ * \par Signals:
+ * @signal_name toggled: Emitted when the state of the toggle button is 
changed
+ * @signal_cb void callback(Etk_Toggle_Button *button, 

E CVS: proto moom

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : moom
Project : e17
Module  : proto

Dir : e17/proto/etk/data/themes/default/images


Modified Files:
Makefile.am 


Log Message:
* [Toggle_Button] Documentation


===
RCS file: /cvs/e/e17/proto/etk/data/themes/default/images/Makefile.am,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- Makefile.am 26 Dec 2006 14:51:23 -  1.15
+++ Makefile.am 30 Dec 2006 21:22:44 -  1.16
@@ -83,6 +83,12 @@
 tree_expander_fold.png \
 tree_expander_unfold.png \
 tree_header_over.png \
+tree_header_first.png \
+tree_header_first2.png \
+tree_header_last.png \
+tree_header_last2.png \
+tree_header_middle.png \
+tree_header_middle2.png \
 tree_header_unique.png \
 tree_header_unique2.png \
 tree.png \



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


E CVS: proto moom

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : moom
Project : e17
Module  : proto

Dir : e17/proto/etk/data/themes/default/macros


Modified Files:
toolbar.edc 


Log Message:
* [Toggle_Button] Documentation


===
RCS file: /cvs/e/e17/proto/etk/data/themes/default/macros/toolbar.edc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- toolbar.edc 20 Oct 2006 17:51:43 -  1.2
+++ toolbar.edc 30 Dec 2006 21:22:44 -  1.3
@@ -5,7 +5,7 @@
  type: RECT; \
  description { \
 state: default 0.0; \
-color: 255 255 255 0; \
+color: 255 255 0 120; \
 rel1 { \
relative: 0.0 0.0; \
offset: ox1 oy1; \



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


E CVS: proto moom

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : moom
Project : e17
Module  : proto

Dir : e17/proto/etk/data/themes/default/widgets


Modified Files:
slider.edc 


Log Message:
* [Toggle_Button] Documentation


===
RCS file: /cvs/e/e17/proto/etk/data/themes/default/widgets/slider.edc,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- slider.edc  9 Dec 2006 09:56:32 -   1.5
+++ slider.edc  30 Dec 2006 21:22:45 -  1.6
@@ -64,6 +64,7 @@
 state: default 0.0;
 min: 32 32;
 max: 32 32;
+fixed: 1 1;
 rel1 {
to: etk.dragable.slider;
 }
@@ -228,6 +229,7 @@
 state: default 0.0;
 min: 32 32;
 max: 32 32;
+fixed: 1 1;
 rel1 {
to: etk.dragable.slider;
 }



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


E CVS: proto moom

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : moom
Project : e17
Module  : proto

Dir : e17/proto/etk


Modified Files:
ABOUT-NLS 


Log Message:
* [Toggle_Button] Documentation


===
RCS file: /cvs/e/e17/proto/etk/ABOUT-NLS,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ABOUT-NLS   16 Oct 2005 00:05:57 -  1.1
+++ ABOUT-NLS   30 Dec 2006 21:22:44 -  1.2
@@ -185,28 +185,548 @@
 
  Ready PO files   af am ar az be bg bs ca cs da de el en en_GB eo es
 ++
- etk||
+ a2ps   | [] [] [] []|
+ aegis  |   ()   |
+ ant-phone  |   ()   |
+ anubis ||
+ ap-utils   ||
+ aspell | [] |
+ bash   |  []   [] [] [] |
+ batchelor  ||
+ bfd|[]   [] |
+ binutils   |[]   [] |
+ bison  |[] [][] |
+ bluez-pin  | []  []   []|
+ clisp  ||
+ clisp  |   [][]  [] |
+ console-tools  | [][]   |
+ coreutils  |  [][] [][] |
+ cpio   |[] [][] |
+ darkstat   |[]  ()   [] |
+ diffutils  |  [] [] [] [] []  [] [] |
+ e2fsprogs  | [][][] |
+ enscript   |  [][] [][] |
+ error  |  [][] [][]  [] |
+ fetchmail  |  [] () [] [] [] [] |
+ fileutils  |[] [][] |
+ findutils  | []   [][] [] []  [] [] |
+ flex   |  [][] [][] |
+ fslint ||
+ gas| [] |
+ gawk   |  [][] [][] |
+ gbiff  |   []   |
+ gcal   |  []|
+ gcc|[]   [] |
+ gettext| []   [][] [][] |
+ gettext-examples   | []   []   [][] |
+ gettext-runtime| []   [][] [][] |
+ gettext-tools  |  []   [][] |
+ gimp-print | [] [] [][]  [] |
+ gliv   ||
+ glunarclock|[] []   |
+ gnubiff|   []   |
+ gnucash| []()[]  [] |
+ gnucash-glossary   |[] ()[] |
+ gnupg  |  [] ()[] []  [] [] |
+ gpe-aerial | [] |
+ gpe-beam   | [][]   |
+ gpe-calendar   | [][]   |
+ gpe-clock  | [][]   |
+ gpe-conf   | [][]   |
+ gpe-contacts   | [][]   |
+ gpe-edit   | [] |
+ gpe-go | [] |
+ gpe-login  | [][]   |
+ gpe-ownerinfo  | [][]   |
+ gpe-sketchbook 

E CVS: proto moom

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : moom
Project : e17
Module  : proto

Dir : e17/proto/etk/src/lib


Modified Files:
etk_button.c etk_combobox.c etk_toggle_button.c 


Log Message:
* Do not feed mouse up events when a popup window is popped-up. If 
fixes problems when a popup window appears if the mouse pointer is above 
a button


===
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_button.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- etk_button.c6 Oct 2006 17:04:14 -   1.30
+++ etk_button.c30 Dec 2006 22:11:49 -  1.31
@@ -190,8 +190,9 @@
else
   etk_widget_show(button-label);
 
+   /* Rebuild the button only if necessary (i.e. if the label is currently not 
packed into the button) */
rebuild = ETK_TRUE;
-   for (parent = etk_widget_parent_get(ETK_WIDGET(button)); parent; parent = 
etk_widget_parent_get(parent))
+   for (parent = etk_widget_parent_get(button-label); parent; parent = 
etk_widget_parent_get(parent))
{
   if (parent == widget)
   {
===
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_combobox.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- etk_combobox.c  29 Dec 2006 22:10:13 -  1.34
+++ etk_combobox.c  30 Dec 2006 22:11:49 -  1.35
@@ -678,7 +678,7 @@
   return;

combobox-button = etk_widget_new(ETK_TOGGLE_BUTTON_TYPE, theme_group, 
button, theme_parent, combobox,
-  visible, ETK_TRUE, repeat_mouse_events, ETK_TRUE, internal, 
ETK_TRUE, NULL);
+  visible, ETK_TRUE, repeat_mouse_events, ETK_TRUE, focusable, 
ETK_FALSE, internal, ETK_TRUE, NULL);
etk_widget_parent_set(combobox-button, ETK_WIDGET(combobox));
etk_signal_connect(toggled, ETK_OBJECT(combobox-button), 
ETK_CALLBACK(_etk_combobox_button_toggled_cb), combobox);

===
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_toggle_button.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- etk_toggle_button.c 30 Dec 2006 21:22:45 -  1.15
+++ etk_toggle_button.c 30 Dec 2006 22:11:49 -  1.16
@@ -9,13 +9,13 @@
  * @{
  */
 
-enum _Etk_Toggle_Button_Signal_Id
+enum Etk_Toggle_Button_Signal_Id
 {
ETK_TOGGLE_BUTTON_TOGGLED_SIGNAL,
ETK_TOGGLE_BUTTON_NUM_SIGNALS
 };
 
-enum _Etk_Toggle_Button_Property_Id
+enum Etk_Toggle_Button_Property_Id
 {
ETK_TOGGLE_BUTTON_ACTIVE_PROPERTY
 };



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


E CVS: proto moom

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : moom
Project : e17
Module  : proto

Dir : e17/proto/etk/src/engines/ecore_evas_x11


Modified Files:
ecore_evas_x11.c 


Log Message:
* Do not feed mouse up events when a popup window is popped-up. If 
fixes problems when a popup window appears if the mouse pointer is above 
a button


===
RCS file: /cvs/e/e17/proto/etk/src/engines/ecore_evas_x11/ecore_evas_x11.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- ecore_evas_x11.c9 Dec 2006 09:56:32 -   1.21
+++ ecore_evas_x11.c30 Dec 2006 22:11:49 -  1.22
@@ -494,7 +494,8 @@
   int mx, my;
   
   /* Release all the buttons of the mouse */
-  ecore_x_pointer_last_xy_get(mx, my);
+  /* TODO: I commented this out because it causes some problems... */
+  /*ecore_x_pointer_last_xy_get(mx, my);
   if ((win = ecore_x_window_at_xy_get(mx, my)) != 0)
   {
  int i;
@@ -502,7 +503,7 @@
  ecore_x_pointer_xy_get(win, mx, my);
  for (i = 1; i = 32; i++)
 ecore_x_mouse_up_send(win, mx, my, i);
-  }
+  }*/
   
   /* Create the input window */
   root = engine_data-x_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.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_config.c e_config.h e_gadcon.c e_gadcon.h 


Log Message:
Clean gadgets because of current changes.
It is possible to drop gadcon clients on shelves.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_config.c,v
retrieving revision 1.221
retrieving revision 1.222
diff -u -3 -r1.221 -r1.222
--- e_config.c  30 Dec 2006 17:54:26 -  1.221
+++ e_config.c  30 Dec 2006 22:31:28 -  1.222
@@ -1156,10 +1156,13 @@
  1, 200, E_GADCON_ORIENT_BOTTOM,
  1, 0, default, 40, 0);
  }
+   IFCFGEND;
+   IFCFG(0x0107); /* the version # where this value(s) was introduced */
  {
E_Config_Gadcon *cf_gc;
E_Config_Gadcon_Client *cf_gcc;
 
+   e_config-gadcons = NULL;
 #define CFG_GADCON(_name, _id) \
cf_gc = E_NEW(E_Config_Gadcon, 1);\
cf_gc-name = evas_stringshare_add(_name); \
===
RCS file: /cvs/e/e17/apps/e/src/bin/e_config.h,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -3 -r1.137 -r1.138
--- e_config.h  29 Dec 2006 02:56:26 -  1.137
+++ e_config.h  30 Dec 2006 22:31:28 -  1.138
@@ -52,7 +52,7 @@
 /* increment this whenever a new set of config values are added but the users
  * config doesn't need to be wiped - simply new values need to be put in
  */
-#define E_CONFIG_FILE_GENERATION 0x0106
+#define E_CONFIG_FILE_GENERATION 0x0107
 #define E_CONFIG_FILE_VERSION((E_CONFIG_FILE_EPOCH  16) | 
E_CONFIG_FILE_GENERATION)
 
 #define E_EVAS_ENGINE_DEFAULT  0
===
RCS file: /cvs/e/e17/apps/e/src/bin/e_gadcon.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -3 -r1.58 -r1.59
--- e_gadcon.c  30 Dec 2006 21:00:19 -  1.58
+++ e_gadcon.c  30 Dec 2006 22:31:28 -  1.59
@@ -32,6 +32,10 @@
 static void _e_gadcon_cb_signal_resize_right_stop(void *data, Evas_Object 
*obj, const char *emission, const char *source);
 static void _e_gadcon_cb_signal_resize_right_go(void *data, Evas_Object *obj, 
const char *emission, const char *source);
 static void _e_gadcon_cb_drag_finished(E_Drag *drag, int dropped);
+static void _e_gadcon_cb_dnd_enter(void *data, const char *type, void *event);
+static void _e_gadcon_cb_dnd_move(void *data, const char *type, void *event);
+static void _e_gadcon_cb_dnd_leave(void *data, const char *type, void *event);
+static void _e_gadcon_cb_drop(void *data, const char *type, void *event);
 
 static Evas_Object *e_gadcon_layout_add(Evas *evas);
 static void e_gadcon_layout_orientation_set(Evas_Object *obj, int horizontal);
@@ -249,6 +253,8 @@
 e_gadcon_swallowed_new(const char *name, char *id, Evas_Object *obj, char 
*swallow_name)
 {
E_Gadcon*gc;
+   Evas_Coord   x, y, w, h;
+   const char  *drop_types[] = { enlightenment/gadcon_client };

gc = E_OBJECT_ALLOC(E_Gadcon, E_GADCON_TYPE, _e_gadcon_free);
if (!gc) return NULL;
@@ -263,6 +269,12 @@
gc-orient = E_GADCON_ORIENT_HORIZ;
gc-evas = evas_object_evas_get(obj);
gc-o_container = e_gadcon_layout_add(gc-evas);
+   evas_object_geometry_get(gc-o_container, x, y, w, h);
+   gc-drop_handler = e_drop_handler_add(E_OBJECT(gc), gc,
+_e_gadcon_cb_dnd_enter, 
_e_gadcon_cb_dnd_move,
+_e_gadcon_cb_dnd_leave, 
_e_gadcon_cb_drop,
+drop_types, 1,
+x, y, w, h);
evas_object_smart_callback_add(gc-o_container, size_request,
  _e_gadcon_cb_size_request, gc);
evas_object_smart_callback_add(gc-o_container, min_size_request,
@@ -1325,6 +1337,7 @@
evas_stringshare_del(gc-id);
evas_stringshare_del(gc-edje.swallow_name);
if (gc-config_dialog) e_object_del(E_OBJECT(gc-config_dialog));
+   if (gc-drop_handler) e_drop_handler_del(gc-drop_handler);
free(gc);
 }
 
@@ -1525,8 +1538,9 @@
 static void
 _e_gadcon_cb_size_request(void *data, Evas_Object *obj, void *event_info)
 {
-   E_Gadcon *gc;
-   
+   E_Gadcon   *gc;
+   Evas_Coord  x, y, w, h;
+ 
gc = data;
if (gc-resize_request.func)
  {
@@ -1536,6 +1550,8 @@

gc-resize_request.func(gc-resize_request.data, gc, w, h);
  }
+   evas_object_geometry_get(gc-o_container, x, y, w, h);
+   e_drop_handler_geometry_set(gc-drop_handler, x, y, w, h);
 }
 
 static void
@@ -1970,6 +1986,42 @@
e_gadcon_populate(gc);
e_config_save_queue();
e_gadcon_edit_begin(gc);
+}
+
+static void
+_e_gadcon_cb_dnd_enter(void *data, const char *type, void *event)
+{
+   // TODO: Need a marker to show where the drop is going to be
+}
+
+static void
+_e_gadcon_cb_dnd_move(void *data, const char *type, void *event)
+{
+   // TODO: Need a 

E CVS: proto moom

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : moom
Project : e17
Module  : proto

Dir : e17/proto/etk/data/themes/default/widgets


Modified Files:
tree.edc 


Log Message:
* The focus glow does not look good with the tree... it's disabled. 
Ideas are welcomed :)


===
RCS file: /cvs/e/e17/proto/etk/data/themes/default/widgets/tree.edc,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- tree.edc26 Dec 2006 14:51:23 -  1.24
+++ tree.edc30 Dec 2006 22:46:32 -  1.25
@@ -137,9 +137,10 @@
 }
  }
   }
-  FOCUS_GLOW(0.0, 0.0, -1, 0, background, 1.0, 1.0, 0, -1, background)
+  /* TODO: it doesn't look good... */
+  //FOCUS_GLOW(0.0, 0.0, -1, 0, background, 1.0, 1.0, 0, -1, 
background)
}
-   programs {
+   /*programs {
   program {
  name: tree_focus;
  signal: etk,state,focused;
@@ -152,7 +153,7 @@
  source: etk;
  UNFOCUS_GLOW_ACTION
   }
-   }
+   }*/
 }
 
 



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


E CVS: proto moom

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : moom
Project : e17
Module  : proto

Dir : e17/proto/etk/data/themes/default/macros


Modified Files:
toolbar.edc 


Log Message:
* Toolbar theme: remove the god damn yellow thing


===
RCS file: /cvs/e/e17/proto/etk/data/themes/default/macros/toolbar.edc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- toolbar.edc 30 Dec 2006 21:22:44 -  1.3
+++ toolbar.edc 30 Dec 2006 22:49:59 -  1.4
@@ -5,7 +5,7 @@
  type: RECT; \
  description { \
 state: default 0.0; \
-color: 255 255 0 120; \
+color: 255 255 255 0; \
 rel1 { \
relative: 0.0 0.0; \
offset: ox1 oy1; \



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


E CVS: proto moom

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : moom
Project : e17
Module  : proto

Dir : e17/proto/exhibit/src/bin


Modified Files:
exhibit_tab.c 


Log Message:
* It looks better if the vscrollbars are not always visible imho


===
RCS file: /cvs/e/e17/proto/exhibit/src/bin/exhibit_tab.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- exhibit_tab.c   30 Dec 2006 12:28:03 -  1.32
+++ exhibit_tab.c   30 Dec 2006 22:58:20 -  1.33
@@ -47,7 +47,6 @@
etk_signal_connect(row_clicked, ETK_OBJECT(tab-dtree), 
ETK_CALLBACK(_ex_tab_dtree_item_clicked_cb), e);
tab-dcol = etk_tree_col_new(ETK_TREE(tab-dtree), Directories, 
etk_tree_model_icon_text_new(ETK_TREE(tab-dtree), ETK_TREE_FROM_EDJE), 10);
etk_tree_headers_visible_set(ETK_TREE(tab-dtree), 0);
-   
etk_scrolled_view_policy_set(etk_tree_scrolled_view_get(ETK_TREE(tab-dtree)), 
ETK_POLICY_AUTO, ETK_POLICY_SHOW);
etk_tree_build(ETK_TREE(tab-dtree));
 
tab-itree = etk_tree_new();
@@ -62,7 +61,6 @@
tab-icol = etk_tree_col_new(ETK_TREE(tab-itree), Files, imodel, 10);
etk_tree_headers_visible_set(ETK_TREE(tab-itree), 0);
etk_tree_row_height_set(ETK_TREE(tab-itree), 60);
-   
etk_scrolled_view_policy_set(etk_tree_scrolled_view_get(ETK_TREE(tab-itree)), 
ETK_POLICY_AUTO, ETK_POLICY_SHOW);
etk_tree_build(ETK_TREE(tab-itree));
 
if (dir)



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


E CVS: proto moom

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : moom
Project : e17
Module  : proto

Dir : e17/proto/etk


Modified Files:
configure.in 


Log Message:
* Comment out a line. Thanks `vko for having caught this :)


===
RCS file: /cvs/e/e17/proto/etk/configure.in,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- configure.in14 Nov 2006 22:33:10 -  1.20
+++ configure.in30 Dec 2006 23:24:27 -  1.21
@@ -198,7 +198,7 @@
 fi
 
 #
-Ecore_FB
+## Ecore_FB
 have_ecore_fb=no
 save_CPPFLAGS=$CPPFLAGS
 CPPFLAGS=$CPPFLAGS $ECORE_CFLAGS



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


E CVS: apps/e englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/temperature


Modified Files:
e_mod_main.c 


Log Message:
Revert to old e_gadcon_client_new, some modules require id to be set on
the gadcon client after this func returns.

===
RCS file: /cvs/e/e17/apps/e/src/modules/temperature/e_mod_main.c,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -3 -r1.76 -r1.77
--- e_mod_main.c30 Dec 2006 17:54:27 -  1.76
+++ e_mod_main.c30 Dec 2006 23:32:25 -  1.77
@@ -77,7 +77,7 @@
e_theme_edje_object_set(o, base/theme/modules/temperature,
   e/modules/temperature/main);

-   gcc = e_gadcon_client_new(gc, style, o);
+   gcc = e_gadcon_client_new(gc, name, id, style, o);
gcc-data = inst;

inst-gcc = gcc;



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


E CVS: apps/e englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/ibar


Modified Files:
e_mod_main.c 


Log Message:
Revert to old e_gadcon_client_new, some modules require id to be set on
the gadcon client after this func returns.

===
RCS file: /cvs/e/e17/apps/e/src/modules/ibar/e_mod_main.c,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -3 -r1.163 -r1.164
--- e_mod_main.c30 Dec 2006 17:54:26 -  1.163
+++ e_mod_main.c30 Dec 2006 23:32:25 -  1.164
@@ -141,7 +141,7 @@
b-inst = inst;
inst-ibar = b;
o = b-o_box;
-   gcc = e_gadcon_client_new(gc, style, o);
+   gcc = e_gadcon_client_new(gc, name, id, style, o);
gcc-data = inst;

inst-gcc = gcc;



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


E CVS: apps/e englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/pager


Modified Files:
e_mod_main.c 


Log Message:
Revert to old e_gadcon_client_new, some modules require id to be set on
the gadcon client after this func returns.

===
RCS file: /cvs/e/e17/apps/e/src/modules/pager/e_mod_main.c,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -3 -r1.198 -r1.199
--- e_mod_main.c30 Dec 2006 17:54:27 -  1.198
+++ e_mod_main.c30 Dec 2006 23:32:25 -  1.199
@@ -171,7 +171,7 @@
p-inst = inst;
inst-pager = p;
o = p-o_table;
-   gcc = e_gadcon_client_new(gc, style, o);
+   gcc = e_gadcon_client_new(gc, name, id, style, o);
gcc-data = inst;

inst-gcc = gcc;



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


E CVS: apps/e englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/cpufreq


Modified Files:
e_mod_main.c 


Log Message:
Revert to old e_gadcon_client_new, some modules require id to be set on
the gadcon client after this func returns.

===
RCS file: /cvs/e/e17/apps/e/src/modules/cpufreq/e_mod_main.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -3 -r1.53 -r1.54
--- e_mod_main.c30 Dec 2006 17:54:26 -  1.53
+++ e_mod_main.c30 Dec 2006 23:32:25 -  1.54
@@ -86,7 +86,7 @@
edje_object_signal_callback_add(o, e,action,frequency,increase, *, 
_cpufreq_face_cb_set_frequency, NULL);
edje_object_signal_callback_add(o, e,action,frequency,decrease, *, 
_cpufreq_face_cb_set_frequency, NULL);

-   gcc = e_gadcon_client_new(gc, style, o);
+   gcc = e_gadcon_client_new(gc, name, id, style, o);
gcc-data = inst;

inst-gcc = gcc;



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


E CVS: apps/e englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/ibox


Modified Files:
e_mod_main.c 


Log Message:
Revert to old e_gadcon_client_new, some modules require id to be set on
the gadcon client after this func returns.

===
RCS file: /cvs/e/e17/apps/e/src/modules/ibox/e_mod_main.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -3 -r1.77 -r1.78
--- e_mod_main.c30 Dec 2006 17:54:27 -  1.77
+++ e_mod_main.c30 Dec 2006 23:32:25 -  1.78
@@ -151,7 +151,7 @@
b-inst = inst;
inst-ibox = b;
o = b-o_box;
-   gcc = e_gadcon_client_new(gc, style, o);
+   gcc = e_gadcon_client_new(gc, name, id, style, o);
gcc-data = inst;

inst-gcc = gcc;



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


E CVS: apps/e englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/clock


Modified Files:
e_mod_main.c 


Log Message:
Revert to old e_gadcon_client_new, some modules require id to be set on
the gadcon client after this func returns.

===
RCS file: /cvs/e/e17/apps/e/src/modules/clock/e_mod_main.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -3 -r1.66 -r1.67
--- e_mod_main.c30 Dec 2006 17:54:26 -  1.66
+++ e_mod_main.c30 Dec 2006 23:32:24 -  1.67
@@ -53,7 +53,7 @@
   e/modules/clock/main);
evas_object_show(o);

-   gcc = e_gadcon_client_new(gc, style, o);
+   gcc = e_gadcon_client_new(gc, name, id, style, o);
gcc-data = inst;

inst-gcc = gcc;



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


E CVS: apps/e englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/battery


Modified Files:
e_mod_main.c 


Log Message:
Revert to old e_gadcon_client_new, some modules require id to be set on
the gadcon client after this func returns.

===
RCS file: /cvs/e/e17/apps/e/src/modules/battery/e_mod_main.c,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -3 -r1.92 -r1.93
--- e_mod_main.c30 Dec 2006 17:54:26 -  1.92
+++ e_mod_main.c30 Dec 2006 23:32:24 -  1.93
@@ -91,7 +91,7 @@
e_theme_edje_object_set(o, base/theme/modules/battery,
   e/modules/battery/main);

-   gcc = e_gadcon_client_new(gc, style, o);
+   gcc = e_gadcon_client_new(gc, name, id, style, o);
gcc-data = inst;

inst-gcc = gcc;



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


E CVS: apps/e englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/start


Modified Files:
e_mod_main.c 


Log Message:
Revert to old e_gadcon_client_new, some modules require id to be set on
the gadcon client after this func returns.

===
RCS file: /cvs/e/e17/apps/e/src/modules/start/e_mod_main.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- e_mod_main.c30 Dec 2006 17:54:27 -  1.37
+++ e_mod_main.c30 Dec 2006 23:32:25 -  1.38
@@ -56,7 +56,7 @@
e_theme_edje_object_set(o, base/theme/modules/start, 
e/modules/start/main);
edje_object_signal_emit(o, e,state,unfocused, e);

-   gcc = e_gadcon_client_new(gc, style, o);
+   gcc = e_gadcon_client_new(gc, name, id, style, o);
gcc-data = inst;

inst-gcc = gcc;



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


E CVS: apps/e englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_gadcon.c e_gadcon.h 


Log Message:
Revert to old e_gadcon_client_new, some modules require id to be set on
the gadcon client after this func returns.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_gadcon.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -3 -r1.59 -r1.60
--- e_gadcon.c  30 Dec 2006 22:31:28 -  1.59
+++ e_gadcon.c  30 Dec 2006 23:32:24 -  1.60
@@ -371,8 +371,10 @@
 
 if (gcc)
   {
+#if 0
  gcc-name = evas_stringshare_add(cf_gcc-name);
  gcc-id = evas_stringshare_add(cf_gcc-id);
+#endif
  gcc-client_class = cc;
  gcc-config.pos = cf_gcc-geom.pos;
  gcc-config.size = cf_gcc-geom.size;
@@ -440,8 +442,10 @@
 cf_gcc-style);
 if (gcc)
   {
+#if 0
  gcc-name = evas_stringshare_add(cf_gcc-name);
  gcc-id = evas_stringshare_add(cf_gcc-id);
+#endif
  gcc-client_class = cc;
  gcc-config.pos = cf_gcc-geom.pos;
  gcc-config.size = cf_gcc-geom.size;
@@ -739,7 +743,7 @@
 }
 
 EAPI E_Gadcon_Client *
-e_gadcon_client_new(E_Gadcon *gc, const char *style, Evas_Object *base_obj)
+e_gadcon_client_new(E_Gadcon *gc, const char *name, const char *id, const char 
*style, Evas_Object *base_obj)
 {
E_Gadcon_Client *gcc;

@@ -747,6 +751,8 @@
E_OBJECT_TYPE_CHECK_RETURN(gc, E_GADCON_TYPE, NULL);
gcc = E_OBJECT_ALLOC(E_Gadcon_Client, E_GADCON_CLIENT_TYPE, 
_e_gadcon_client_free);
if (!gcc) return NULL;
+   gcc-name = evas_stringshare_add(name);
+   gcc-id = evas_stringshare_add(id);
gcc-gadcon = gc;
gcc-o_base = base_obj;
gc-clients = evas_list_append(gc-clients, gcc);
@@ -1547,7 +1553,6 @@
Evas_Coord w, h;
 
e_gadcon_layout_asked_size_get(gc-o_container, w, h);
-   
gc-resize_request.func(gc-resize_request.data, gc, w, h);
  }
evas_object_geometry_get(gc-o_container, x, y, w, h);
===
RCS file: /cvs/e/e17/apps/e/src/bin/e_gadcon.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- e_gadcon.h  30 Dec 2006 22:31:28 -  1.33
+++ e_gadcon.h  30 Dec 2006 23:32:24 -  1.34
@@ -183,7 +183,7 @@
 EAPI E_Config_Gadcon_Client *e_gadcon_client_config_new(E_Gadcon *gc, const 
char *name);
 EAPI E_Config_Gadcon_Client *e_gadcon_client_config_get(E_Gadcon *gc, const 
char *name, const char *id);
 EAPI void e_gadcon_client_config_del(E_Gadcon *gc, const char *id);
-EAPI E_Gadcon_Client *e_gadcon_client_new(E_Gadcon *gc, const char *style, 
Evas_Object *base_obj);
+EAPI E_Gadcon_Client *e_gadcon_client_new(E_Gadcon *gc, const char *name, 
const char *id, const char *style, Evas_Object *base_obj);
 EAPI void e_gadcon_client_edit_begin(E_Gadcon_Client *gcc);
 EAPI void e_gadcon_client_edit_end(E_Gadcon_Client *gcc);
 EAPI void e_gadcon_client_size_request(E_Gadcon_Client *gcc, 
Evas_Coord w, Evas_Coord h);



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


E CVS: wlan englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : wlan

Dir : e_modules/wlan


Modified Files:
e_mod_main.c 


Log Message:
API change

===
RCS file: /cvs/e/e_modules/wlan/e_mod_main.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- e_mod_main.c30 Dec 2006 17:56:40 -  1.35
+++ e_mod_main.c30 Dec 2006 23:34:01 -  1.36
@@ -73,7 +73,7 @@
   inst-wlan = wlan;
 
   o = wlan-wlan_obj;
-  gcc = e_gadcon_client_new (gc, style, o);
+  gcc = e_gadcon_client_new (gc, name, id, style, o);
   gcc-data = inst;
   inst-gcc = gcc;
   inst-wlan_obj = o;



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


E CVS: cpu englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : cpu

Dir : e_modules/cpu


Modified Files:
e_mod_main.c 


Log Message:
API change

===
RCS file: /cvs/e/e_modules/cpu/e_mod_main.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- e_mod_main.c30 Dec 2006 17:56:38 -  1.30
+++ e_mod_main.c30 Dec 2006 23:33:59 -  1.31
@@ -87,7 +87,7 @@
  edje_object_file_set(cpu-o_icon, buf, modules/cpu/main);
evas_object_show(cpu-o_icon);

-   gcc = e_gadcon_client_new(gc, style, cpu-o_icon);
+   gcc = e_gadcon_client_new(gc, name, id, style, cpu-o_icon);
gcc-data = inst;
inst-gcc = gcc;
inst-cpu = cpu;



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


E CVS: mail englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : mail

Dir : e_modules/mail


Modified Files:
e_mod_main.c 


Log Message:
API change

===
RCS file: /cvs/e/e_modules/mail/e_mod_main.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -3 -r1.41 -r1.42
--- e_mod_main.c30 Dec 2006 17:56:39 -  1.41
+++ e_mod_main.c30 Dec 2006 23:33:59 -  1.42
@@ -82,7 +82,7 @@
   mail-inst = inst;
   inst-mail = mail;
 
-  gcc = e_gadcon_client_new (gc, style, mail-mail_obj);
+  gcc = e_gadcon_client_new (gc, name, id, style, mail-mail_obj);
   gcc-data = inst;
   inst-gcc = gcc;
   inst-mail_obj = mail-mail_obj;



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


E CVS: alarm englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : alarm

Dir : e_modules/alarm


Modified Files:
e_mod_main.c e_modules-alarm.spec.in 


Log Message:
API change

===
RCS file: /cvs/e/e_modules/alarm/e_mod_main.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_mod_main.c30 Dec 2006 17:56:38 -  1.2
+++ e_mod_main.c30 Dec 2006 23:33:59 -  1.3
@@ -92,7 +92,7 @@
edje_object_signal_callback_add(o, EDJE_SIG_RECV_ALARM_RING_STOP,

   _cb_edje_alarm_ring_stop, NULL);

 

-   gcc = e_gadcon_client_new(gc, style, o);

+   gcc = e_gadcon_client_new(gc, name, id, style, o);

gcc-data = inst;



inst-gcc = gcc;

===
RCS file: /cvs/e/e_modules/alarm/e_modules-alarm.spec.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_modules-alarm.spec.in 8 Nov 2006 10:06:38 -   1.1
+++ e_modules-alarm.spec.in 30 Dec 2006 23:33:59 -  1.2
@@ -1,50 +1,50 @@
-%define module_name alarm

-

-Summary: %{module_name} module for the Enlightenment window manager

-Name: e_modules-%{module_name}

-Version: @VERSION@

-Release: 0.%(date '+%Y%m%d')

-License: BSD

-Group: User Interface/Desktops

-URL: http://www.enlightenment.org/

-Source: 
ftp://ftp.enlightenment.org/pub/enlightenment/%{module_name}-%{version}.tar.gz

-Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings [EMAIL 
PROTECTED]}

-Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment 
Project (http://www.enlightenment.org/)}

-Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}

-BuildRequires: ecore-devel, evas-devel, esmart-devel, edje-bin

-BuildRequires: edje-devel, eet-devel, enlightenment-devel = 0.16.999

-Requires: enlightenment = 0.16.999

-BuildRoot: %{_tmppath}/%{name}-%{version}-root

-

-%description

-%{module_name} module for the Enlightenment window manager.

-

-%prep

-%setup -q -n %{module_name}-%{version}

-

-%build

-%{configure}

-%{__make} %{?_smp_mflags} %{?mflags}

-

-%install

-%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install

-%{find_lang} %{module_name} || true  %{module_name}.lang

-

-%clean

-test x$RPM_BUILD_ROOT != x/  rm -rf $RPM_BUILD_ROOT

-

-%post

-/sbin/ldconfig

-

-%postun

-/sbin/ldconfig

-

-%files -f %{module_name}.lang

-%defattr(-, root, root)

-%doc AUTHORS ChangeLog COPYING* INSTALL NEWS README

-%if %{module_name} == emu

-%{_bindir}/%{module_name}*

-%endif

-%{_libdir}/enlightenment/modules/%{module_name}*

-

-%changelog

+%define module_name alarm
+
+Summary: %{module_name} module for the Enlightenment window manager
+Name: e_modules-%{module_name}
+Version: @VERSION@
+Release: 0.%(date '+%Y%m%d')
+License: BSD
+Group: User Interface/Desktops
+URL: http://www.enlightenment.org/
+Source: 
ftp://ftp.enlightenment.org/pub/enlightenment/%{module_name}-%{version}.tar.gz
+Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings [EMAIL 
PROTECTED]}
+Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment 
Project (http://www.enlightenment.org/)}
+Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
+BuildRequires: ecore-devel, evas-devel, esmart-devel, edje-bin
+BuildRequires: edje-devel, eet-devel, enlightenment-devel = 0.16.999
+Requires: enlightenment = 0.16.999
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+
+%description
+%{module_name} module for the Enlightenment window manager.
+
+%prep
+%setup -q -n %{module_name}-%{version}
+
+%build
+%{configure}
+%{__make} %{?_smp_mflags} %{?mflags}
+
+%install
+%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
+%{find_lang} %{module_name} || true  %{module_name}.lang
+
+%clean
+test x$RPM_BUILD_ROOT != x/  rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+%files -f %{module_name}.lang
+%defattr(-, root, root)
+%doc AUTHORS ChangeLog COPYING* INSTALL NEWS README
+%if %{module_name} == emu
+%{_bindir}/%{module_name}*
+%endif
+%{_libdir}/enlightenment/modules/%{module_name}*
+
+%changelog



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


E CVS: deskshow englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : deskshow

Dir : e_modules/deskshow


Modified Files:
e_mod_main.c 


Log Message:
API change

===
RCS file: /cvs/e/e_modules/deskshow/e_mod_main.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- e_mod_main.c30 Dec 2006 17:56:39 -  1.16
+++ e_mod_main.c30 Dec 2006 23:33:59 -  1.17
@@ -57,7 +57,7 @@
   evas_object_show (o);
   edje_object_signal_emit (o, passive, );
 
-  gcc = e_gadcon_client_new (gc, style, o);
+  gcc = e_gadcon_client_new (gc, name, id, style, o);
   gcc-data = inst;
 
   inst-gcc = gcc;



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


E CVS: mem englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : mem

Dir : e_modules/mem


Modified Files:
e_mod_main.c 


Log Message:
API change

===
RCS file: /cvs/e/e_modules/mem/e_mod_main.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -3 -r1.41 -r1.42
--- e_mod_main.c30 Dec 2006 17:56:39 -  1.41
+++ e_mod_main.c30 Dec 2006 23:33:59 -  1.42
@@ -71,7 +71,7 @@
   inst-mem = mem;
 
   o = mem-mem_obj;
-  gcc = e_gadcon_client_new (gc, style, o);
+  gcc = e_gadcon_client_new (gc, name, id, style, o);
   gcc-data = inst;
   inst-gcc = gcc;
   inst-mem_obj = o;



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


E CVS: slideshow englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
API change

===
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -3 -r1.43 -r1.44
--- e_mod_main.c30 Dec 2006 17:56:39 -  1.43
+++ e_mod_main.c30 Dec 2006 23:34:00 -  1.44
@@ -76,7 +76,7 @@
inst-slide = slide;
 
o = slide-slide_obj;
-   gcc = e_gadcon_client_new(gc, style, o);
+   gcc = e_gadcon_client_new(gc, name, id, style, o);
gcc-data = inst;
inst-gcc = gcc;
inst-slide_obj = o;



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


E CVS: net englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : net

Dir : e_modules/net


Modified Files:
e_mod_main.c 


Log Message:
API change

===
RCS file: /cvs/e/e_modules/net/e_mod_main.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -3 -r1.51 -r1.52
--- e_mod_main.c30 Dec 2006 17:56:39 -  1.51
+++ e_mod_main.c30 Dec 2006 23:34:00 -  1.52
@@ -76,7 +76,7 @@
   inst-net = net;
 
   o = net-net_obj;
-  gcc = e_gadcon_client_new (gc, style, o);
+  gcc = e_gadcon_client_new (gc, name, id, style, o);
   gcc-data = inst;
   inst-gcc = gcc;
   inst-net_obj = o;



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


E CVS: screenshot englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : screenshot

Dir : e_modules/screenshot


Modified Files:
e_mod_main.c 


Log Message:
API change

===
RCS file: /cvs/e/e_modules/screenshot/e_mod_main.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -3 -r1.68 -r1.69
--- e_mod_main.c30 Dec 2006 17:56:39 -  1.68
+++ e_mod_main.c30 Dec 2006 23:34:00 -  1.69
@@ -90,7 +90,7 @@
   inst-ss = ss;
 
   o = ss-ss_obj;
-  gcc = e_gadcon_client_new (gc, style, o);
+  gcc = e_gadcon_client_new (gc, name, id, style, o);
   gcc-data = inst;
   inst-gcc = gcc;
   inst-ss_obj = o;



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


E CVS: tclock englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : tclock

Dir : e_modules/tclock


Modified Files:
e_mod_main.c 


Log Message:
API change

===
RCS file: /cvs/e/e_modules/tclock/e_mod_main.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -3 -r1.44 -r1.45
--- e_mod_main.c30 Dec 2006 17:56:39 -  1.44
+++ e_mod_main.c30 Dec 2006 23:34:00 -  1.45
@@ -68,7 +68,7 @@
 edje_object_file_set (o, buf, modules/tclock/main);
   evas_object_show (o);
 
-  gcc = e_gadcon_client_new (gc, style, o);
+  gcc = e_gadcon_client_new (gc, name, id, style, o);
   gcc-data = inst;
   inst-gcc = gcc;
   inst-tclock = o;



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


E CVS: taskbar englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : taskbar

Dir : e_modules/taskbar


Modified Files:
e_mod_main.c 


Log Message:
API change

===
RCS file: /cvs/e/e_modules/taskbar/e_mod_main.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- e_mod_main.c30 Dec 2006 17:56:39 -  1.24
+++ e_mod_main.c30 Dec 2006 23:34:00 -  1.25
@@ -137,7 +137,7 @@
b-inst = inst;
inst-taskbar = b;
o = b-o_gccbox;
-   gcc = e_gadcon_client_new(gc, style, o);
+   gcc = e_gadcon_client_new(gc, name, id, style, o);
gcc-data = inst;
 
inst-gcc = gcc;



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


E CVS: uptime englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
e_mod_main.c 


Log Message:
API change

===
RCS file: /cvs/e/e_modules/uptime/e_mod_main.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- e_mod_main.c30 Dec 2006 17:56:40 -  1.22
+++ e_mod_main.c30 Dec 2006 23:34:00 -  1.23
@@ -102,7 +102,7 @@
   inst-ut = ut;
 
   o = ut-ut_obj;
-  gcc = e_gadcon_client_new (gc, style, o);
+  gcc = e_gadcon_client_new (gc, name, id, style, o);
   gcc-data = inst;
   inst-gcc = gcc;
   inst-ut_obj = o;



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


E CVS: mixer englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : mixer

Dir : e_modules/mixer


Modified Files:
e_mod_main.c 


Log Message:
API change

===
RCS file: /cvs/e/e_modules/mixer/e_mod_main.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -3 -r1.56 -r1.57
--- e_mod_main.c30 Dec 2006 17:56:39 -  1.56
+++ e_mod_main.c30 Dec 2006 23:34:00 -  1.57
@@ -132,7 +132,7 @@
  edje_object_signal_emit(mixer-base, muted, );
  }

-   gcc = e_gadcon_client_new(gc, style, mixer-base);
+   gcc = e_gadcon_client_new(gc, name, id, style, mixer-base);
gcc-data = inst;
inst-gcc = gcc;
 



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


E CVS: weather englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : weather

Dir : e_modules/weather


Modified Files:
e_mod_main.c 


Log Message:
API change

===
RCS file: /cvs/e/e_modules/weather/e_mod_main.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -3 -r1.45 -r1.46
--- e_mod_main.c30 Dec 2006 17:56:40 -  1.45
+++ e_mod_main.c30 Dec 2006 23:34:00 -  1.46
@@ -87,7 +87,7 @@
   inst-weather = w;
 
   o = w-weather_obj;
-  gcc = e_gadcon_client_new (gc, style, o);
+  gcc = e_gadcon_client_new (gc, name, id, style, o);
   gcc-data = inst;
   inst-gcc = gcc;
   inst-weather_obj = o;



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


E CVS: e_modules englebass

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Module  : e_modules

Dir : e_modules


Modified Files:
autogen.sh 


Log Message:
Skip broken modules

===
RCS file: /cvs/e/e_modules/autogen.sh,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- autogen.sh  29 Aug 2006 23:25:46 -  1.6
+++ autogen.sh  30 Dec 2006 23:40:35 -  1.7
@@ -2,6 +2,8 @@
 
 for d in * ; do
test -d $d || continue
+   test $d = calendar  continue 
+   test $d = engage  continue 
sed s,%MODNAME%,$d,g e_modules-TEMPLATE.spec.in  
$d/e_modules-$d.spec.in
test -x ${d}/autogen.sh || continue
echo AUTOGEN:  $d



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


E CVS: apps/e morlenxus

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : morlenxus
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_int_menus.c 


Log Message:
Show 'Add A Shelf' even if we don't have a single shelf.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_menus.c,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -3 -r1.188 -r1.189
--- e_int_menus.c   28 Dec 2006 13:43:30 -  1.188
+++ e_int_menus.c   30 Dec 2006 23:42:03 -  1.189
@@ -1202,7 +1202,6 @@
/* FIXME here we want nothing, but that crashes!!! */
mi = e_menu_item_new(m);
e_menu_item_label_set(mi, _((No Shelves)));
-   return;
  }
for (l = shelves; l; l = l-next)
  {
@@ -1272,9 +1271,12 @@
e_menu_item_label_set(mi, _(Add A Shelf));
e_menu_item_callback_set(mi, _e_int_menus_shelves_add_cb, NULL);
 
-   mi = e_menu_item_new(m);
-   e_menu_item_label_set(mi, _(Delete A Shelf));
-   e_menu_item_callback_set(mi, _e_int_menus_shelves_del_cb, NULL);
+   if (shelves)
+ { 
+   mi = e_menu_item_new(m);
+   e_menu_item_label_set(mi, _(Delete A Shelf));
+   e_menu_item_callback_set(mi, _e_int_menus_shelves_del_cb, NULL);
+ } 
 }
 
 static void 



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


E CVS: proto moom

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : moom
Project : e17
Module  : proto

Dir : e17/proto/etk/src/lib


Modified Files:
etk_widget.c 


Log Message:
* [Etk_Widget] Recalculate the inner geometry each time the widget's 
smart-object is resized. It fixes a placement problem of the label of 
a tree's header in emphasis.


===
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_widget.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -3 -r1.89 -r1.90
--- etk_widget.c29 Dec 2006 13:42:09 -  1.89
+++ etk_widget.c31 Dec 2006 00:16:32 -  1.90
@@ -1759,7 +1759,8 @@
   return;

/* free old data */
-   if(widget-dnd_types_num  0  widget-dnd_types != NULL)
+   if(num = 0 || types == NULL || 
+ (widget-dnd_types_num  0  widget-dnd_types != NULL))
{
   
   for(i = 0; i  widget-dnd_types_num; i++)
@@ -3231,16 +3232,18 @@
if (!obj || !(widget = ETK_WIDGET(evas_object_smart_data_get(obj
   return;
 
-   if (w != widget-geometry.w || h != widget-geometry.h || 
widget-need_redraw)
+   if (1 || w != widget-geometry.w || h != widget-geometry.h || 
widget-need_redraw)
{
   widget-geometry.w = w;
   widget-geometry.h = h;
   if (!widget-content_object)
   {
+ widget-inner_geometry.x = widget-geometry.x + widget-inset.left;
+ widget-inner_geometry.y = widget-geometry.y +  widget-inset.top;
  widget-inner_geometry.w = widget-geometry.w - widget-inset.left - 
widget-inset.right;
  widget-inner_geometry.h = widget-geometry.h - widget-inset.top - 
widget-inset.bottom;
   }
-
+  
   if (widget-theme_object)
   {
  evas_object_move(widget-theme_object, widget-geometry.x, 
widget-geometry.y);



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


E CVS: proto moom

2006-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : moom
Project : e17
Module  : proto

Dir : e17/proto/etk/src/lib


Modified Files:
etk_widget.c 


Log Message:
* We don't need this...


===
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_widget.c,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -3 -r1.90 -r1.91
--- etk_widget.c31 Dec 2006 00:16:32 -  1.90
+++ etk_widget.c31 Dec 2006 00:19:21 -  1.91
@@ -3232,7 +3232,7 @@
if (!obj || !(widget = ETK_WIDGET(evas_object_smart_data_get(obj
   return;
 
-   if (1 || w != widget-geometry.w || h != widget-geometry.h || 
widget-need_redraw)
+   if (w != widget-geometry.w || h != widget-geometry.h || 
widget-need_redraw)
{
   widget-geometry.w = w;
   widget-geometry.h = h;



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


  1   2   >