Re: [E-devel] itask engaged - simple app launcher added

2007-04-28 Thread Hannes Janetzek
Am Tue, 24 Apr 2007 16:20:46 +1000
schrieb Daniel Kasak [EMAIL PROTECTED]:

 Looks good :) Actually I'd like to see the engage-like scaling in an
 app *launcher* as well as a task manager, but anyway ... it's good.

It is now possible to select whether the bar should be a taskmanager or
an app launcher. I like it more to have them both separated, i.e not in
one bar. But later i might add the possibility to have them in one bar.

For those who want to stay up to date with development. there is a
google group mailinglist where commits to itask go to:
e17-taskbar-module-commit-list


Regards,
Hannes

-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E CVS: proto devilhorns

2007-04-28 Thread Stéphane Bauland
Enlightenment CVS wrote:
 Enlightenment CVS committal

 Author  : devilhorns
 Project : e17
 Module  : proto

 Dir : e17/proto/extrackt


 Modified Files:
   configure.in 


 Log Message:
 Pkg-config patch from Lutin for extrackt. Works.

 ===
 RCS file: /cvs/e/e17/proto/extrackt/configure.in,v
 retrieving revision 1.5
 retrieving revision 1.6
 diff -u -3 -r1.5 -r1.6
 --- configure.in  11 Sep 2006 21:32:48 -  1.5
 +++ configure.in  28 Apr 2007 10:42:27 -  1.6
 @@ -91,63 +91,51 @@
  AC_FUNC_LSTAT
  AC_FUNC_CLOSEDIR_VOID
  
 -#check for ecore
 -AC_PATH_EFL(
 -   ecore,
 -   0.9.9,
 +PKG_CHECK_MODULES(ECORE, [ecore = 0.9.9],
 [
   AC_DEFINE(HAVE_ECORE, 1, have ECORE)
   ecore=ECORE 
 - ecore_libs=`ecore-config --libs`
 - ecore_includes=`ecore-config --cflags`
 + ecore_libs=$ECORE_LIBS
 + ecore_includes=$ECORE_CFLAGS
 ],
 [
 - AC_MSG_ERROR([No ECORE, can't build.])
 + AC_MSG_ERROR([No EVAS, can't build.])
 ]
  )
   
MISTAKE !

+ AC_MSG_ERROR([No EVAS, can't build.])

you said evas here, but it's ecore !!! xD

see you...

  
 -#check for evas
 -AC_PATH_EFL(
 -   evas,
 -   0.9.9,
 +PKG_CHECK_MODULES(EET, [eet = 0.9.10],
 [
 - AC_DEFINE(HAVE_EVAS, 1, have EVAS)
 - evas=EVAS 
 - evas_libs=`evas-config --libs`
 - evas_includes=`evas-config --cflags`
 + AC_DEFINE(HAVE_EET, 1, have EET)
 + eet=EET 
 + eet_libs=$EET_LIBS
 + eet_includes=$EET_CFLAGS
 ],
 [
 - AC_MSG_ERROR([No EVAS, can't build.])
 + AC_MSG_ERROR([No EET, can't build.])
 ]
  )
  
 -#check for eet
 -AC_PATH_EFL(
 -   eet,
 -   0.9.10,
 +PKG_CHECK_MODULES(EVAS, [evas = 0.9.9],
 [
 - AC_DEFINE(HAVE_EET, 1, have EET)
 - eet=EET 
 - eet_libs=`eet-config --libs`
 - eet_includes=`eet-config --cflags`
 + AC_DEFINE(HAVE_EVAS, 1, have EVAS)
 + evas=EVAS 
 + evas_libs=$EVAS_LIBS
 + evas_includes=$EVAS_CFLAGS
 ],
 [
 - AC_MSG_ERROR([No EET, can't build.])
 + AC_MSG_ERROR([No EVAS, can't build.])
 ]
  )
  
 -#check for etk
 -AC_PATH_EFL(
 -   etk,
 -   0.1.0,
 +PKG_CHECK_MODULES(ETK, [etk = 0.1.0],
 [
   AC_DEFINE(HAVE_ETK, 1, have ETK)
   etk=ETK 
   AM_CONDITIONAL(HAVE_ETK, true)
   AM_CONDITIONAL(BUILD_FRONTEND_ETK, true)
   have_etk=yes
 - etk_libs=`etk-config --libs`
 - etk_includes=`etk-config --cflags`
 + etk_libs=$ETK_LIBS
 + etk_includes=$ETK_CFLAGS
 ],
 [
   AC_DEFINE(HAVE_ETK, 0, no ETK)
 @@ -160,22 +148,19 @@
 ]
  )
  
 -#check for enhance
 -AC_PATH_EFL(
 -   enhance,
 -   0.0.1,
 +PKG_CHECK_MODULES(ENHANCE, [enhance = 0.0.1],
 [
   AC_DEFINE(HAVE_ENHANCE, 1, have ENHANCE)
   enhance=ENHANCE 
   AM_CONDITIONAL(HAVE_ENHANCE, true)
   have_enhance=yes
 - enhance_libs=`enhance-config --libs`
 - ehnahce_includes=`enhance-config --cflags`
 - if test x${have_etk} = xyes; then   
 + enhance_libs=$ENHANCE_LIBS
 + ehnahce_includes=$ENHANCE_CFLAGS
 + if test x${have_etk} = xyes; then
 AM_CONDITIONAL(BUILD_FRONTEND_ETK, true)
   else
 AM_CONDITIONAL(BUILD_FRONTEND_ETK, false)
 - fi 
 + fi
 ],
 [
   AC_DEFINE(HAVE_ENHANCE, 0, no ENHANCE)
 @@ -184,7 +169,7 @@
   AC_MSG_WARN([No Enhance, can't build ETK plugin.])
   have_enhance=no
   enhance_libs=
 - enhance_includes= 
 + enhance_includes=
 ]
  )
  



 -
 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
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

   


-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E CVS: proto devilhorns

2007-04-28 Thread Albin Tonnerre
On Sat, Apr 28, 2007 at 02:40:15PM +0200, Stéphane Bauland wrote :
 Enlightenment CVS wrote:
  Enlightenment CVS committal
 
  Author  : devilhorns
  Project : e17
  Module  : proto
 
  Dir : e17/proto/extrackt
 
 
  Modified Files:
  configure.in 
 
 
  Log Message:
  Pkg-config patch from Lutin for extrackt. Works.
 
  ===
  RCS file: /cvs/e/e17/proto/extrackt/configure.in,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -3 -r1.5 -r1.6
  --- configure.in11 Sep 2006 21:32:48 -  1.5
  +++ configure.in28 Apr 2007 10:42:27 -  1.6
  @@ -91,63 +91,51 @@
   AC_FUNC_LSTAT
   AC_FUNC_CLOSEDIR_VOID
   
  -#check for ecore
  -AC_PATH_EFL(
  -   ecore,
  -   0.9.9,
  +PKG_CHECK_MODULES(ECORE, [ecore = 0.9.9],
  [
AC_DEFINE(HAVE_ECORE, 1, have ECORE)
ecore=ECORE 
  - ecore_libs=`ecore-config --libs`
  - ecore_includes=`ecore-config --cflags`
  + ecore_libs=$ECORE_LIBS
  + ecore_includes=$ECORE_CFLAGS
  ],
  [
  - AC_MSG_ERROR([No ECORE, can't build.])
  + AC_MSG_ERROR([No EVAS, can't build.])
  ]
   )

 MISTAKE !
 
 + AC_MSG_ERROR([No EVAS, can't build.])
 
 you said evas here, but it's ecore !!! xD
 
 see you...
 
   
  -#check for evas
  -AC_PATH_EFL(
  -   evas,
  -   0.9.9,
  +PKG_CHECK_MODULES(EET, [eet = 0.9.10],
  [
  - AC_DEFINE(HAVE_EVAS, 1, have EVAS)
  - evas=EVAS 
  - evas_libs=`evas-config --libs`
  - evas_includes=`evas-config --cflags`
  + AC_DEFINE(HAVE_EET, 1, have EET)
  + eet=EET 
  + eet_libs=$EET_LIBS
  + eet_includes=$EET_CFLAGS
  ],
  [
  - AC_MSG_ERROR([No EVAS, can't build.])
  + AC_MSG_ERROR([No EET, can't build.])
  ]
   )
   
  -#check for eet
  -AC_PATH_EFL(
  -   eet,
  -   0.9.10,
  +PKG_CHECK_MODULES(EVAS, [evas = 0.9.9],
  [
  - AC_DEFINE(HAVE_EET, 1, have EET)
  - eet=EET 
  - eet_libs=`eet-config --libs`
  - eet_includes=`eet-config --cflags`
  + AC_DEFINE(HAVE_EVAS, 1, have EVAS)
  + evas=EVAS 
  + evas_libs=$EVAS_LIBS
  + evas_includes=$EVAS_CFLAGS
  ],
  [
  - AC_MSG_ERROR([No EET, can't build.])
  + AC_MSG_ERROR([No EVAS, can't build.])
  ]
   )
   
  -#check for etk
  -AC_PATH_EFL(
  -   etk,
  -   0.1.0,
  +PKG_CHECK_MODULES(ETK, [etk = 0.1.0],
  [
AC_DEFINE(HAVE_ETK, 1, have ETK)
etk=ETK 
AM_CONDITIONAL(HAVE_ETK, true)
AM_CONDITIONAL(BUILD_FRONTEND_ETK, true)
have_etk=yes
  - etk_libs=`etk-config --libs`
  - etk_includes=`etk-config --cflags`
  + etk_libs=$ETK_LIBS
  + etk_includes=$ETK_CFLAGS
  ],
  [
AC_DEFINE(HAVE_ETK, 0, no ETK)
  @@ -160,22 +148,19 @@
  ]
   )
   
  -#check for enhance
  -AC_PATH_EFL(
  -   enhance,
  -   0.0.1,
  +PKG_CHECK_MODULES(ENHANCE, [enhance = 0.0.1],
  [
AC_DEFINE(HAVE_ENHANCE, 1, have ENHANCE)
enhance=ENHANCE 
AM_CONDITIONAL(HAVE_ENHANCE, true)
have_enhance=yes
  - enhance_libs=`enhance-config --libs`
  - ehnahce_includes=`enhance-config --cflags`
  - if test x${have_etk} = xyes; then   
  + enhance_libs=$ENHANCE_LIBS
  + ehnahce_includes=$ENHANCE_CFLAGS
  + if test x${have_etk} = xyes; then
  AM_CONDITIONAL(BUILD_FRONTEND_ETK, true)
else
  AM_CONDITIONAL(BUILD_FRONTEND_ETK, false)
  - fi 
  + fi
  ],
  [
AC_DEFINE(HAVE_ENHANCE, 0, no ENHANCE)
  @@ -184,7 +169,7 @@
AC_MSG_WARN([No Enhance, can't build ETK plugin.])
have_enhance=no
enhance_libs=
  - enhance_includes= 
  + enhance_includes=
  ]
   )
   
 
 
 
  -
  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
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
 

 
 
 -
 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-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Yeah, I just noticed that.
bad /me. no cookie :)

-- 
Albin Tonnerre, aka Lutin
 - Search a little longer, travel a little further


signature.asc
Description: Digital signature
-
This SF.net email is sponsored by 

Re: [E-devel] itask engaged - simple app launcher added

2007-04-28 Thread Hannes Janetzek
Am Sat, 28 Apr 2007 23:27:21 +1000
schrieb Daniel Kasak [EMAIL PROTECTED]:

 Hannes Janetzek wrote:
  Am Tue, 24 Apr 2007 16:20:46 +1000
  schrieb Daniel Kasak [EMAIL PROTECTED]:
 

  Looks good :) Actually I'd like to see the engage-like scaling in
  an app *launcher* as well as a task manager, but anyway ... it's
  good. 
 
  It is now possible to select whether the bar should be a
  taskmanager or an app launcher. I like it more to have them both
  separated, i.e not in one bar. But later i might add the
  possibility to have them in one bar.
 
  For those who want to stay up to date with development. there is a
  google group mailinglist where commits to itask go to:
  e17-taskbar-module-commit-list

 
 Cool :) Thanks for adding this. I've just synced with the subversion 
 repository and rebuilt ... unfortunately I'm getting segfaults when I 
 try to activate the launcher mode.
 
 Also, the ALT-Click to activate the configuration menu only works
 when the shelf is 'above everything'.
 
 Sorry to be the bringer of crash reports and stuff. I do like the
 module :)

no no, thanks for telling me. I'm sometimes to lazy to delete the
config-files, so some bugs don't show up and i think it just works. 
This should be fixed now. 

I want to make the config dialog more comfortable, but for now the
launcher config dialog (to select the apps) is only shown when the
other config dialog is not open.
 
--
Hannes
 
 Dan
 
 -
 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-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E CVS: deskshow urandom

2007-04-28 Thread Ravenlock
I don't believe this change was correct.  It no longer builds and 
installs. Remove this module and do a fresh checkout, then build.

I wonder if just modifying the module.desktop.in (adding 'Type=Link'), 
in the first place would have implemented the fix you were looking for?

On 04/28/2007 07:31, Enlightenment CVS wrote:
 Enlightenment CVS committal
 
 Author  : urandom
 Project : e_modules
 Module  : deskshow
 
 Dir : e_modules/deskshow
 
 
 Modified Files:
   Makefile.am configure.in e_mod_main.c 
 Removed Files:
   module.desktop.in module.edj 
 
 
 Log Message:
 make the module and it's icon visible in the modules dialog again
 
 ===
 RCS file: /cvs/e/e_modules/deskshow/Makefile.am,v
 retrieving revision 1.17
 retrieving revision 1.18
 diff -u -3 -r1.17 -r1.18
 --- Makefile.am   9 Nov 2006 05:45:47 -   1.17
 +++ Makefile.am   28 Apr 2007 12:31:17 -  1.18
 @@ -10,7 +10,7 @@
  
  files_DATA = module_icon.png \
   module.desktop \
 - module.edj \
 + e-module-deskshow.edj \
   deskshow.edj
  
  EXTRA_DIST = $(files_DATA) \
 ===
 RCS file: /cvs/e/e_modules/deskshow/configure.in,v
 retrieving revision 1.7
 retrieving revision 1.8
 diff -u -3 -r1.7 -r1.8
 --- configure.in  25 Apr 2007 09:11:15 -  1.7
 +++ configure.in  28 Apr 2007 12:31:17 -  1.8
 @@ -117,7 +117,6 @@
  
  AC_OUTPUT([
  Makefile
 -module.desktop
  e_modules-deskshow.spec
  ],[
  ])
 ===
 RCS file: /cvs/e/e_modules/deskshow/e_mod_main.c,v
 retrieving revision 1.18
 retrieving revision 1.19
 diff -u -3 -r1.18 -r1.19
 --- e_mod_main.c  31 Dec 2006 12:27:00 -  1.18
 +++ e_mod_main.c  28 Apr 2007 12:31:17 -  1.19
 @@ -111,7 +111,7 @@
char buf[4096];
  
o = edje_object_add (evas);
 -  snprintf (buf, sizeof (buf), %s/module.edj,
 +  snprintf (buf, sizeof (buf), %s/e-module-deskshow.edj,
   e_module_dir_get (desk_module));
edje_object_file_set (o, buf, icon);
return o;
 
 
 
 -
 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
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
 
 


-- 
Regards,
Ravenlock

-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E CVS: deskshow urandom

2007-04-28 Thread Виктор Кожухаров
В сб, 2007-04-28 в 09:45 -0500, Ravenlock написа:
 I don't believe this change was correct.  It no longer builds and 
 installs. Remove this module and do a fresh checkout, then build.
 
 I wonder if just modifying the module.desktop.in (adding 'Type=Link'), 
 in the first place would have implemented the fix you were looking for?
I've forgotten to add the new files to cvs
 
 On 04/28/2007 07:31, Enlightenment CVS wrote:
  Enlightenment CVS committal
  
  Author  : urandom
  Project : e_modules
  Module  : deskshow
  
  Dir : e_modules/deskshow
  
  
  Modified Files:
  Makefile.am configure.in e_mod_main.c 
  Removed Files:
  module.desktop.in module.edj 
  
  
  Log Message:
  make the module and it's icon visible in the modules dialog again
  
  ===
  RCS file: /cvs/e/e_modules/deskshow/Makefile.am,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -3 -r1.17 -r1.18
  --- Makefile.am 9 Nov 2006 05:45:47 -   1.17
  +++ Makefile.am 28 Apr 2007 12:31:17 -  1.18
  @@ -10,7 +10,7 @@
   
   files_DATA = module_icon.png \
  module.desktop \
  -   module.edj \
  +   e-module-deskshow.edj \
  deskshow.edj
   
   EXTRA_DIST = $(files_DATA) \
  ===
  RCS file: /cvs/e/e_modules/deskshow/configure.in,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -3 -r1.7 -r1.8
  --- configure.in25 Apr 2007 09:11:15 -  1.7
  +++ configure.in28 Apr 2007 12:31:17 -  1.8
  @@ -117,7 +117,6 @@
   
   AC_OUTPUT([
   Makefile
  -module.desktop
   e_modules-deskshow.spec
   ],[
   ])
  ===
  RCS file: /cvs/e/e_modules/deskshow/e_mod_main.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -3 -r1.18 -r1.19
  --- e_mod_main.c31 Dec 2006 12:27:00 -  1.18
  +++ e_mod_main.c28 Apr 2007 12:31:17 -  1.19
  @@ -111,7 +111,7 @@
 char buf[4096];
   
 o = edje_object_add (evas);
  -  snprintf (buf, sizeof (buf), %s/module.edj,
  +  snprintf (buf, sizeof (buf), %s/e-module-deskshow.edj,
  e_module_dir_get (desk_module));
 edje_object_file_set (o, buf, icon);
 return o;
  
  
  
  -
  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
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
  
  
 
 
-- 
Виктор Кожухаров /Viktor Kojouharov/


signature.asc
Description: Това е	 цифрово	 подписана	 част от	 писмото
-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] itask engaged - simple app launcher added

2007-04-28 Thread João Vale
On Sat, 2007-04-28 at 16:21 +0200, Hannes Janetzek wrote:
 Am Sat, 28 Apr 2007 23:27:21 +1000
 schrieb Daniel Kasak [EMAIL PROTECTED]:
 
  Hannes Janetzek wrote:
   Am Tue, 24 Apr 2007 16:20:46 +1000
   schrieb Daniel Kasak [EMAIL PROTECTED]:
  
 
   Looks good :) Actually I'd like to see the engage-like scaling in
   an app *launcher* as well as a task manager, but anyway ... it's
   good. 
  
   It is now possible to select whether the bar should be a
   taskmanager or an app launcher. I like it more to have them both
   separated, i.e not in one bar. But later i might add the
   possibility to have them in one bar.
  
   For those who want to stay up to date with development. there is a
   google group mailinglist where commits to itask go to:
   e17-taskbar-module-commit-list
 
  
  Cool :) Thanks for adding this. I've just synced with the subversion 
  repository and rebuilt ... unfortunately I'm getting segfaults when I 
  try to activate the launcher mode.
  
  Also, the ALT-Click to activate the configuration menu only works
  when the shelf is 'above everything'.
  
  Sorry to be the bringer of crash reports and stuff. I do like the
  module :)
 
 no no, thanks for telling me. I'm sometimes to lazy to delete the
 config-files, so some bugs don't show up and i think it just works. 
 This should be fixed now. 

I had the same problem and it is now fixed. ^^

I noticed a bug in the Launcher Configuration dialogue, however. When
you add an application to a source, it only keeps the newly added ones.
Any applications previously in the IBar Applications list are
discarded. 

Keep up the good work! Great module. :)

//Vale


 
 I want to make the config dialog more comfortable, but for now the
 launcher config dialog (to select the apps) is only shown when the
 other config dialog is not open.
  
 --
 Hannes
  
  Dan
  
  -
  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-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 -
 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-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] e_confirm_dialog changes

2007-04-28 Thread Laurent Ghigonis
Hi !

I wanted to use e_confirm_dialog in a module and i realised that there
is no way to destroy the dialog window, cause the e_confirm_dialog_show
does not return anything.

I did some change, to make possible deletion of a confirm dialog. The
E_Confirm_Dialog struct is now in the .h, and it is an E_Object so it
can be deleted easily. It's now more like E_Config_Dialog.

Attached a patch, wich i'd be happy to commit if it looks good for
everyone =)

laurent? e_confirm_dialog.patch
Index: e_confirm_dialog.c
===
RCS file: /cvs/e/e17/apps/e/src/bin/e_confirm_dialog.c,v
retrieving revision 1.3
diff -u -r1.3 e_confirm_dialog.c
--- e_confirm_dialog.c	30 Oct 2006 10:42:23 -	1.3
+++ e_confirm_dialog.c	28 Apr 2007 03:05:53 -
@@ -3,47 +3,25 @@
  */
 #include e.h
 
-typedef struct _E_Confirm_Dialog E_Confirm_Dialog;
-
-struct _E_Confirm_Dialog
-{
-   struct 
- {
-	void *data;
-	void (*func)(void *data);
- } yes;
-
-   struct
- {
-	void *data;
-	void (*func)(void *data);
- } no;
-
-   struct
- {
-	void *data;
-	void (*func)(void *data);
- } del;
-   E_Dialog *dia;
-};
-
-
 / private function definitions **/
+static void _e_confirm_dialog_free(E_Confirm_Dialog *cd);
 static void _e_confirm_dialog_delete(E_Win *win);
 static void _e_confirm_dialog_yes(void *data, E_Dialog *dia);
 static void _e_confirm_dialog_no(void *data, E_Dialog *dia);
 
 
 /** externally accesible functions /
-EAPI void 
+EAPI E_Confirm_Dialog *
 e_confirm_dialog_show(const char *title, const char *icon, const char *text,
-		  const char *button_text, const char *button2_text, void (*func)(void *data),
-		  void (*func2)(void *data), void *data, void *data2, void (*del_func)(void *data), void *del_data)
+		  const char *button_text, const char *button2_text,
+  void (*func)(void *data), void (*func2)(void *data),
+  void *data, void *data2,
+  void (*del_func)(void *data), void *del_data)
 {
E_Confirm_Dialog *cd; 
E_Dialog *dia;
 
-   cd = E_NEW(E_Confirm_Dialog, 1);
+   cd = E_OBJECT_ALLOC(E_Confirm_Dialog, E_CONFIRM_DIALOG_TYPE, _e_confirm_dialog_free);
cd-yes.func = func;
cd-yes.data = data;
cd-no.func = func2;
@@ -72,10 +50,23 @@
e_dialog_button_focus_num(dia, 1);
e_win_centered_set(dia-win, 1);
e_dialog_show(dia);
+
+   return cd;
 }
 
 /* private function bodies /
 static void
+_e_confirm_dialog_free(E_Confirm_Dialog *cd)
+{
+   E_Dialog *dia;
+   E_Win *win;
+
+   dia = cd-dia;
+   win = dia-win;
+   _e_confirm_dialog_delete(win);
+}
+
+static void
 _e_confirm_dialog_yes(void *data, E_Dialog *dia)
 {
E_Confirm_Dialog *cd;
@@ -84,6 +75,7 @@
if (cd-yes.func) cd-yes.func(cd-yes.data);
_e_confirm_dialog_delete(cd-dia-win);
 }
+
 static void
 _e_confirm_dialog_no(void *data, E_Dialog *dia)
 {
@@ -93,6 +85,7 @@
if (cd-no.func) cd-no.func(cd-no.data);
_e_confirm_dialog_delete(cd-dia-win);
 }
+
 static void
 _e_confirm_dialog_delete(E_Win *win)
 {
Index: e_confirm_dialog.h
===
RCS file: /cvs/e/e17/apps/e/src/bin/e_confirm_dialog.h,v
retrieving revision 1.3
diff -u -r1.3 e_confirm_dialog.h
--- e_confirm_dialog.h	14 Jan 2007 16:48:20 -	1.3
+++ e_confirm_dialog.h	28 Apr 2007 03:05:53 -
@@ -1,12 +1,39 @@
 /*
  * vim:ts=8:sw=3:sts=8:noexpandtab:cino=5n-3f0^-2{2
  */
-#ifdef E_TYPEDEF
+#ifdef E_TYPEDEFS
+
+typedef struct _E_Confirm_Dialog E_Confirm_Dialog;
 
 #else
 #ifndef E_CONFIRM_DIALOG_H
 #define E_CONFIRM_DIALOG_H
 
+#define E_CONFIRM_DIALOG_TYPE 0x16f5904e
+
+struct _E_Confirm_Dialog
+{
+   E_Object  e_obj_inherit;
+   
+   E_Dialog *dia;
+
+   struct 
+ {
+	void *data;
+	void (*func)(void *data);
+ } yes;
+   struct
+ {
+	void *data;
+	void (*func)(void *data);
+ } no;
+   struct
+ {
+	void *data;
+	void (*func)(void *data);
+ } del;
+};
+
 /*
  * @title - dialog title
  * @icon  - dialog icon
@@ -17,8 +44,10 @@
  * func2 - the function to call if no is pressed
  * data - the pointer passed to func
  * data2 - the pointer passed to func2
+ * del_func - the function to call before dialog is deleted
+ * del_data - the pointer passer to del_func
  */
-EAPI void e_confirm_dialog_show(const char *title, const char *icon, const char *text, const char *button_text, const char *button2_text, void (*func)(void *data), void (*func2)(void *data), void *data, void *data2, void (*del_func)(void *data), void * del_data);
+EAPI E_Confirm_Dialog *e_confirm_dialog_show(const char *title, const char *icon, const char *text, const char *button_text, const char *button2_text, void (*func)(void *data), void (*func2)(void *data), void *data, void *data2, void (*del_func)(void *data), void * del_data);
 
 #endif
 #endif
-
This 

Re: [E-devel] itask engaged - simple app launcher added

2007-04-28 Thread Hannes Janetzek
Am Sat, 28 Apr 2007 15:58:48 +0100
schrieb João Vale [EMAIL PROTECTED]:


 I noticed a bug in the Launcher Configuration dialogue, however. When
 you add an application to a source, it only keeps the newly added
 ones. Any applications previously in the IBar Applications list are
 discarded. 
 

This is a feature, really :)  
the .order files  for itask_ng are stored
in .e/e/modules/itask/apps/source_name/.order 

btw, if you want to change the order in that the icons appear you have
to edit this file atm

--
Hannes


 Keep up the good work! Great module. :)
 
 //Vale
 
 
  
  I want to make the config dialog more comfortable, but for now the
  launcher config dialog (to select the apps) is only shown when the
  other config dialog is not open.
   
  --
  Hannes
   
   Dan
   
   -
   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-devel mailing list
   enlightenment-devel@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
  
  -
  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-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 
 -
 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-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] itask engaged - simple app launcher added

2007-04-28 Thread Hannes Janetzek
 I noticed a bug in the Launcher Configuration dialogue, however. When
 you add an application to a source, it only keeps the newly added
 ones. Any applications previously in the IBar Applications list are
 discarded. 

ah ok, i see now what you've probably meant. you have to restart the
module(or e) if you change the source. I'll have at this.

 
 Keep up the good work! Great module. :)
 
 //Vale

-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] python-evas and python-ecore bindings

2007-04-28 Thread Gustavo Sverzut Barbieri
On 4/27/07, Gustavo Sverzut Barbieri [EMAIL PROTECTED] wrote:
 Attached are my, still barebones, bindings of Evas and Ecore (also
 Ecore_Evas) to Python, using pyrex tool (tested with pyrex0.9.5.1a,
 efl from today and python2.4, on gentoo).

[...]

note: you need my last patch to evas to avoid it segfault in
python-evas/tests/ (since I do not set engine info).

-- 
Gustavo Sverzut Barbieri
--
Jabber: [EMAIL PROTECTED]
   MSN: [EMAIL PROTECTED]
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010

-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel