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

2006-05-26 Thread dan sinclair
You should really be using ewl_widget_disable(Ewl_Widget *w) and 
ewl_widget_enable(Ewl_Widget *w) for this kind of thing.


dan




Enlightenment CVS wrote:

Enlightenment CVS committal

Author  : titan
Project : e17
Module  : proto

Dir : e17/proto/ephoto/src


Modified Files:
	ephoto.c ephoto_browsing.c ephoto_misc.c 



Log Message:

Conform to ewl_widget_state_set api changes.

===
RCS file: /cvs/e/e17/proto/ephoto/src/ephoto.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -3 -r1.54 -r1.55
--- ephoto.c25 May 2006 00:29:36 -  1.54
+++ ephoto.c26 May 2006 04:22:35 -  1.55
@@ -554,7 +554,8 @@
 		ewl_callback_append(m-vbutton, EWL_CALLBACK_CLICKED, 
 		images_cb, NULL);

ewl_widget_disable(m-vbutton);
-   ewl_widget_state_set(m-vbutton, disabled);
+		ewl_widget_state_set(m-vbutton, disabled, 
+		EWL_STATE_PERSISTENT);

ewl_widget_show(m-vbutton);
 
 		ewl_notebook_page_tab_text_set(EWL_NOTEBOOK(m-notebook), 
===

RCS file: /cvs/e/e17/proto/ephoto/src/ephoto_browsing.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- ephoto_browsing.c   24 May 2006 21:11:07 -  1.35
+++ ephoto_browsing.c   26 May 2006 04:22:35 -  1.36
@@ -334,8 +334,10 @@
if ( ecore_dlist_is_empty(m-imagelist) ) {
ewl_widget_disable(m-slideshow);
ewl_widget_disable(m-presentation);
-   ewl_widget_state_set(m-slideshow, disabled);
-   ewl_widget_state_set(m-presentation, 
disabled);
+ewl_widget_state_set(m-slideshow, disabled, 
+			EWL_STATE_PERSISTENT);
+ewl_widget_state_set(m-presentation, 
+	disabled, EWL_STATE_PERSISTENT);

}
}
else {
@@ -423,22 +425,23 @@
 ewl_callback_append(m-vbutton, EWL_CALLBACK_CLICKED, 
 			images_cb, NULL);

 ewl_widget_disable(m-vbutton);
-ewl_widget_state_set(m-vbutton, disabled);
+ewl_widget_state_set(m-vbutton, disabled, 
+		EWL_STATE_PERSISTENT);

 ewl_widget_show(m-vbutton);
 
-

ewl_image_file_set(EWL_IMAGE(m-vimage), pathi, NULL);
ewl_widget_enable(m-vbutton);
-   ewl_widget_state_set(m-vbutton, enabled);
+		ewl_widget_state_set(m-vbutton, enabled, 
+		EWL_STATE_PERSISTENT);

}
/**/
 
 	/Enable the slideshow and presentation buttons 
 	so we can get to work/

ewl_widget_enable(m-slideshow);
-   ewl_widget_state_set(m-slideshow, enabled);
+   ewl_widget_state_set(m-slideshow, enabled, EWL_STATE_PERSISTENT);
ewl_widget_enable(m-presentation);
-   ewl_widget_state_set(m-presentation, enabled);
+   ewl_widget_state_set(m-presentation, enabled, EWL_STATE_PERSISTENT);
/***/
return;
w = NULL;
@@ -463,7 +466,8 @@
if ( ewl_media_is_available() ) {
if (audio != 0) {
ewl_widget_enable(m-audiolen);
-   ewl_widget_state_set(m-audiolen, enabled);
+			ewl_widget_state_set(m-audiolen, enabled, 
+			EWL_STATE_PERSISTENT);

}
}
return;
===
RCS file: /cvs/e/e17/proto/ephoto/src/ephoto_misc.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- ephoto_misc.c   23 May 2006 01:07:26 -  1.22
+++ ephoto_misc.c   26 May 2006 04:22:35 -  1.23
@@ -440,9 +440,11 @@
slidenum++;
 
 			ewl_widget_enable(m-slideshow);

-   ewl_widget_state_set(m-slideshow, enabled);
+			ewl_widget_state_set(m-slideshow, enabled, 
+			EWL_STATE_PERSISTENT);

ewl_widget_enable(m-presentation);
-   ewl_widget_state_set(m-presentation, enabled);
+			ewl_widget_state_set(m-presentation, enabled, 
+			EWL_STATE_PERSISTENT);

}

fclose(file_ptr);
@@ -498,8 +500,8 @@
 ewl_widget_show(m-ib);
ewl_widget_disable(m-slideshow);
ewl_widget_disable(m-presentation);
-   ewl_widget_state_set(m-slideshow, disabled);
-   ewl_widget_state_set(m-presentation, disabled);
+   ewl_widget_state_set(m-slideshow, disabled, EWL_STATE_PERSISTENT);
+   ewl_widget_state_set(m-presentation, disabled, EWL_STATE_PERSISTENT);
return;
w = NULL;
event = NULL;
@@ -577,8 +579,10 @@
}
ewl_widget_enable(m-slideshow);

[E-devel] Taskbar Module

2006-05-26 Thread Sthithaprajna Garapaty
I made a taskbar module based on the ibox module.It behaves like a typical taskbar in windows/xfce/etc.Used for selecting windows, iconifying/uniconifying.Works with multiple desks and multiple screens (one per screen).
Available here: 
http://war.interhact.net/~iamsthitha/junk/taskbar.tar.gz


Re: [E-devel] Taskbar Module

2006-05-26 Thread Jason Smith

Sthithaprajna Garapaty wrote:


I made a taskbar module based on the ibox module.
It behaves like a typical taskbar in windows/xfce/etc.
Used for selecting windows, iconifying/uniconifying.
Works with multiple desks and multiple screens (one per screen).

Available here: 
http://war.interhact.net/~iamsthitha/junk/taskbar.tar.gz 
http://war.interhact.net/%7Eiamsthitha/junk/taskbar.tar.gz




This is not a gzipped file.


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Taskbar Module

2006-05-26 Thread Thomas Kuther
On Fri, 26 May 2006 10:15:52 -0400
Sthithaprajna Garapaty [EMAIL PROTECTED] wrote:

 I made a taskbar module based on the ibox module.
 It behaves like a typical taskbar in windows/xfce/etc.
 Used for selecting windows, iconifying/uniconifying.
 Works with multiple desks and multiple screens (one per screen).
 
 Available here:
 http://war.interhact.net/~iamsthitha/junk/taskbar.tar.gzhttp://war.interhact.net/%7Eiamsthitha/junk/taskbar.tar.gz

Hi,

justet wanted to give it a go..

a) the file is not gzipped, just tar'ed (.tar, not .tar.gz)

b) please run make clean before doing a tarball.. 
└» make clean
cd .  /bin/sh /root/e_modules/taskbar/missing --run aclocal-1.9
/bin/sh: /root/e_modules/taskbar/missing: Permission denied
make: *** [aclocal.m4] Error 126

c) are you really running your desktop as root? o.O

d) so i compiled it, installed it as user in $HOME, and loaded it.
But nothing happens, it does not appear anywhere, also nothing when i
enter edit mode for the gadgets. I tried both.. Ibar enabled or
disabled, E restarted... no chance.

From when is the E snapshot you are using?

Regards,
Tom


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid7521bid$8729dat1642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Taskbar Module

2006-05-26 Thread Sthithaprajna Garapaty
Sorry about that. I cleaned it and properly gzipped it.Available at the same urlhttp://war.interhact.net/~iamsthitha/junk/taskbar.tar.gz
I'm using the latest E from cvs, so it should work properly.It probably wont appear by default, you have to right click on the bar - Configure shelf contents and add it.If it still does not appear, let me know.
--Sthitha


Re: [E-devel] Taskbar Module

2006-05-26 Thread Sevcsik András
On Fri, 26 May 2006 13:44:36 -0400
Sthithaprajna Garapaty [EMAIL PROTECTED] wrote:

Hi!

It sounds interesting. I can't run autogen.sh, configure.in is
missing...

 --=_Part_89394_7521035.1148665476332
 Mime-Version: 1.0
 Content-Type: multipart/alternative;
  boundary==_Part_89394_7521035.1148665476332
 
 --=_Part_89394_7521035.1148665476332
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: binary
 Content-Disposition: inline
 
 Sorry about that. I cleaned it and properly gzipped it.
 
 Available at the same url
 http://war.interhact.net/~iamsthitha/junk/taskbar.tar.gz
 
 I'm using the latest E from cvs, so it should work properly.
 It probably wont appear by default, you have to right click on the
 bar - Configure shelf contents and add it.
 If it still does not appear, let me know.
 
 --Sthitha
 
 --=_Part_89394_7521035.1148665476332
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 brSorry about that. I cleaned it and properly gzipped
 it.brbrAvailabl= e at the same urlbra
 href=3Dhttp://war.interhact.net/~iamsthitha/junk/t=
 askbar.tar.gzhttp://war.interhact.net/~iamsthitha/junk/taskbar.tar.gz/a
 brbrI'm using the latest E from cvs, so it should work
 properly.brIt = probably wont appear by default, you have to right
 click on the bar -gt; C= onfigure shelf contents and add it.brIf
 it still does not appear, let me = know. brbr--Sthithabr
 
 --=_Part_89394_7521035.1148665476332--


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Taskbar Module

2006-05-26 Thread Aleksej Struk
Hey,


unfortunatelly, some files are missing. configure.in cannot be found.
autogen.sh does not work


On Fri, May 26, 2006 at 01:44:36PM -0400, Sthithaprajna Garapaty wrote:
// Sorry about that. I cleaned it and properly gzipped it.
// 
// Available at the same url
// http://war.interhact.net/~iamsthitha/junk/taskbar.tar.gz
// 
// I'm using the latest E from cvs, so it should work properly.
// It probably wont appear by default, you have to right click on the bar -
// Configure shelf contents and add it.
// If it still does not appear, let me know.
// 
// --Sthitha

-- 

Aleksej Struk
Master Degree Student
Free University of Bozen-Bolzano
Faculty of Computer Science
phone: +39-0471-061749
cell phone: +39-3204627049 +370-61278908
[EMAIL PROTECTED] [EMAIL PROTECTED] - http://astruk.googlepages.com/home


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Taskbar Module

2006-05-26 Thread Aleksej Struk

Hey,


It seams that module works pretty well. :) congratulations.

But, it would be really nice to have a configuration dialog for it. At
least to have possibility to turn off the option to monitor minimized
applications. I ask for this, since, I personally use ibox to have a
list of minimized apps.

So, waiting for a new features. :)

aleksej


On Fri, May 26, 2006 at 05:34:46PM -0500, Sthithaprajna Garapaty wrote:
// Sorry about the mess.
// Got some help from KainX and hopefully this is now a working package.
// Here it is:
// http://war.interhact.net/~iamsthitha/junk/taskbar-0.0.1.tar.gz
// 
// --Sthitha
// 
// On 5/26/06, Brian Mattern [EMAIL PROTECTED] wrote:
// 
// Try 'make dist' to generate tarballs that people can use.
// 'make distcheck' will ensure that these tarballs compile.
// --
// rephorm
// 
// 
// On Friday 26 May 2006 12:44, Sthithaprajna Garapaty wrote:
//  Sorry about that. I cleaned it and properly gzipped it.
// 
//  Available at the same url
//  http://war.interhact.net/~iamsthitha/junk/taskbar.tar.gz
// 
//  I'm using the latest E from cvs, so it should work properly.
//  It probably wont appear by default, you have to right click on the bar
// -
//  Configure shelf contents and add it.
//  If it still does not appear, let me know.
// 
//  --Sthitha
// 
// 
// ---
// All the advantages of Linux Managed Hosting--Without the Cost and Risk!
// Fully trained technicians. The highest number of Red Hat certifications in
// the hosting industry. Fanatical Support. Click to learn more
// http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
// ___
// enlightenment-devel mailing list
// enlightenment-devel@lists.sourceforge.net
// https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
// 

-- 

Aleksej Struk
Master Degree Student
Free University of Bozen-Bolzano
Faculty of Computer Science
phone: +39-0471-061749
cell phone: +39-3204627049 +370-61278908
[EMAIL PROTECTED] [EMAIL PROTECTED] - http://astruk.googlepages.com/home


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Taskbar Module

2006-05-26 Thread Aleksej Struk

just forgot to write about this in the previous e-mail.
Also, it would be nice to have an option that enables/disables the
border menu on the taskbar right click  :) It is really disturbing me.
For now I cannot even access gadcon menu, if there is apps in the bar,
cause on the right click I immediatelly have border menu of the app.

thnx
aleksej

On Fri, May 26, 2006 at 05:34:46PM -0500, Sthithaprajna Garapaty wrote:
// Sorry about the mess.
// Got some help from KainX and hopefully this is now a working package.
// Here it is:
// http://war.interhact.net/~iamsthitha/junk/taskbar-0.0.1.tar.gz
// 
// --Sthitha
// 
// On 5/26/06, Brian Mattern [EMAIL PROTECTED] wrote:
// 
// Try 'make dist' to generate tarballs that people can use.
// 'make distcheck' will ensure that these tarballs compile.
// --
// rephorm
// 
// 
// On Friday 26 May 2006 12:44, Sthithaprajna Garapaty wrote:
//  Sorry about that. I cleaned it and properly gzipped it.
// 
//  Available at the same url
//  http://war.interhact.net/~iamsthitha/junk/taskbar.tar.gz
// 
//  I'm using the latest E from cvs, so it should work properly.
//  It probably wont appear by default, you have to right click on the bar
// -
//  Configure shelf contents and add it.
//  If it still does not appear, let me know.
// 
//  --Sthitha
// 
// 
// ---
// All the advantages of Linux Managed Hosting--Without the Cost and Risk!
// Fully trained technicians. The highest number of Red Hat certifications in
// the hosting industry. Fanatical Support. Click to learn more
// http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
// ___
// enlightenment-devel mailing list
// enlightenment-devel@lists.sourceforge.net
// https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
// 

-- 

Aleksej Struk
Master Degree Student
Free University of Bozen-Bolzano
Faculty of Computer Science
phone: +39-0471-061749
cell phone: +39-3204627049 +370-61278908
[EMAIL PROTECTED] [EMAIL PROTECTED] - http://astruk.googlepages.com/home


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel