E CVS: raster raster

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : raster
Project : devs
Module  : raster

Dir : devs/raster


Modified Files:
info.txt 


Log Message:


actually - make email available. i get enough spam so a little more won't
matter

===
RCS file: /cvs/e/devs/raster/info.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- info.txt17 Jun 2007 22:58:12 -  1.2
+++ info.txt15 Jul 2007 08:02:44 -  1.3
@@ -2,7 +2,7 @@
 IRC Nick: raster
 Name: Carsten Haitzler
 Location: Tokyo, Japan
-E-Mail:   [EMAIL PROTECTED]
+E-Mail:   [EMAIL PROTECTED]
 WWW:  http://www.rasterman.com
 Managing: eet, evas, embryo, ecore, edje, e, emotion, rage, imlib2,
   imlib2_loaders, entice, edb, epeg, expedite



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


E CVS: libs/imlib2 raster

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/imlib2

Dir : e17/libs/imlib2/src/modules/loaders


Modified Files:
loader_bmp.c 


Log Message:


various patches from the devel mailing list in - and fixed where needed.

===
RCS file: /cvs/e/e17/libs/imlib2/src/modules/loaders/loader_bmp.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- loader_bmp.c30 May 2007 14:35:26 -  1.9
+++ loader_bmp.c15 Jul 2007 08:28:11 -  1.10
@@ -55,9 +55,9 @@
   return 0;
 
 #ifdef WORDS_BIGENDIAN
-   *ret = (b[3]  24) | (b[2]  16) | (b[1]  8) | b[0];
-#else
*ret = (b[0]  24) | (b[1]  16) | (b[2]  8) | b[3];
+#else
+   *ret = (b[3]  24) | (b[2]  16) | (b[1]  8) | b[0];
 #endif
return 1;
 }
@@ -80,17 +80,17 @@
int rc;
 
 #ifdef WORDS_BIGENDIAN
-   rc = fputc ((int) (val  0xff), file);
+   rc = fputc ((int) ((val  8)  0xff), file);
if (rc == EOF)
   return 0;
-   rc = fputc ((int) ((val  8)  0xff), file);
+   rc = fputc ((int) (val  0xff), file);
if (rc == EOF)
   return 0;
 #else
-   rc = fputc ((int) ((val  8)  0xff), file);
+   rc = fputc ((int) (val  0xff), file);
if (rc == EOF)
   return 0;
-   rc = fputc ((int) (val  0xff), file);
+   rc = fputc ((int) ((val  8)  0xff), file);
if (rc == EOF)
   return 0;
 #endif
@@ -104,29 +104,29 @@
int rc;
 
 #ifdef WORDS_BIGENDIAN
-   rc = fputc ((int) (val  0xff), file);
+   rc = fputc ((int) ((val  24)  0xff), file);
if (rc == EOF)
   return 0;
-   rc = fputc ((int) ((val  8)  0xff), file);
+   rc = fputc ((int) ((val  16)  0xff), file);
if (rc == EOF)
   return 0;
-   rc = fputc ((int) ((val  16)  0xff), file);
+   rc = fputc ((int) ((val  8)  0xff), file);
if (rc == EOF)
   return 0;
-   rc = fputc ((int) ((val  24)  0xff), file);
+   rc = fputc ((int) (val  0xff), file);
if (rc == EOF)
   return 0;
 #else
-   rc = fputc ((int) ((val  24)  0xff), file);
+   rc = fputc ((int) (val  0xff), file);
if (rc == EOF)
   return 0;
-   rc = fputc ((int) ((val  16)  0xff), file);
+   rc = fputc ((int) ((val  8)  0xff), file);
if (rc == EOF)
   return 0;
-   rc = fputc ((int) ((val  8)  0xff), file);
+   rc = fputc ((int) ((val  16)  0xff), file);
if (rc == EOF)
   return 0;
-   rc = fputc ((int) (val  0xff), file);
+   rc = fputc ((int) ((val  24)  0xff), file);
if (rc == EOF)
   return 0;
 #endif



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


E CVS: apps/e raster

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

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


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


Log Message:


various patches from the devel mailing list in - and fixed where needed.

===
RCS file: /cvs/e/e17/apps/e/src/modules/pager/e_mod_config.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- e_mod_config.c  19 Apr 2007 16:57:47 -  1.30
+++ e_mod_config.c  15 Jul 2007 08:28:03 -  1.31
@@ -5,7 +5,8 @@
 enum _Pager_Grab_Button
 {
GRAB_BUTTON_DRAG,
-   GRAB_BUTTON_NOPLACE
+   GRAB_BUTTON_NOPLACE,
+   GRAB_BUTTON_DESK
 };
 
 struct _E_Config_Dialog_Data
@@ -16,8 +17,9 @@
int popup_urgent_stick;
double popup_urgent_speed;
int drag_resist;
-   unsigned char btn_drag;
-   unsigned char btn_noplace;
+   unsigned int btn_drag;
+   unsigned int btn_noplace;
+   unsigned int btn_desk;
int flip_desk;
 
struct {
@@ -32,6 +34,7 @@
   Evas_Object *o_urgent_speed;
   Evas_Object *o_btn1;
   Evas_Object *o_btn2;
+  Evas_Object *o_btn3;
} gui;
 };
 
@@ -85,6 +88,7 @@
cfdata-drag_resist = pager_config-drag_resist;
cfdata-btn_drag = pager_config-btn_drag;
cfdata-btn_noplace = pager_config-btn_noplace;
+   cfdata-btn_desk = pager_config-btn_desk;
cfdata-flip_desk = pager_config-flip_desk;
 }
 
@@ -144,17 +148,22 @@
e_widget_frametable_object_append(of, ob, 1, 2, 1, 1, 1, 1, 1, 1);
ob = e_widget_label_add(evas, _(Drag and Drop button (Keeps rel. loc.)));
e_widget_frametable_object_append(of, ob, 1, 3, 1, 1, 1, 1, 1, 1);
+   ob = e_widget_label_add(evas, _(Drag whole desktop (Move every windowsof a 
desk)));
+   e_widget_frametable_object_append(of, ob, 1, 4, 1, 1, 1, 1, 1, 1);
ob = e_widget_button_add(evas, _(Click to set), NULL, _grab_wnd_show, 
(void *)GRAB_BUTTON_DRAG, cfdata);
e_widget_frametable_object_append(of, ob, 2, 2, 1, 1, 1, 1, 0, 0);
cfdata-gui.o_btn1 = ob;
ob = e_widget_button_add(evas, _(Click to set), NULL, _grab_wnd_show, 
(void *)GRAB_BUTTON_NOPLACE, cfdata);
e_widget_frametable_object_append(of, ob, 2, 3, 1, 1, 1, 1, 0, 0);
cfdata-gui.o_btn2 = ob;
+   ob = e_widget_button_add(evas, _(Click to set), NULL, _grab_wnd_show, 
(void *)GRAB_BUTTON_DESK, cfdata);
+   e_widget_frametable_object_append(of, ob, 2, 4, 1, 1, 1, 1, 0, 0);
+   cfdata-gui.o_btn3 = ob;
_advanced_update_button_label(cfdata);
ob = e_widget_label_add(evas, _(Resistance to dragging));
-   e_widget_frametable_object_append(of, ob, 1, 4, 1, 1, 1, 1, 0, 0);
+   e_widget_frametable_object_append(of, ob, 1, 5, 1, 1, 1, 1, 0, 0);
ob = e_widget_slider_add(evas, 1, 0, _(%.0f px), 0.0, 10.0, 1.0, 0, NULL, 
(cfdata-drag_resist), 200);
-   e_widget_frametable_object_append(of, ob, 1, 5, 2, 1, 1, 1, 0, 0);
+   e_widget_frametable_object_append(of, ob, 1, 6, 2, 1, 1, 1, 0, 0);
e_widget_list_object_append(o, of, 1, 1, 0.5);
 
of = e_widget_framelist_add(evas, _(Pager Popup Settings), 0);   
@@ -196,6 +205,7 @@
pager_config-drag_resist = cfdata-drag_resist;
pager_config-btn_drag = cfdata-btn_drag;
pager_config-btn_noplace = cfdata-btn_noplace;
+   pager_config-btn_desk = cfdata-btn_desk;
pager_config-flip_desk = cfdata-flip_desk;
_pager_cb_config_updated();
e_config_save_queue();
@@ -218,6 +228,12 @@
else
  snprintf(label, sizeof(label), _(Click to set));
e_widget_button_label_set(cfdata-gui.o_btn2, label);
+   
+   if (cfdata-btn_desk)
+ snprintf(label, sizeof(label), _(Button %i), cfdata-btn_desk);
+   else
+ snprintf(label, sizeof(label), _(Click to set));
+   e_widget_button_label_set(cfdata-gui.o_btn3, label);
 }
 
 static void
@@ -231,6 +247,8 @@
 
if ((Pager_Grab_Button)data1 == GRAB_BUTTON_DRAG)
  cfdata-grab.btn = 1;
+   else if ((Pager_Grab_Button)data1 == GRAB_BUTTON_NOPLACE)
+ cfdata-grab.btn = 2;
else
  cfdata-grab.btn = 0;
 
@@ -290,8 +308,10 @@
  {
if (cfdata-grab.btn == 1)
  cfdata-btn_drag = ev-button;
-   else
+   else if (cfdata-grab.btn == 2)
  cfdata-btn_noplace = ev-button;
+   else
+ cfdata-btn_desk = ev-button;
  }
else
  {
@@ -320,8 +340,10 @@
  {
if (cfdata-grab.btn == 1)
  cfdata-btn_drag = 0;
-   else
+   else if (cfdata-grab.btn == 2)
  cfdata-btn_noplace = 0;
+   else
+ cfdata-btn_desk = 0;
_grab_wnd_hide(cfdata);
  }
return 1;
===
RCS file: /cvs/e/e17/apps/e/src/modules/pager/e_mod_main.c,v
retrieving revision 1.214
retrieving revision 1.215
diff -u -3 -r1.214 -r1.215
--- e_mod_main.c4 Jul 2007 11:11:03 -   1.214
+++ e_mod_main.c15 Jul 2007 08:28:03 -  1.215
@@ -61,26 +61,36 @@
 
 struct _Pager_Desk
 {
-   Pager   *pager;

E CVS: apps/e raster

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_border.c e_border.h e_config.c e_int_border_menu.c 
e_int_border_remember.c e_remember.c e_remember.h 


Log Message:


various patches from the devel mailing list in - and fixed where needed.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.595
retrieving revision 1.596
diff -u -3 -r1.595 -r1.596
--- e_border.c  1 Jul 2007 15:59:39 -   1.595
+++ e_border.c  15 Jul 2007 08:28:03 -  1.596
@@ -2628,7 +2628,7 @@
  }
return o;
  }
-   if (e_config-use_app_icon)
+   if ((e_config-use_app_icon)  (bd-icon_preference != E_ICON_PREF_USER))
  {
if (bd-client.netwm.icons)
  {
@@ -2642,10 +2642,11 @@
  }
if (!o)
  {
-   if (bd-desktop)
+   if ((bd-desktop)  (bd-icon_preference != E_ICON_PREF_NETWM))
  {
 o = e_util_desktop_icon_add(bd-desktop, 24x24, evas);
-return o;
+if (o)
+  return o;
  }
else if (bd-client.netwm.icons)
  {
@@ -5643,6 +5644,8 @@
   }
 if (rem-apply  E_REMEMBER_APPLY_SKIP_WINLIST)
   bd-user_skip_winlist = rem-prop.skip_winlist;
+if (rem-apply  E_REMEMBER_APPLY_ICON_PREF)
+  bd-icon_preference = rem-prop.icon_preference;
  }
  }
 
===
RCS file: /cvs/e/e17/apps/e/src/bin/e_border.h,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -3 -r1.161 -r1.162
--- e_border.h  1 Jul 2007 15:59:39 -   1.161
+++ e_border.h  15 Jul 2007 08:28:03 -  1.162
@@ -3,6 +3,13 @@
  */
 #ifdef E_TYPEDEFS
 
+typedef enum _E_Icon_Preferece
+{
+   E_ICON_PREF_E_DEFAULT,
+   E_ICON_PREF_NETWM,
+   E_ICON_PREF_USER
+} E_Icon_Preference;
+
 typedef enum _E_Direction
 {
E_DIRECTION_UP,
@@ -390,7 +397,8 @@
double  ping;
  
unsigned char   changed : 1;
-   
+  
+   unsigned char   icon_preference; 
unsigned char   ignore_first_unmap;
unsigned char   resize_mode;

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_config.c,v
retrieving revision 1.249
retrieving revision 1.250
diff -u -3 -r1.249 -r1.250
--- e_config.c  8 Jul 2007 03:57:51 -   1.249
+++ e_config.c  15 Jul 2007 08:28:03 -  1.250
@@ -303,6 +303,7 @@
E_CONFIG_VAL(D, T, prop.zone, INT);
E_CONFIG_VAL(D, T, prop.head, INT);
E_CONFIG_VAL(D, T, prop.command, STR);
+   E_CONFIG_VAL(D, T, prop.icon_preference, UCHAR);

_e_config_color_class_edd = E_CONFIG_DD_NEW(E_Color_Class, E_Color_Class);
 #undef T
@@ -1060,6 +1061,10 @@
   e.event.shade,
   E_BINDING_MODIFIER_NONE, 1,
   window_shaded_toggle, up);
+   CFG_SIGNALBIND(E_BINDING_CONTEXT_BORDER, mouse,clicked,?, 
+  e.event.lower,
+  E_BINDING_MODIFIER_NONE, 1,
+  window_lower, NULL);  
CFG_SIGNALBIND(E_BINDING_CONTEXT_BORDER, mouse,down,1, 
   e.event.icon,
   E_BINDING_MODIFIER_NONE, 1, 
===
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_border_menu.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -3 -r1.66 -r1.67
--- e_int_border_menu.c 8 Jul 2007 03:57:51 -   1.66
+++ e_int_border_menu.c 15 Jul 2007 08:28:03 -  1.67
@@ -35,6 +35,10 @@
 static void _e_border_menu_cb_fav_add(void *data, E_Menu *m, E_Menu_Item *mi);
 static void _e_border_menu_cb_ibar_add_pre(void *data, E_Menu *m, E_Menu_Item 
*mi);
 static void _e_border_menu_cb_ibar_add(void *data, E_Menu *m, E_Menu_Item *mi);
+static void _e_border_menu_cb_border_pre(void *data, E_Menu *m, E_Menu_Item 
*mi);
+static void _e_border_menu_cb_iconpref_e(void *data, E_Menu *m, E_Menu_Item 
*mi);
+static void _e_border_menu_cb_iconpref_netwm(void *data, E_Menu *m, 
E_Menu_Item *mi);
+static void _e_border_menu_cb_iconpref_user(void *data, E_Menu *m, E_Menu_Item 
*mi);
 
 EAPI void
 e_int_border_menu_show(E_Border *bd, Evas_Coord x, Evas_Coord y, int key, 
Ecore_X_Time timestamp)
@@ -164,16 +168,13 @@
 e/widgets/border/default/remember);
if (!bd-lock_border)
  {
-   if (e_configure_registry_exists(internal/borders_border))
- {
-mi = e_menu_item_new(m);
-e_menu_item_label_set(mi, _(Borders));
-e_menu_item_callback_set(mi, _e_border_menu_cb_border, bd);
-e_menu_item_icon_edje_set(mi,
-  
e_theme_edje_file_get(base/theme/borders,
+   mi = e_menu_item_new(m);
+   e_menu_item_label_set(mi, _(Border));
+   

E CVS: libs/emotion raster

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/emotion

Dir : e17/libs/emotion/src/modules


Modified Files:
emotion_gstreamer_pipeline.c 


Log Message:


various patches from the devel mailing list in - and fixed where needed.

===
RCS file: /cvs/e/e17/libs/emotion/src/modules/emotion_gstreamer_pipeline.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- emotion_gstreamer_pipeline.c18 Jul 2006 19:04:38 -  1.2
+++ emotion_gstreamer_pipeline.c15 Jul 2007 08:28:04 -  1.3
@@ -77,6 +77,11 @@
   buf[1] = buffer;
   write(ev-fd_ev_write, buf, sizeof(buf));
}
+   else {
+ Emotion_Audio_Sink *asink; 
+ asink = (Emotion_Audio_Sink *)ecore_list_goto_index (ev-audio_sinks, 
ev-audio_sink_nbr);
+ _emotion_video_pos_update(ev-obj, ev-position, asink-length_time);
+   }
 
query = gst_query_new_position (GST_FORMAT_TIME);
if (gst_pad_query (gst_pad_get_peer (pad), query)) {



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


E CVS: proto andreas

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : andreas
Project : e17
Module  : proto

Dir : e17/proto/eflpp/examples/esmart/group




Log Message:
Directory /cvs/e/e17/proto/eflpp/examples/esmart/group added to the repository




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


E CVS: proto andreas

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : andreas
Project : e17
Module  : proto

Dir : e17/proto/eflpp/examples/esmart/group


Added Files:
Makefile.am main.cpp 


Log Message:
example for esmart group - does not much currently




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


E CVS: proto andreas

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : andreas
Project : e17
Module  : proto

Dir : e17/proto/eflpp/src/esmart


Added Files:
eflpp_esmart_container.cpp eflpp_esmart_container.h 
eflpp_esmart_textentry.cpp eflpp_esmart_textentry.h 


Log Message:
oh, I missed to add some files :-)




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


E CVS: apps/e ravenlock

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ravenlock
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_border.h e_config.c e_int_border_menu.c 


Log Message:
Fix typo of mine.  Fix some whitespace.  Allow appropriate icons to be viewed 
in Border Icons border menu.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_border.h,v
retrieving revision 1.162
retrieving revision 1.163
diff -u -3 -r1.162 -r1.163
--- e_border.h  15 Jul 2007 08:28:03 -  1.162
+++ e_border.h  15 Jul 2007 13:25:56 -  1.163
@@ -3,7 +3,7 @@
  */
 #ifdef E_TYPEDEFS
 
-typedef enum _E_Icon_Preferece
+typedef enum _E_Icon_Preference
 {
E_ICON_PREF_E_DEFAULT,
E_ICON_PREF_NETWM,
===
RCS file: /cvs/e/e17/apps/e/src/bin/e_config.c,v
retrieving revision 1.250
retrieving revision 1.251
diff -u -3 -r1.250 -r1.251
--- e_config.c  15 Jul 2007 08:28:03 -  1.250
+++ e_config.c  15 Jul 2007 13:25:56 -  1.251
@@ -64,7 +64,7 @@
  {
 char *data;
 int data_len = 0;
-
+
 data = eet_read(ef, config, data_len);
 if ((data)  (data_len  0))
   {
===
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_border_menu.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -3 -r1.67 -r1.68
--- e_int_border_menu.c 15 Jul 2007 08:28:03 -  1.67
+++ e_int_border_menu.c 15 Jul 2007 13:25:56 -  1.68
@@ -39,6 +39,8 @@
 static void _e_border_menu_cb_iconpref_e(void *data, E_Menu *m, E_Menu_Item 
*mi);
 static void _e_border_menu_cb_iconpref_netwm(void *data, E_Menu *m, 
E_Menu_Item *mi);
 static void _e_border_menu_cb_iconpref_user(void *data, E_Menu *m, E_Menu_Item 
*mi);
+static void _e_border_menu_cb_default_icon(void *data, E_Menu *m, E_Menu_Item 
*mi);
+static void _e_border_menu_cb_netwm_icon(void *data, E_Menu *m, E_Menu_Item 
*mi);
 
 EAPI void
 e_int_border_menu_show(E_Border *bd, Evas_Coord x, Evas_Coord y, int key, 
Ecore_X_Time timestamp)
@@ -731,8 +733,8 @@
  e_border_pinned_set(bd, 0);
 }
 
-static void 
-_e_border_menu_cb_raise(void *data, E_Menu *m, E_Menu_Item *mi) 
+static void
+_e_border_menu_cb_raise(void *data, E_Menu *m, E_Menu_Item *mi)
 {
E_Border *bd;
 
@@ -741,11 +743,11 @@
((bd-layer == 50) || (bd-layer == 100) || (bd-layer == 150)))
  {
e_border_raise(bd);
- }   
+ }
 }
 
-static void 
-_e_border_menu_cb_lower(void *data, E_Menu *m, E_Menu_Item *mi) 
+static void
+_e_border_menu_cb_lower(void *data, E_Menu *m, E_Menu_Item *mi)
 {
E_Border *bd;
 
@@ -758,6 +760,44 @@
 }
 
 static void
+_e_border_menu_cb_default_icon(void *data, E_Menu *m, E_Menu_Item *mi)
+{
+   E_Border *bd;
+   Evas_Object *o;
+   unsigned char prev_icon_pref;
+
+   bd = data;
+   E_OBJECT_CHECK(bd);
+
+   o = e_icon_add(m-evas);
+   prev_icon_pref = bd-icon_preference;
+   bd-icon_preference = E_ICON_PREF_E_DEFAULT;
+   e_icon_object_set(o, e_border_icon_add(bd, m-evas));
+   bd-icon_preference = prev_icon_pref;
+   mi-icon_object = o;
+}
+
+static void
+_e_border_menu_cb_netwm_icon(void *data, E_Menu *m, E_Menu_Item *mi)
+{
+   E_Border *bd;
+   Evas_Object *o;
+
+   bd = data;
+   E_OBJECT_CHECK(bd);
+
+   if (bd-client.netwm.icons)
+ {
+   o = e_icon_add(m-evas);
+   e_icon_data_set(o, bd-client.netwm.icons[0].data,
+ bd-client.netwm.icons[0].width,
+ bd-client.netwm.icons[0].height);
+   e_icon_alpha_set(o, 1);
+   mi-icon_object = o;
+ }
+}
+
+static void
 _e_border_menu_cb_border_pre(void *data, E_Menu *m, E_Menu_Item *mi)
 {
E_Menu *subm;
@@ -773,18 +813,15 @@
e_object_data_set(E_OBJECT(subm), bd);
e_menu_item_submenu_set(mi, subm);
 
-   if (!bd-lock_border)
+   if (e_configure_registry_exists(internal/borders_border))
  {
-   if (e_configure_registry_exists(internal/borders_border))
- {
-submi = e_menu_item_new(subm);
-e_menu_item_label_set(submi, _(Select Border Style));
-e_menu_item_callback_set(submi, _e_border_menu_cb_border, bd);
-e_menu_item_icon_edje_set(submi,
-  
e_theme_edje_file_get(base/theme/borders,
-
e/widgets/border/default/borderless),
-  e/widgets/border/default/borderless);
- }
+   submi = e_menu_item_new(subm);
+   e_menu_item_label_set(submi, _(Select Border Style));
+   e_menu_item_callback_set(submi, _e_border_menu_cb_border, bd);
+   e_menu_item_icon_edje_set(submi,
+ e_theme_edje_file_get(base/theme/borders,
+e/widgets/border/default/borderless),
+ e/widgets/border/default/borderless);
  }
 
submi = e_menu_item_new(subm);
@@ -793,7 +830,7 

E CVS: apps/e ravenlock

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ravenlock
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_int_border_menu.c 


Log Message:
forgot my separator bar.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_border_menu.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -3 -r1.68 -r1.69
--- e_int_border_menu.c 15 Jul 2007 13:25:56 -  1.68
+++ e_int_border_menu.c 15 Jul 2007 14:06:38 -  1.69
@@ -825,6 +825,9 @@
  }
 
submi = e_menu_item_new(subm);
+   e_menu_item_separator_set(submi, 1);
+
+   submi = e_menu_item_new(subm);
e_menu_item_label_set(submi, _(Use E17 Default Icon Preference));
e_menu_item_radio_set(submi, 1);
e_menu_item_radio_group_set(submi, 2);



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


E CVS: proto andreas

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : andreas
Project : e17
Module  : proto

Dir : e17/proto/eflpp/src/evas


Modified Files:
eflpp_evas.cpp eflpp_evas.h 


Log Message:
- support for EvasImage data* functions
- setImageSize() added

===
RCS file: /cvs/e/e17/proto/eflpp/src/evas/eflpp_evas.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- eflpp_evas.cpp  10 Jul 2007 21:38:10 -  1.2
+++ eflpp_evas.cpp  15 Jul 2007 14:27:39 -  1.3
@@ -873,12 +873,19 @@
 // Image
 
//===
 
+EvasImage::EvasImage( EvasCanvas* canvas, const char* name )
+  :EvasObject( canvas, image )
+{
+_size = size ();
+resize( _size );
+}
+
 EvasImage::EvasImage( const char* filename, EvasCanvas* canvas, const char* 
name )
   :EvasObject( canvas, image, name ? name : filename )
 {
-   setFile( filename );
-   _size = size();
-   resize( _size );
+setFile( filename );
+_size = size();
+resize( _size );
 }
 
 EvasImage::EvasImage( int x, int y, const char* filename, EvasCanvas* canvas, 
const char* name )
@@ -954,9 +961,40 @@
 return _size;
 }
 
+void EvasImage::setImageSize (int w, int h)
+{
+evas_object_image_size_set (o, w, h);
+}
+
+void EvasImage::getImageSize (int w, int h)
+{
+evas_object_image_size_get (o, w, h);
+}
+
 void EvasImage::setBorder( int left, int right, int top, int bottom )
 {
 evas_object_image_border_set( o, left, right, top, bottom );
+}
+
+
+void EvasImage::setData (void *data)
+{
+evas_object_image_data_set (o, data);
+}
+
+void *EvasImage::getData (bool for_writing)
+{
+return evas_object_image_data_get (o, for_writing);
+}
+
+void EvasImage::setDataCopy (void *data)
+{
+evas_object_image_data_copy_set (o, data);
+}
+
+void EvasImage::addDataUpdate (int x, int y, int w, int h)
+{
+evas_object_image_data_update_add (o, x, y, w, h);
 }
 
 
//===
===
RCS file: /cvs/e/e17/proto/eflpp/src/evas/eflpp_evas.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- eflpp_evas.h10 Jul 2007 21:38:10 -  1.2
+++ eflpp_evas.h15 Jul 2007 14:27:39 -  1.3
@@ -289,6 +289,7 @@
 class EvasImage : public EvasObject
 {
   public:
+EvasImage( EvasCanvas* canvas, const char* name = 0 );
 EvasImage( const char* filename, EvasCanvas* canvas, const char* name = 0 
);
 EvasImage( int x, int y, const char* filename, EvasCanvas* canvas, const 
char* name = 0 );
 EvasImage( Evas_Object* object, EvasCanvas* canvas, const char* name = 0 );
@@ -311,8 +312,26 @@
 virtual const Size size() const;
 const Size trueSize();
 
+/// Sets the size of the image to be display by the given image object.
+void setImageSize (int w, int h);
+
+/// Retrieves the size of the image displayed by the given image object.
+void getImageSize (int w, int h);
+
 /* Border */
 void setBorder( int left, int right, int top, int bottom );
+
+/// Sets the raw image data. 
+void setData (void *data);
+
+/// Retrieves the raw image data.
+void *getData (bool for_writing);
+
+/// Replaces an image object's internal image data buffer.
+void setDataCopy (void *data);
+
+/// Update a rectangle after putting data into the image.
+void addDataUpdate (int x, int y, int w, int h);
 
 static void setResourcePath( const char* path ) { EvasImage::_resourcePath 
= (char*) path; };
 static const char* resourcePath()   { return 
EvasImage::_resourcePath; };



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


E CVS: proto lok

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : lok
Project : e17
Module  : proto

Dir : e17/proto/entrance_edit_gui/src/widgets


Modified Files:
_ew_list.c 


Log Message:
New signals id.

===
RCS file: /cvs/e/e17/proto/entrance_edit_gui/src/widgets/_ew_list.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- _ew_list.c  28 Jan 2007 12:03:46 -  1.14
+++ _ew_list.c  15 Jul 2007 14:44:38 -  1.15
@@ -26,7 +26,7 @@
}
 
ew-owner = etk_tree_new();
-   etk_signal_connect(row_clicked, ETK_OBJECT(ew-owner), 
ETK_CALLBACK(_ew_list_cb_row_clicked), NULL);
+   etk_signal_connect(row-selected, ETK_OBJECT(ew-owner), 
ETK_CALLBACK(_ew_list_cb_row_clicked), NULL);
etk_widget_size_request_set(ew-owner, w, h);
etk_tree_mode_set(ETK_TREE(ew-owner), ETK_TREE_MODE_LIST);
etk_tree_multiple_select_set(ETK_TREE(ew-owner), ETK_FALSE);



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


E CVS: apps/e ravenlock

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ravenlock
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_int_border_menu.c 


Log Message:
Actually able to see the appropriate icons now.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_border_menu.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -3 -r1.69 -r1.70
--- e_int_border_menu.c 15 Jul 2007 14:06:38 -  1.69
+++ e_int_border_menu.c 15 Jul 2007 15:00:14 -  1.70
@@ -832,6 +832,7 @@
e_menu_item_radio_set(submi, 1);
e_menu_item_radio_group_set(submi, 2);
e_menu_item_toggle_set(submi, (bd-icon_preference == E_ICON_PREF_E_DEFAULT 
? 1 : 0));
+   e_menu_item_realize_callback_set(submi, _e_border_menu_cb_default_icon, bd);
e_menu_item_callback_set(submi, _e_border_menu_cb_iconpref_e, bd);
 
submi = e_menu_item_new(subm);
@@ -840,6 +841,7 @@
e_menu_item_radio_set(submi, 1);
e_menu_item_radio_group_set(submi, 2);
e_menu_item_toggle_set(submi, (bd-icon_preference == E_ICON_PREF_NETWM ? 1 
: 0));
+   e_menu_item_realize_callback_set(submi, _e_border_menu_cb_netwm_icon, bd);
e_menu_item_callback_set(submi, _e_border_menu_cb_iconpref_netwm, bd);
 
submi = e_menu_item_new(subm);



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


E CVS: apps/e_utils andreas

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : andreas
Project : e17
Module  : apps/e_utils

Dir : e17/apps/e_utils


Modified Files:
configure.in 


Log Message:
pkg-config fixing stuff, this one for detection of esmart in e_util
- thanks Jerome Pinot

===
RCS file: /cvs/e/e17/apps/e_utils/configure.in,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- configure.in29 Jun 2007 12:39:20 -  1.31
+++ configure.in15 Jul 2007 20:41:17 -  1.32
@@ -96,7 +96,10 @@
   [have_ecore=no]
 )
 
-PKG_CHECK_MODULES(ESMART, [esmart = 0.9.0],
+PKG_CHECK_MODULES(ESMART, [
+esmart_container = 0.9.0
+esmart_text_entry = 0.9.0
+  ],
   [have_esmart=yes],
   [have_esmart=no]
 )



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


E CVS: bling andreas

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : andreas
Project : e_modules
Module  : bling

Dir : e_modules/bling


Modified Files:
configure.in 


Log Message:
patch to use pkg-config for detection of EFL
- thanks Jerome Pinot

===
RCS file: /cvs/e/e_modules/bling/configure.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- configure.in2 Nov 2006 23:03:45 -   1.6
+++ configure.in15 Jul 2007 20:47:04 -  1.7
@@ -104,64 +104,11 @@
 AC_SUBST(x_cflags)
 AC_SUBST(x_libs)
 
-AC_ARG_WITH(ecore-config,
-[  --with-ecore-config=ECORE_CONFIG  use ecore-config specified ],
-[
-  ECORE_CONFIG=$withval;
-  echo using $ECORE_CONFIG for ecore-config;
-],[
-  PROG=ecore-config;
-  AC_PATH_PROG(ECORE_CONFIG, $PROG, , $PATH)
-])
-ecore_cflags=`$ECORE_CONFIG --cflags`
-ecore_libs=`$ECORE_CONFIG --libs`
-AC_SUBST(ecore_cflags)
-AC_SUBST(ecore_libs)
-
-AC_ARG_WITH(evas-config,
-[  --with-evas-config=EVAS_CONFIG  use evas-config specified ],
-[
-  EVAS_CONFIG=$withval;
-  echo using $EVAS_CONFIG for evas-config;
-],[
-  PROG=evas-config;
-  AC_PATH_PROG(EVAS_CONFIG, $PROG, , $PATH)
-])
-evas_cflags=`$EVAS_CONFIG --cflags`
-evas_libs=`$EVAS_CONFIG --libs`
-AC_SUBST(evas_cflags)
-AC_SUBST(evas_libs)
-
-AC_ARG_WITH(esmart-config,
-[  --with-esmart-config=ESMART_CONFIG  use esmart-config specified ],
-[
-  ESMART_CONFIG=$withval;
-  echo using $ESMART_CONFIG for esmart-config;
-],[
-  PROG=esmart-config;
-  AC_PATH_PROG(ESMART_CONFIG, $PROG, , $PATH)
-])
-esmart_cflags=`$ESMART_CONFIG --cflags`
-esmart_libs=`$ESMART_CONFIG --libs`
-AC_SUBST(esmart_cflags)
-AC_SUBST(esmart_libs)
+PKG_CHECK_MODULES(ECORE, [ecore = 0.9.9])
+PKG_CHECK_MODULES(EVAS, [evas = 0.9.9])
+PKG_CHECK_MODULES(EDJE, [edje = 0.5.0])
 
-AC_ARG_WITH(edje-config,
-[  --with-edje-config=EDJE_CONFIG  use edje-config specified ],
-[
-  EDJE_CONFIG=$withval;
-  echo using $EDJE_CONFIG for edje-config;
-/
-],[
-  PROG=edje-config;
-  AC_PATH_PROG(EDJE_CONFIG, $PROG, , $PATH)
-])
-edje_cflags=`$EDJE_CONFIG --cflags`
-edje_libs=`$EDJE_CONFIG --libs`
-AC_SUBST(edje_cflags)
-AC_SUBST(edje_libs)
-
-edje_cc=`$EDJE_CONFIG --prefix`/bin/edje_cc
+edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc
 AC_ARG_WITH(edje-cc,
 [  --with-edje-cc=PATH  specify a specific path to edje_cc],
 [
@@ -169,23 +116,11 @@
   edje_cc=$v
   echo   Enlightenment edje_cc explicitly set to $edje_cc;
 ],[
-  edje_cc=`$EDJE_CONFIG --prefix`/bin/edje_cc
+  edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc
 ])
 AC_SUBST(edje_cc)
 
-AC_ARG_WITH(eet-config,
-[  --with-eet-config=EET_CONFIG  use eet-config specified ],
-[
-  EET_CONFIG=$withval;
-  echo using $EET_CONFIG for eet-config;
-],[
-  PROG=eet-config;
-  AC_PATH_PROG(EET_CONFIG, $PROG, , $PATH)
-])
-eet_cflags=`$EET_CONFIG --cflags`
-eet_libs=`$EET_CONFIG --libs`
-AC_SUBST(eet_cflags)
-AC_SUBST(eet_libs)
+PKG_CHECK_MODULES(EET, [eet = 0.9.10])
 
 AC_ARG_WITH(enlightenment-config,
 [  --with-enlightenment-config=E_CONFIGuse enlightenment-config specified 
],



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


E CVS: emu andreas

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : andreas
Project : e_modules
Module  : emu

Dir : e_modules/emu


Modified Files:
configure.in 


Log Message:
patch to use pkg-config for detection of EFL
- thanks Jerome Pinot

===
RCS file: /cvs/e/e_modules/emu/configure.in,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- configure.in29 May 2007 16:11:04 -  1.11
+++ configure.in15 Jul 2007 20:51:03 -  1.12
@@ -105,64 +105,11 @@
 #AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
 #AC_SUBST(dlopen_libs)
 
-AC_ARG_WITH(ecore-config,
-[  --with-ecore-config=ECORE_CONFIG  use ecore-config specified ],
-[
-  ECORE_CONFIG=$withval;
-  echo using $ECORE_CONFIG for ecore-config;
-],[
-  PROG=ecore-config;
-  AC_PATH_PROG(ECORE_CONFIG, $PROG, , $PATH)
-])
-ecore_cflags=`$ECORE_CONFIG --cflags`
-ecore_libs=`$ECORE_CONFIG --libs`
-AC_SUBST(ecore_cflags)
-AC_SUBST(ecore_libs)
-
-AC_ARG_WITH(evas-config,
-[  --with-evas-config=EVAS_CONFIG  use evas-config specified ],
-[
-  EVAS_CONFIG=$withval;
-  echo using $EVAS_CONFIG for evas-config;
-],[
-  PROG=evas-config;
-  AC_PATH_PROG(EVAS_CONFIG, $PROG, , $PATH)
-])
-evas_cflags=`$EVAS_CONFIG --cflags`
-evas_libs=`$EVAS_CONFIG --libs`
-AC_SUBST(evas_cflags)
-AC_SUBST(evas_libs)
-
-AC_ARG_WITH(esmart-config,
-[  --with-esmart-config=ESMART_CONFIG  use esmart-config specified ],
-[
-  ESMART_CONFIG=$withval;
-  echo using $ESMART_CONFIG for esmart-config;
-],[
-  PROG=esmart-config;
-  AC_PATH_PROG(ESMART_CONFIG, $PROG, , $PATH)
-])
-esmart_cflags=`$ESMART_CONFIG --cflags`
-esmart_libs=`$ESMART_CONFIG --libs`
-AC_SUBST(esmart_cflags)
-AC_SUBST(esmart_libs)
+PKG_CHECK_MODULES(ECORE, [ecore = 0.9.9])
+PKG_CHECK_MODULES(EVAS, [evas = 0.9.9])
+PKG_CHECK_MODULES(EDJE, [edje = 0.5.0])
 
-AC_ARG_WITH(edje-config,
-[  --with-edje-config=EDJE_CONFIG  use edje-config specified ],
-[
-  EDJE_CONFIG=$withval;
-  echo using $EDJE_CONFIG for edje-config;
-/
-],[
-  PROG=edje-config;
-  AC_PATH_PROG(EDJE_CONFIG, $PROG, , $PATH)
-])
-edje_cflags=`$EDJE_CONFIG --cflags`
-edje_libs=`$EDJE_CONFIG --libs`
-AC_SUBST(edje_cflags)
-AC_SUBST(edje_libs)
-
-edje_cc=`$EDJE_CONFIG --prefix`/bin/edje_cc
+edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc
 AC_ARG_WITH(edje-cc,
 [  --with-edje-cc=PATH  specify a specific path to edje_cc],
 [
@@ -170,23 +117,11 @@
   edje_cc=$v
   echo   Enlightenment edje_cc explicitly set to $edje_cc;
 ],[
-  edje_cc=`$EDJE_CONFIG --prefix`/bin/edje_cc
+  edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc
 ])
 AC_SUBST(edje_cc)
 
-AC_ARG_WITH(eet-config,
-[  --with-eet-config=EET_CONFIG  use eet-config specified ],
-[
-  EET_CONFIG=$withval;
-  echo using $EET_CONFIG for eet-config;
-],[
-  PROG=eet-config;
-  AC_PATH_PROG(EET_CONFIG, $PROG, , $PATH)
-])
-eet_cflags=`$EET_CONFIG --cflags`
-eet_libs=`$EET_CONFIG --libs`
-AC_SUBST(eet_cflags)
-AC_SUBST(eet_libs)
+PKG_CHECK_MODULES(EET, [eet = 0.9.10])
 
 AC_ARG_WITH(enlightenment-config,
 [  --with-enlightenment-config=E_CONFIGuse enlightenment-config specified 
],



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


E CVS: apps/e onefang

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : apps/e

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


Added Files:
.cvsignore 


Log Message:
.cvsignore+=2 and cvsignore++




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


E CVS: apps/e onefang

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : apps/e

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


Added Files:
.cvsignore 


Log Message:
.cvsignore+=2 and cvsignore++




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


E CVS: apps/e onefang

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : apps/e

Dir : e17/apps/e


Modified Files:
.cvsignore 


Log Message:
.cvsignore+=2 and cvsignore++

===
RCS file: /cvs/e/e17/apps/e/.cvsignore,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- .cvsignore  31 Oct 2006 23:35:43 -  1.12
+++ .cvsignore  15 Jul 2007 21:26:17 -  1.13
@@ -3,6 +3,7 @@
 Makefile.in
 aclocal.m4
 autom4te.cache
+compile
 config.h
 config.log
 config.rpath



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


E CVS: proto onefang

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : proto

Dir : e17/proto/e_dbus/src/lib/notification


Added Files:
.cvsignore 


Log Message:
.cvsignore++ and cvsignore+=2




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


E CVS: proto onefang

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : proto

Dir : e17/proto/e_dbus/src/lib/dbus


Modified Files:
.cvsignore 


Log Message:
.cvsignore++ and cvsignore+=2

===
RCS file: /cvs/e/e17/proto/e_dbus/src/lib/dbus/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- .cvsignore  22 Mar 2007 01:44:12 -  1.3
+++ .cvsignore  15 Jul 2007 21:32:03 -  1.4
@@ -8,4 +8,5 @@
 e_dbus_methods.lo
 e_dbus_object.lo
 e_dbus_signal.lo
+e_dbus_util.lo
 libedbus.la



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


E CVS: proto onefang

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : proto

Dir : e17/proto/e_dbus/src/bin


Modified Files:
.cvsignore 


Log Message:
.cvsignore++ and cvsignore+=2

===
RCS file: /cvs/e/e17/proto/e_dbus/src/bin/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- .cvsignore  22 Mar 2007 19:52:59 -  1.4
+++ .cvsignore  15 Jul 2007 21:32:03 -  1.5
@@ -6,3 +6,5 @@
 e_dbus_test
 e_dbus_test_client
 e_dbus_nm
+e_dbus_notify
+e_dbus_notification_daemon



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


E CVS: libs/esmart onefang

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : libs/esmart

Dir : e17/libs/esmart/src/bin


Modified Files:
.cvsignore 


Log Message:
cvsignore++

===
RCS file: /cvs/e/e17/libs/esmart/src/bin/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- .cvsignore  13 May 2004 15:35:42 -  1.1
+++ .cvsignore  15 Jul 2007 21:36:22 -  1.2
@@ -2,5 +2,6 @@
 .libs
 esmart_file_dialog_test
 esmart_test
+esmart_text_entry_test
 Makefile
 Makefile.in



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


E CVS: libs/esmart onefang

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : libs/esmart

Dir : e17/libs/esmart/data


Modified Files:
.cvsignore 


Log Message:
cvsignore++

===
RCS file: /cvs/e/e17/libs/esmart/data/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- .cvsignore  13 May 2004 15:35:41 -  1.1
+++ .cvsignore  15 Jul 2007 21:36:22 -  1.2
@@ -1,2 +1,3 @@
 Makefile
 Makefile.in
+esmart_text_entry_test.edj



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


E CVS: apps/elitaire onefang

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : apps/elitaire

Dir : e17/apps/elitaire/po


Modified Files:
.cvsignore 


Log Message:
cvsignore++

===
RCS file: /cvs/e/e17/apps/elitaire/po/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- .cvsignore  8 Jun 2007 17:49:31 -   1.1
+++ .cvsignore  15 Jul 2007 21:38:51 -  1.2
@@ -1,5 +1,6 @@
 Makefile
 Makefile.in
+Makefile.in.in
 Makevars.template
 POTFILES
 Rules-quot



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


E CVS: test onefang

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : test

Dir : e17/test/orig/evas


Added Files:
.cvsignore 


Log Message:
.cvsignore++




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


E CVS: apps/e devilhorns

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_ilist.h e_ilist.c e_widget_ilist.h e_widget_ilist.c 
e_int_config_modules.c 


Log Message:
Better modules config dialog. Can now multi-select several modules to
enable/disable at one time. Added some APIs to e_widget_ilist to help with
this.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_ilist.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- e_ilist.h   10 Jul 2007 11:15:34 -  1.19
+++ e_ilist.h   15 Jul 2007 23:39:28 -  1.20
@@ -41,6 +41,7 @@
 EAPI void*e_ilist_selected_data2_get(Evas_Object *obj);
 EAPI Evas_Object *e_ilist_selected_icon_get (Evas_Object *obj);
 EAPI void e_ilist_selected_geometry_get (Evas_Object *obj, Evas_Coord 
*x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
+EAPI int  e_ilist_selected_count_get(Evas_Object *obj);
 EAPI void e_ilist_remove_num(Evas_Object *obj, int n);
 EAPI const char  *e_ilist_nth_label_get (Evas_Object *obj, int n);
 EAPI void e_ilist_nth_label_set (Evas_Object *obj, int n, 
const char *label);
===
RCS file: /cvs/e/e17/apps/e/src/bin/e_ilist.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -3 -r1.36 -r1.37
--- e_ilist.c   10 Jul 2007 11:15:34 -  1.36
+++ e_ilist.c   15 Jul 2007 23:39:28 -  1.37
@@ -488,6 +488,25 @@
*y -= sd-y;
 }
 
+EAPI int 
+e_ilist_selected_count_get(Evas_Object *obj) 
+{
+   Evas_List *l = NULL;
+   int count = 0;
+   
+   API_ENTRY return 0;
+   if (!sd-items) return 0;
+   for (l = sd-items; l; l = l-next) 
+ {
+   E_Ilist_Item *si;
+   
+   si = l-data;
+   if (!si) continue;
+   if (si-selected) count++;
+ }
+   return count;
+}
+
 EAPI void 
 e_ilist_remove_num(Evas_Object *obj, int n) 
 {
===
RCS file: /cvs/e/e17/apps/e/src/bin/e_widget_ilist.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- e_widget_ilist.h10 Jul 2007 11:15:34 -  1.21
+++ e_widget_ilist.h15 Jul 2007 23:39:28 -  1.22
@@ -30,6 +30,7 @@
 EAPI int  e_widget_ilist_selected_get(Evas_Object *obj);
 EAPI const char  *e_widget_ilist_selected_label_get(Evas_Object *obj);
 EAPI Evas_Object *e_widget_ilist_selected_icon_get(Evas_Object *obj);
+EAPI int  e_widget_ilist_selected_count_get(Evas_Object *obj);
 EAPI void e_widget_ilist_unselect(Evas_Object *obj);
 EAPI void e_widget_ilist_remove_num(Evas_Object *obj, int n);
 EAPI void e_widget_ilist_multi_select_set(Evas_Object *obj, int multi);
===
RCS file: /cvs/e/e17/apps/e/src/bin/e_widget_ilist.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- e_widget_ilist.c10 Jul 2007 11:15:34 -  1.37
+++ e_widget_ilist.c15 Jul 2007 23:39:28 -  1.38
@@ -365,10 +365,19 @@
 EAPI Evas_Object *
 e_widget_ilist_selected_icon_get(Evas_Object *obj)
 {
-E_Widget_Data *wd;
+   E_Widget_Data *wd;

wd = e_widget_data_get(obj);
return e_ilist_selected_icon_get(wd-o_ilist);
+}
+
+EAPI int 
+e_widget_ilist_selected_count_get(Evas_Object *obj) 
+{
+   E_Widget_Data *wd;
+   
+   wd = e_widget_data_get(obj);
+   return e_ilist_selected_count_get(wd-o_ilist);
 }
 
 EAPI void
===
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_modules.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -3 -r1.51 -r1.52
--- e_int_config_modules.c  17 Apr 2007 11:19:20 -  1.51
+++ e_int_config_modules.c  15 Jul 2007 23:39:28 -  1.52
@@ -1,146 +1,102 @@
-/*
- * vim:ts=8:sw=3:sts=8:noexpandtab:cino=5n-3f0^-2{2
- */
 #include e.h
 
-#define MOD_UNLOADED 0
-#define MOD_ENABLED 1
-
-typedef struct _CFModule CFModule;
-
+/* Dialog Protos */
 static void *_create_data(E_Config_Dialog *cfd);
+static void _fill_data(E_Config_Dialog_Data *cfdata);
 static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
-static int _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata);
-static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
-
-static void _ilist_cb_change(void *data, Evas_Object *obj);
-static int _sort_modules(void *data1, void *data2);
-static void _module_configure(void *data, void *data2);
-static void _module_about(void *data, void *data2);
+static Evas_Object *_basic_create(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
 
-static void _module_cb_monitor(void *data, Ecore_File_Monitor *mon, 
Ecore_File_Event event, const char 

E CVS: apps/e devilhorns

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_int_gadcon_config.c 


Log Message:
Make 'Shelf Contents' dialog resizable.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_gadcon_config.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- e_int_gadcon_config.c   12 Jan 2007 23:13:33 -  1.37
+++ e_int_gadcon_config.c   15 Jul 2007 23:42:46 -  1.38
@@ -41,6 +41,7 @@
  E, _gadcon_config_dialog,
  enlightenment/shelf, 0, v, gc);
gc-config_dialog = cfd;
+   e_dialog_resizable_set(cfd-dia, 1);
  }
 }
 
@@ -145,7 +146,7 @@
 
o = e_widget_list_add(evas, 0, 1);
 
-   of = e_widget_framelist_add(evas, _(Available Gadgets), 0);
+   of = e_widget_frametable_add(evas, _(Available Gadgets), 0);
 
oi = e_widget_ilist_add(evas, 24, 24, (cfdata-name_add));
cfdata-o_avail = oi;
@@ -153,28 +154,28 @@
e_widget_min_size_get(oi, wmw, wmh);
if (wmw  200) wmw = 200;
e_widget_min_size_set(oi, wmw, 250);
-   e_widget_framelist_object_append(of, oi);
+   e_widget_frametable_object_append(of, oi, 0, 0, 1, 1, 1, 1, 1, 1);
 
ob = e_widget_button_add(evas, _(Add Gadget), NULL, _cb_add_instance, 
cfdata, NULL);
e_widget_disabled_set(ob, 1);
cfdata-o_add = ob;
-   e_widget_framelist_object_append(of, ob);
+   e_widget_frametable_object_append(of, ob, 0, 1, 1, 1, 1, 1, 1, 0);
 
e_widget_list_object_append(o, of, 1, 1, 0.5);
 
-   of = e_widget_framelist_add(evas, _(Selected Gadgets), 0);
+   of = e_widget_frametable_add(evas, _(Selected Gadgets), 0);
oi = e_widget_ilist_add(evas, 24, 24, (cfdata-id_remove));
cfdata-o_instances = oi;
_load_selected_gadgets(cfdata);
e_widget_min_size_get(oi, wmw, wmh);
if (wmw  200) wmw = 200;
e_widget_min_size_set(oi, wmw, 250);
-   e_widget_framelist_object_append(of, oi);
+   e_widget_frametable_object_append(of, oi, 0, 0, 1, 1, 1, 1, 1, 1);
 
ob = e_widget_button_add(evas, _(Remove Gadget), NULL, 
_cb_remove_instance, cfdata, NULL);
e_widget_disabled_set(ob, 1);
cfdata-o_remove = ob;
-   e_widget_framelist_object_append(of, ob);
+   e_widget_frametable_object_append(of, ob, 0, 1, 1, 1, 1, 1, 1, 0);

e_widget_list_object_append(o, of, 1, 1, 0.5);
 



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


E CVS: apps/e devilhorns

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

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




Log Message:
Directory /cvs/e/e17/apps/e/src/modules/conf_profiles added to the repository




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


E CVS: apps/e devilhorns

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

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


Added Files:
.cvsignore Makefile.am e-module-conf_profiles.edj 
e_int_config_profiles.c e_int_config_profiles.h e_mod_main.c 
e_mod_main.h module.desktop.in 


Log Message:
Added morlenxus' Profile Configuration module.





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


E CVS: apps/e devilhorns

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules


Modified Files:
Makefile.am 


Log Message:
Add conf_profiles to build order.

===
RCS file: /cvs/e/e17/apps/e/src/modules/Makefile.am,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- Makefile.am 13 Jul 2007 22:33:48 -  1.28
+++ Makefile.am 16 Jul 2007 00:47:17 -  1.29
@@ -20,4 +20,5 @@
 conf_transitions \
 conf_startup \
 conf_intl \
-conf_imc
+conf_imc \
+conf_profiles



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


E CVS: apps/e devilhorns

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_icon.c 


Log Message:
Added trap for NULL sd-obj. Ref: Bug #92.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_icon.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- e_icon.c3 Sep 2006 09:44:00 -   1.16
+++ e_icon.c16 Jul 2007 00:50:50 -  1.17
@@ -222,6 +222,7 @@
int iw, ih;
Evas_Coord x, y, w, h;

+   if (!sd-obj) return;
if (!strcmp(evas_object_type_get(sd-obj), edje))
  {
w = sd-w;



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


E CVS: apps/e devilhorns

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir : e17/apps/e


Modified Files:
configure.in 


Log Message:
Added conf_profiles to build order.

===
RCS file: /cvs/e/e17/apps/e/configure.in,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -3 -r1.170 -r1.171
--- configure.in13 Jul 2007 22:33:48 -  1.170
+++ configure.in16 Jul 2007 00:47:58 -  1.171
@@ -271,6 +271,8 @@
 src/modules/conf_intl/module.desktop
 src/modules/conf_imc/Makefile
 src/modules/conf_imc/module.desktop
+src/modules/conf_profiles/Makefile
+src/modules/conf_profiles/module.desktop
 src/preload/Makefile
 data/Makefile
 data/fonts/Makefile



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


E CVS: apps/e devilhorns

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_module.c 


Log Message:
Remove unused struct (left over from when modules were listed in the menu)

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_module.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -3 -r1.77 -r1.78
--- e_module.c  5 Apr 2007 11:51:35 -   1.77
+++ e_module.c  16 Jul 2007 01:29:25 -  1.78
@@ -10,13 +10,6 @@
  * 
  */
 
-typedef struct _Module_Menu_Data Module_Menu_Data;
-
-struct _Module_Menu_Data
-{
-   Evas_List *submenus;
-};
-
 /* local subsystem functions */
 static void _e_module_free(E_Module *m);
 static void _e_module_dialog_disable_show(const char *title, const char *body, 
E_Module *m);



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


E CVS: apps/e devilhorns

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_int_config_modules.c e_int_gadcon_config.c e_module.c 
e_module.h 


Log Message:
Add an event for when a module gets loaded/unloaded. Event structure consits
of module name, and a bool for enabled/disabled. This allows the 'Shelf
Contents' dialog to be dynamically updated when a module loads/unloads.

Change Modules config dialog to use an event.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_modules.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -3 -r1.52 -r1.53
--- e_int_config_modules.c  15 Jul 2007 23:39:28 -  1.52
+++ e_int_config_modules.c  16 Jul 2007 02:15:36 -  1.53
@@ -24,6 +24,7 @@
 static void _cb_unload(void *data, void *data2);
 static void _cb_about(void *data, void *data2);
 static void _cb_config(void *data, void *data2);
+static int  _cb_mod_update(void *data, int type, void *event);
 
 struct _E_Config_Dialog_Data 
 {
@@ -31,6 +32,8 @@
Evas_Object *o_all, *o_loaded;
Evas_Object *b_load, *b_unload;
Evas_Object *b_about, *b_configure;
+   
+   Ecore_Event_Handler *hdl;
 };
 
 static Evas_List *monitors = NULL;
@@ -94,6 +97,9 @@
 static void
 _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) 
 {
+   /* Remove module update event handler */
+   if (cfdata-hdl) ecore_event_handler_del(cfdata-hdl);
+   
/* Remove file monitors for module directories */
if (mod_mon) ecore_file_monitor_del(mod_mon);
if (dir_mon) ecore_file_monitor_del(dir_mon);
@@ -156,6 +162,12 @@
e_widget_frametable_object_append(of, ob, 1, 1, 1, 1, 1, 0, 0, 0);

e_widget_table_object_append(o, of, 1, 0, 1, 1, 1, 1, 1, 1);
+   
+   /* Setup Module update handler */
+   if (cfdata-hdl) ecore_event_handler_del(cfdata-hdl);
+   cfdata-hdl = ecore_event_handler_add(E_EVENT_MODULE_UPDATE, 
+_cb_mod_update, cfdata);
+   
return o;   
 }
 
@@ -512,10 +524,6 @@
  e_module_enable(mod);
  }
if (l) evas_list_free(l);
-   
-   /* Refill the lists */
-   _fill_all(cfdata);
-   _fill_loaded(cfdata);
 }
 
 static void 
@@ -552,10 +560,6 @@
if ((mod)  (mod-enabled)) e_module_disable(mod);
  }
if (l) evas_list_free(l);
-   
-   /* Refill the lists */
-   _fill_all(cfdata);
-   _fill_loaded(cfdata);
 }
 
 static void 
@@ -590,4 +594,21 @@
mod = _get_module(cfdata, lbl);
if (!mod) return;
if ((mod)  (mod-func.config)) mod-func.config(mod);
+}
+
+static int 
+_cb_mod_update(void *data, int type, void *event) 
+{
+   E_Event_Module_Update *ev;
+   E_Config_Dialog_Data *cfdata;
+   
+   if (type != E_EVENT_MODULE_UPDATE) return 1;
+
+   cfdata = data;
+   ev = event;
+   if (!cfdata) return 1;
+   
+   _load_modules(cfdata);
+   _fill_all(cfdata);
+   _fill_loaded(cfdata);
 }
===
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_gadcon_config.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -3 -r1.38 -r1.39
--- e_int_gadcon_config.c   15 Jul 2007 23:42:46 -  1.38
+++ e_int_gadcon_config.c   16 Jul 2007 02:15:37 -  1.39
@@ -9,6 +9,7 @@
 static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
 static void _load_available_gadgets(void *data);
 static void _load_selected_gadgets(void *data);
+static int _cb_mod_update(void *data, int type, void *event);
 
 /* Actual config data we will be playing with whil the dialog is active */
 struct _E_Config_Dialog_Data
@@ -19,6 +20,8 @@
Evas_Object *o_add, *o_remove, *o_instances, *o_avail;
 
E_Config_Gadcon *cf_gc;
+   
+   Ecore_Event_Handler *hdl;
 };
 
 /* a nice easy setup function that does the dirty work */
@@ -70,6 +73,7 @@
cfdata-gc-config_dialog = NULL;
if (cfdata-name_add) free(cfdata-name_add);
if (cfdata-id_remove) free(cfdata-id_remove);
+   if (cfdata-hdl) ecore_event_handler_del(cfdata-hdl);
E_FREE(cfdata);
 }
 
@@ -77,8 +81,8 @@
 _cb_select_client(void *data)
 {
E_Config_Dialog_Data *cfdata;
-   cfdata = data;
 
+   cfdata = data;
e_widget_disabled_set(cfdata-o_add, 0);
 }
 
@@ -86,8 +90,8 @@
 _cb_select_client_instance(void *data)
 {
E_Config_Dialog_Data *cfdata;
-   cfdata = data;
 
+   cfdata = data;
e_widget_disabled_set(cfdata-o_remove, 0);
 }
 
@@ -147,7 +151,6 @@
o = e_widget_list_add(evas, 0, 1);
 
of = e_widget_frametable_add(evas, _(Available Gadgets), 0);
-
oi = e_widget_ilist_add(evas, 24, 24, (cfdata-name_add));
cfdata-o_avail = oi;
_load_available_gadgets(cfdata);
@@ -155,12 +158,10 @@
if (wmw  200) wmw = 200;
e_widget_min_size_set(oi, wmw, 250);
e_widget_frametable_object_append(of, oi, 0, 0, 1, 1, 1, 1, 1, 1);
-
ob = e_widget_button_add(evas, _(Add Gadget), NULL, 

E CVS: apps/e devilhorns

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_int_config_modules.c 


Log Message:
Oops, don't need to reload the cfdata-modules list there.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_modules.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -3 -r1.53 -r1.54
--- e_int_config_modules.c  16 Jul 2007 02:15:36 -  1.53
+++ e_int_config_modules.c  16 Jul 2007 02:21:33 -  1.54
@@ -608,7 +608,6 @@
ev = event;
if (!cfdata) return 1;

-   _load_modules(cfdata);
_fill_all(cfdata);
_fill_loaded(cfdata);
 }



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


E CVS: apps/e ravenlock

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ravenlock
Project : e17
Module  : apps/e

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


Modified Files:
e_mod_config.c 


Log Message:
Slight change in text.

===
RCS file: /cvs/e/e17/apps/e/src/modules/pager/e_mod_config.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- e_mod_config.c  15 Jul 2007 08:28:03 -  1.31
+++ e_mod_config.c  16 Jul 2007 03:15:17 -  1.32
@@ -148,7 +148,7 @@
e_widget_frametable_object_append(of, ob, 1, 2, 1, 1, 1, 1, 1, 1);
ob = e_widget_label_add(evas, _(Drag and Drop button (Keeps rel. loc.)));
e_widget_frametable_object_append(of, ob, 1, 3, 1, 1, 1, 1, 1, 1);
-   ob = e_widget_label_add(evas, _(Drag whole desktop (Move every windowsof a 
desk)));
+   ob = e_widget_label_add(evas, _(Drag whole desktop (Move all windows of a 
desktop)));
e_widget_frametable_object_append(of, ob, 1, 4, 1, 1, 1, 1, 1, 1);
ob = e_widget_button_add(evas, _(Click to set), NULL, _grab_wnd_show, 
(void *)GRAB_BUTTON_DRAG, cfdata);
e_widget_frametable_object_append(of, ob, 2, 2, 1, 1, 1, 1, 0, 0);



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


