Re: [Draft] Introduction of Widget Layouts
At 1245973156 time_t, Gregor Best wrote: I just found a place where it makes sense to have non-integer keys in the widget table: the titlebars. Rewriting those to make use of integer keys will be quite hard, as they make excessive use of integer keys and it will make the code even less readable and understandable. I'm currently trying to think of some way to stabilize the order of non-integer keys. Would a simple table.sort() be enough? I'm not really sure here... Comments and suggestions are greatly appreciated :) If you're willing to take this road, you need to define a rule on how to order keys. table.sort() on non-numeric keys would be enough and will return always the same result (of course) so it's safe. Cheers, -- Julien Danjou // ᐰ jul...@danjou.info http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD // I'm no superman. signature.asc Description: Digital signature
Re: [Draft] Introduction of Widget Layouts
Excerpts from Gregor Best's message of Thu Jun 25 19:39:16 -0400 2009: I just found a place where it makes sense to have non-integer keys in the widget table: the titlebars. Rewriting those to make use of integer keys will be quite hard, as they make excessive use of integer keys and it will make the code even less readable and understandable. I'm currently trying to think of some way to stabilize the order of non-integer keys. Would a simple table.sort() be enough? I'm not really sure here... Or do some hax where a table has both an index and named keys. Sort by index, use keys for whatever convenience. I'm not sure what magic would be involved, but sounds do-able. -- Andrei Thorp, Developer: Xandros Corp. (http://www.xandros.com) -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.
Re: Full moon bringgs trouble down in Brighton
Excerpts from Julien Danjou's message of Mon Jun 08 08:15:58 -0400 2009: At 1244462897 time_t, Andrei Thorp wrote: (and is it possible to make the mailing list software properly set reply-to so the reply button sends back to the ml? Is it just me struggling with this?) No. See http://liw.iki.fi/liw/log/2003-Enemies-of-Carlotta.html. Any good MUA has a reply to list ('l' in mutt) anyway. :) By the way! I've switched to using Sup as a mail client instead of Gmail a few weeks ago. It's smart enough to handle this header properly and offers a menu for where to send to, default being mailing list. So far it's been great. Thanks for the prod, I guess. -- Andrei Thorp, Developer: Xandros Corp. (http://www.xandros.com) -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.