Re: [Draft] Introduction of Widget Layouts

2009-07-07 Thread Julien Danjou
At 1246495186 time_t, Gregor Best wrote:
 diff --git a/widget.h b/widget.h
 index f2ca048..e9d9e7e 100644
 --- a/widget.h
 +++ b/widget.h
 @@ -73,7 +73,7 @@ struct widget_node_t
  widget_t *widget_getbycoords(orientation_t, widget_node_array_t *, int, int, 
 int16_t *, int16_t *);
  void widget_render(wibox_t *);
  
 -void luaA_table2widgets(lua_State *, widget_node_array_t *);
 +int luaA_widget_userdata_new(lua_State *, widget_t *);
  
  void widget_invalidate_bywidget(widget_t *);
  void widget_invalidate_bytype(widget_constructor_t *);

I merged patches 1, 2, 6, 7, 8 and 9.
1 was amended without the + line of the diff above.

Cheers,
-- 
Julien Danjou
// ᐰ jul...@danjou.info   http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
// My root password is


signature.asc
Description: Digital signature


Re: [Draft] Introduction of Widget Layouts

2009-07-07 Thread Maarten Maathuis
I suggest being consistent with the other code and push the geometry
to lua with borders included. Like the client code does, or change
that, at least be consistent.

Maarten.

-- 
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.


Re: [Draft] Introduction of Widget Layouts

2009-07-07 Thread Gregor Best
On Tue, Jul 07, 2009 at 02:56:04PM +0200, Maarten Maathuis wrote:
 I suggest being consistent with the other code and push the geometry
 to lua with borders included. Like the client code does, or change
 that, at least be consistent.
 
 Maarten.
 

Good call, sounds totally reasonable. I guess I'll have some hacking
to do tonight :)

-- 
GCS/IT/M d- s+:- a--- C++ UL+++ US UB++ P+++ L+++ E--- W+ N+ o--
K- w--- O M-- V PS+ PE- Y+ PGP+++ t+ 5 X+ R tv+ b++ DI+++ D+++ G+
e- h! r y+

Gregor Best


pgpix9c2J88iP.pgp
Description: PGP signature


Re: [Draft] Introduction of Widget Layouts

2009-07-07 Thread Julien Danjou
At 1246971364 time_t, Maarten Maathuis wrote:
 I suggest being consistent with the other code and push the geometry
 to lua with borders included. Like the client code does, or change
 that, at least be consistent.

Well, I suggested to not push any geometry, which seems far better. No?
:)

Cheers,
-- 
Julien Danjou
// ᐰ jul...@danjou.info   http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
// Life is life. Lalalalala.


signature.asc
Description: Digital signature


Re: [Draft] Introduction of Widget Layouts

2009-07-07 Thread Maarten Maathuis
I just saw a fragment of code in my mailbox, if jd has a better
suggestion, then by all means go ahead.

Maarten.

-- 
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.


[awesome bugs] #503 - awesome steals gnome systray even when its systray is disabled

2009-07-07 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#503 - awesome steals gnome systray even when its systray is disabled
User who did this - Angel Olivera (redondos)

--
Stefano's workaround didn't work for me; in fact, I've been starting awesome 
much later than gnome-panel all this time.

jd, are there plans for implementing this?

Thanks.
--

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=detailstask_id=503#comment1297

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.


Adding new module to Obvious

2009-07-07 Thread masterLoki

Hi there,

I've been using awesome for a few weeks now and I can tell you all I 
really like it.


As for now, I'm working on a temperature widget for my laptop and Garoth 
suggested me to turn it into an obvious module and I really liked to idea.
As for now the module is complete but I can't test it because when 
trying to load it, awesome reports that it can't find the module.


Here's what I've done so far:

* Wrote the module
* Added my module to obvious' init.lua
* Added the widget to my rc.lua

When run startx, it tells me it can't find the module, which is located 
in obvious/temp_zone/ as all other widgets. Am I missing something?


Also, is there a way to pass parameters to the widget when calling?

Thanks in advance.

--
masterLoki, trying to understand the universe

--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.