E CVS: apps/e devilhorns

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_int_config_modules.c e_int_gadcon_config.c 


Log Message:
Add missing return values for module update functions, thanks jeffdameth :)

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_modules.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -3 -r1.54 -r1.55
--- e_int_config_modules.c  16 Jul 2007 02:21:33 -  1.54
+++ e_int_config_modules.c  16 Jul 2007 03:52:00 -  1.55
@@ -610,4 +610,5 @@

_fill_all(cfdata);
_fill_loaded(cfdata);
+   return 1;
 }
===
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_gadcon_config.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -3 -r1.39 -r1.40
--- e_int_gadcon_config.c   16 Jul 2007 02:15:37 -  1.39
+++ e_int_gadcon_config.c   16 Jul 2007 03:52:00 -  1.40
@@ -287,4 +287,5 @@

_load_available_gadgets(cfdata);
_load_selected_gadgets(cfdata);
+   return 1;
 }



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


E CVS: libs/evas doursse

2007-07-15 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/engines/software_ddraw


Modified Files:
evas_engine.h 


Log Message:
missing declaration function

===
RCS file: 
/cvs/e/e17/libs/evas/src/modules/engines/software_ddraw/evas_engine.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas_engine.h   27 May 2007 06:43:23 -  1.1
+++ evas_engine.h   16 Jul 2007 05:55:27 -  1.2
@@ -85,6 +85,7 @@
  int *ch);

 void evas_software_ddraw_outbuf_free_region_for_update(Outbuf *buf,

   RGBA_Image 
*update);

+void evas_software_ddraw_outbuf_flush(Outbuf *buf);

 void evas_software_ddraw_outbuf_push_updated_region(Outbuf *buf,

RGBA_Image *update,

int x,




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