Re: [E-devel] busy converting - dont touch e's modules!

2006-04-06 Thread The Rasterman
On Fri, 7 Apr 2006 02:42:10 -0400 Michael Jennings <[EMAIL PROTECTED]> babbled:

> On Friday, 07 April 2006, at 15:39:01 (+0900),
> Carsten Haitzler wrote:
> 
> > i have also remove the config for the cock
> 
> *bites tongue*

box of cocks!

> Michael
> 
> -- 
> Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <[EMAIL PROTECTED]>
> n + 1, Inc., http://www.nplus1.net/   Author, Eterm (www.eterm.org)
> ---
>  "It pleases me that you care for what I have become, but never
>   forget who I was, what I am, and what I can do."
>   -- Mira Furlan (Ambassador Delenn), Babylon Five
> 
> 
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] busy converting - dont touch e's modules!

2006-04-06 Thread Michael Jennings
On Friday, 07 April 2006, at 15:39:01 (+0900),
Carsten Haitzler wrote:

> i have also remove the config for the cock

*bites tongue*

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <[EMAIL PROTECTED]>
n + 1, Inc., http://www.nplus1.net/   Author, Eterm (www.eterm.org)
---
 "It pleases me that you care for what I have become, but never
  forget who I was, what I am, and what I can do."
  -- Mira Furlan (Ambassador Delenn), Babylon Five


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] busy converting - dont touch e's modules!

2006-04-06 Thread The Rasterman
hey guys - a heads up to make sure
1. i dont have to do extra work
2. i dont get pissed off
3. you dont do extra work
4. you don't get pissed off

can you "not touch" e's modules for the moment - i'm converting them to gadcon
clients.

so far i have done start, clock and battery. need to still do cpufreq,
temperature, pager, ibar and ibox. bear with me on this.

i have also remove the config for the cock - frankly - i think it was a bit
overcomplicated for a SIMPLE clock - but i welcome people to make more
"complex" clock modules like tclock etc. - maybe alarm clocks and so on that
have multiple alarms - maybe a calendar etc. i just want to keep the default
clock as simple as possible for now.

this conversion to gadcon cuts the code down considerably too.

anyway - be patient. working on it.

-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Ewl_Menu in Ewl_Embed

2006-04-06 Thread Peter Wehrfritz

Nathan Ingersoll schrieb:


Thanks for the information Peter. That line would definitely cause
that warning to be printed. Looks like we need to register an ecore_x
callback for the configure event on the embed and store the window
position information.

 

Here is a patch to solve the problem. It moves ewl_window_postion_get() 
to ewl_embed_window_position_get() and adds ewl_embed_position_get(). I 
don't know if the last one is really needed, so you can also remove it. 
Actually the menu doesn't need it.


ciao
peter
? .cvsignore
Index: ewl_datepicker.c
===
RCS file: /var/cvs/e/e17/libs/ewl/src/lib/ewl_datepicker.c,v
retrieving revision 1.10
diff -u -r1.10 ewl_datepicker.c
--- ewl_datepicker.c17 Feb 2006 06:43:33 -  1.10
+++ ewl_datepicker.c6 Apr 2006 20:09:06 -
@@ -157,7 +157,7 @@
/* Get the position of the parent */
emb = ewl_embed_widget_find(EWL_WIDGET(dp));
if (emb) {
-   ewl_window_position_get(EWL_WINDOW(emb), &x, &y);
+   ewl_embed_window_position_get(emb, &x, &y);
ewl_object_current_size_get(EWL_OBJECT(dp), &sx, &sy);
ewl_window_move(EWL_WINDOW(dp->calendar_window), x + (sx / 4), 
y + sy + 3);
Index: ewl_embed.c
===
RCS file: /var/cvs/e/e17/libs/ewl/src/lib/ewl_embed.c,v
retrieving revision 1.54
diff -u -r1.54 ewl_embed.c
--- ewl_embed.c 31 Mar 2006 06:31:42 -  1.54
+++ ewl_embed.c 6 Apr 2006 20:09:20 -
@@ -1502,6 +1502,53 @@
DLEAVE_FUNCTION(DLEVEL_STABLE);
 }
 
+/**
+ * @param e: the embed to query for position
+ * @param x: a pointer to the integer that should receive the x coordinate
+ * @param y: a pointer to the integer that should receive the y coordinate
+ * @return Returns no value.
+ * @brief Retrieve the position of the embed
+ *
+ * Stores the embed position into the parameters @a x and @a y.
+ */
+void
+ewl_embed_position_get(Ewl_Embed *e, int *x, int *y)
+{
+   int sx, sy;
+   
+   DENTER_FUNCTION(DLEVEL_STABLE);
+   DCHECK_PARAM_PTR("e", e);
+   DCHECK_TYPE("e", e, EWL_EMBED_TYPE);
+
+   evas_object_geometry_get(e->smart, &sx, &sy, NULL, NULL);
+   if (x) *x = e->x + sx;
+   if (y) *y = e->y + sy;
+
+   DLEAVE_FUNCTION(DLEVEL_STABLE);
+}
+
+/**
+ * @param e: the embed to query for window-position
+ * @param x: a pointer to the integer that should receive the x coordinate
+ * @param y: a pointer to the integer that should receive the y coordinate
+ * @return Returns no value.
+ * @brief Retrieve the position of the window
+ *
+ * Stores the window position into the parameters @a x and @a y.
+ */
+void
+ewl_embed_window_position_get(Ewl_Embed *e, int *x, int *y)
+{
+   DENTER_FUNCTION(DLEVEL_STABLE);
+   DCHECK_PARAM_PTR("e", e);
+   DCHECK_TYPE("e", e, EWL_EMBED_TYPE);
+
+   if (x) *x = e->x;
+   if (y) *y = e->y;
+
+   DLEAVE_FUNCTION(DLEVEL_STABLE);
+}
+
 void
 ewl_embed_realize_cb(Ewl_Widget *w, void *ev_data __UNUSED__, 
void *user_data __UNUSED__)
Index: ewl_embed.h
===
RCS file: /var/cvs/e/e17/libs/ewl/src/lib/ewl_embed.h,v
retrieving revision 1.16
diff -u -r1.16 ewl_embed.h
--- ewl_embed.h 15 Mar 2006 04:03:48 -  1.16
+++ ewl_embed.h 6 Apr 2006 20:09:21 -
@@ -70,6 +70,9 @@
Ewl_Widget *mouse_in; /**< Last widget to receive a mouse_in */
} last;  /**< Collection of widgets to last receive 
events */
 
+   int x; /**< Screen relative horizontal position of window */
+   int y; /**< Screen relative vertical position of window */
+   
Ewl_Widget *dnd_widget;  /**< The current DND widget */
 };
 
@@ -132,6 +135,8 @@
  int *x, int *y);
 
 void   ewl_embed_mouse_cursor_set(Ewl_Widget *w);
+void   ewl_embed_position_get(Ewl_Embed *e, int *x, int *y);
+void   ewl_embed_window_position_get(Ewl_Embed *e, int *x, int *y);
 
 /*
  * Internally used callbacks, override at your own risk.
Index: ewl_events.c
===
RCS file: /var/cvs/e/e17/libs/ewl/src/lib/ewl_events.c,v
retrieving revision 1.25
diff -u -r1.25 ewl_events.c
--- ewl_events.c28 Mar 2006 12:25:38 -  1.25
+++ ewl_events.c6 Apr 2006 20:09:25 -
@@ -217,26 +217,33 @@
 */
Ecore_X_Event_Window_Configure *ev;
Ewl_Window *window;
+   Ewl_Embed *embed;
 
DENTER_FUNCTION(DLEVEL_STABLE);
 
ev = e;
 
-   window = ewl_window_window_find((void *)ev->win);
-   if (!window)
+   embed = ewl_embed_evas_window_find((void *)ev->win);
+   if (!embed)
DRETU

[E-devel] Re: ecore_exe new flag ECORE_EXE_USE_SH

2006-04-06 Thread Mike Russo




David - thanks for the flag change, works great.  If the URL from
devian does not contain a metacharacter firefox is executed directly
and if it does it uses /bin/sh and firefox loads the url properly. 

Laurent - When I right click over an item and click "Source Viewer" it
works, but when I click on the globe icon it does not (I think because
you have two places where you use ecore_exe, and the other call still
passes 0).


Laurent GHIGONIS wrote:

  I commited the change, thanks =)
Tell me if the bug remains

Le Wed, 05 Apr 2006 14:51:34 -0400,
Mike Russo <[EMAIL PROTECTED]> a écrit :

  
  
Hey -

thought you should know the David Seikel added a new flag to
ecore_exe called ECORE_EXE_USE_SH which would force the use
of /bin/sh to execute the command line, so if you make that part of
the flags for your call to ecore_exe it will fix the csh-issue.
thanks!!


  
  
  



-- 
Mike Russo
ReadQ Systems, Inc.
(212) 425 3680 x105

Random quote of the last-time-I-ran-bash:
* TwingyAFK is shopping for 17" flat panel
* aav sells TwingyAFK a piece of plywood





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Start Entropy...

2006-04-06 Thread Anders Troback
Jeep, that did it!

A fall back would be nice:-)

Thanks!

On Thu, 06 Apr 2006 19:31:45 +1000
Alexander Taylor <[EMAIL PROTECTED]> wrote:

> Hi!
> Most likely you haven't got the 'default' toolkit - i.e. ETK.  Or it's
> not compiling the plugins for it.
> For now,try 'entropy --layout=ewl", or try installing ETK.  
> 
> I'm going to make it fall back to ewl in case etk is not present, in
> order to make this process a bit simpler.
> 
> Cheers,
> Alex.
> 
> On Wed, 2006-04-05 at 23:01 +0200, Anders Troback wrote:
> > Hi list!
> > 
> > Now days I got:
> > Sorry, but you haven't loaded a layout plugin.  Please configure
> > one.
> > 
> > when I tries to run Entropy!
> > 
> > What did I miss here?
> > 
> > Thanks!
> > 
> > 
> > \\troback
> > 



-- 


How many Microsoft employees does it take to screw in a light bulb?
None, they declare darkness a new standard.

Anders Trobäck
[EMAIL PROTECTED]
Hotellvägen 2B
262 61 Ängelholm
+46 431 25 332
+46 70 33 53 444
http://www.troback.com
-
Dear Outlook users: Please remove me from your address books
http://www.newsforge.com/article.pl?sid=03/08/21/143258


-- 


Microsoft is not the answer.
Microsoft is the question.
And 'No' is the answer!

http://www.troback.com
-


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel