[PATCH] menubar: Treat KP_Enter as Return

2013-01-02 Thread Alexander Yakushev
Hello, As far as I understand this should be enough to fix #1072. Regards, -- Alexander Yakushev http://bytopia.org "XML is like violence. Sure, it seems like a quick and easy solution at first, but then it spirals out of control into utter chaos." -- Sarkos from Red

[PATCH] menubar: Handle .desktop files with multiple sections

2012-11-28 Thread Alexander Yakushev
ant to see in the menubar. Thoughts on this one are welcome. Kind regards, [1] https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1057&project=1&order=dateopened&sort=desc -- Alexander Yakushev "GDB is deterrence strategy debugger. With GDB programmer is ju

Re: Handling large menu with awesome

2012-10-09 Thread Alexander Yakushev
awful.menu requires quite a work. I guess it's feasible but I'm not sure I'll find a possibility any time soon to do it. Maybe some kind of pagination would be sufficient? Kind regards, On 10/10/2012 01:35 AM, Vincent Maugé wrote: Hi, I activate awesompd (https://github.com/alexan

Re: [PATCH] Minor menubar patches

2012-09-11 Thread Alexander Yakushev
Bump. Can anyone check those out and push? On 09/04/2012 02:56 AM, Alexander Yakushev wrote: Hi there, The first patch makes a few properties public again (since they became local after 5.2 rewrite) and removes some unnecessary context initializers. The second one allows to specify the

[PATCH] Minor menubar patches

2012-09-03 Thread Alexander Yakushev
since my default bg_color is PNG image and that is not handled gracefully by awful.prompt. Kind regards, -- Alexander Yakushev "If or if-not. There is no try..catch-based flow control in Clojure." -- Master Joda >From 33287719c9062057562dfa7607b1c4f59829cbf0 Mon Sep 17 00:00

PATCH: Fix debug.dump

2012-08-31 Thread Alexander Yakushev
A little fix, bug was introduced when we all moved away from using modules. -- Alexander Yakushev "If or if-not. There is no try..catch-based flow control in Clojure." -- Master Joda >From 75b07925e7d6e25ebc88fd4fd41db8b58a3b69fe Mon Sep 17 00:00:00 2001 From: Alexander Yakushev

Re: [PATCH] Menubar enhancements

2012-05-07 Thread Alexander Yakushev
. -- Alexander Yakushev "If or if-not. There is no try..catch-based flow control in Clojure." -- Master Joda >From 5d9add4b9461f907b877086b7434b883b2083cf0 Mon Sep 17 00:00:00 2001 From: Alexander Yakushev Date: Tue, 8 May 2012 01:16:31 +0300 Subject: [PATCH] menubar: Properly stop the keygrabbe

Re: [PATCH] Menubar enhancements

2012-05-07 Thread Alexander Yakushev
All right, found it. Patch is attached. Thanks to dodo for the directions. -- Alexander Yakushev "If or if-not. There is no try..catch-based flow control in Clojure." -- Master Joda >From 8bee04f3cb2f498c32bbd991aebcf0ca75f40231 Mon Sep 17 00:00:00 2001 From: Alexander Yakushev

Re: [PATCH] Menubar enhancements

2012-05-06 Thread Alexander Yakushev
est like "Port Awesome to Wayland and replace Metro on W8" or "Change scripting language from Lua to PHP"? -- Alexander Yakushev "If or if-not. There is no try..catch-based flow control in Clojure." -- Master Joda -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: [PATCH] Menubar enhancements

2012-05-06 Thread Alexander Yakushev
. By the way the 1k bug is approaching. Any ideas for the 'get'? :-) Best regards, -- Alexander Yakushev "If or if-not. There is no try..catch-based flow control in Clojure." -- Master Joda -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: [PATCH] Menubar enhancements

2012-05-04 Thread Alexander Yakushev
. They have lengthy commit messages, which should explain everything. Hope it is good now. Cheers, Ignas A. -- Alexander Yakushev "If or if-not. There is no try..catch-based flow control in Clojure." -- Master Joda -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: [PATCH] Menubar enhancements

2012-05-03 Thread Alexander Yakushev
f the entries, which does let me launch gimp by entering gimp. The second patch implements the feature I mentioned earlier. And the third patch implements shell completion. Feel free to criticise and make suggestions, I will try to fix the problems. All best, Ignas -- Alexander Yakushev "

[PATCH] gears.debug: Print plain non-table values in dump_raw

2012-04-19 Thread Alexander Yakushev
All is said in the commit comment. My bad -- Alexander Yakushev "If or if-not. There is no try..catch-based flow control in Clojure." -- Master Joda >From 1987768bcf997e10c30facd02d3d0b40f0fa0a1f Mon Sep 17 00:00:00 2001 From: Alexander Yakushev Date: Thu, 19 Apr 2012 15:59:37

[PATCH] Fix generator usage in menubar.utils

2012-04-07 Thread Alexander Yakushev
Bug is described here: https://awesome.naquadah.org/bugs/index.php?do=details&task_id=979 -- Alexander Yakushev "If or if-not. There is no try..catch-based flow control in Clojure." -- Master Joda >From 1354d899daae129c32531c860f2e36bc20eff169 Mon Sep 17 00:00:00 2001 From: A

[PATCH] Fix issue with awful.menu keygrabber collisions

2012-03-26 Thread Alexander Yakushev
Alexander >From 6de4c1ab088cf91c064d6fb9c672d0e428c527bc Mon Sep 17 00:00:00 2001 From: Alexander Yakushev Date: Mon, 26 Mar 2012 17:49:05 +0300 Subject: [PATCH] awful.menu: Don't break menu commands that need keygrabber With recent modification of awful.menu (so that it now uses keygrabber by default) commands that use ke

Re: [PATCH] Functions for extended table inspection (gears.debug)

2012-03-25 Thread Alexander Yakushev
ty" and "gears.debug". :-( Yes, this is helpful, but I don't know a good way around this problem (except for adding e.g. naughty.debug() which uses gears.debug.d_return (which will then be called dump_return)?) This sounds better. Sending in another patch. Best regards, Alexa

Re: [ANN] Definitely Awesome - the latest news about awesome wm

2012-03-18 Thread Alexander Yakushev
Awesome Weekly #4 is out: http://definitely-awesome.posterous.com/awesome-weekly-4 -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

[PATCH] Functions for extended table inspection (gears.debug)

2012-03-16 Thread Alexander Yakushev
o better. >From fec0997188f708a0a16aafeb590a9865a6b0dc61 Mon Sep 17 00:00:00 2001 From: Alexander Yakushev Date: Fri, 16 Mar 2012 22:03:23 +0200 Subject: [PATCH] gears.debug: Add functions for inspecting tables Signed-off-by: Alexander Yakushev --- lib/gears/d

More problems with menu keygrabbing

2012-03-11 Thread Alexander Yakushev
When a menu keygrabbing feature is turned on (which now is by default) then the keygrabbing works until an action which menu item performs finishes. It means that if I, for instance, I create a menu item to run prompt (like Modkey-R) it won't work because menu keygrabber is still active. And as fa

Re: Need help submitting menubar

2012-03-09 Thread Alexander Yakushev
On 03/09/2012 02:47 PM, Uli Schlachter wrote: On 09.03.2012 01:01, Alexander Yakushev wrote: Just caught a bug which was caused by attempting to access beautiful fields before calling beautiful.init(). Also removed local print = print captures from the files. Did a quick test and it seem to

Re: Need help submitting menubar

2012-03-08 Thread Alexander Yakushev
Just caught a bug which was caused by attempting to access beautiful fields before calling beautiful.init(). Also removed local print = print captures from the files. Sorry for the inconveniences. >From a2c639e743fe7e1ea8dce2069120f26c6f776381 Mon Sep 17 00:00:00 2001 From: Alexander Yakus

Re: Need help submitting menubar

2012-03-08 Thread Alexander Yakushev
I changed the luadoc for trim() function. I still hate to use this function but I have to. Pango fails at rendering Carriage Returns. >From 593796272d7a60a88e4565f45b7c6db4f1be6951 Mon Sep 17 00:00:00 2001 From: Alexander Yakushev Date: Thu, 8 Mar 2012 21:24:21 +0200 Subject: [PATCH] menu

Re: Need help submitting menubar

2012-03-04 Thread Alexander Yakushev
nder >From adef4a4b5fa2ddfb7911fe590d3978fb259b3db1 Mon Sep 17 00:00:00 2001 From: Alexander Yakushev Date: Thu, 1 Mar 2012 19:01:23 +0200 Subject: [PATCH 1/3] awful.prompt: Move update() out of the keygrabber.run callback It is required to be able to call the update() function from any point of the keygrabber.run callback. -

Re: Need help submitting menubar

2012-02-29 Thread Alexander Yakushev
On 02/29/2012 10:54 PM, Uli Schlachter wrote: /// all_categories code Hm. And right now I wonder what about this is menu-specific. Should this really live under menubar/? Other people will want to use this code for sure, too. However, I don't have any good idea on where to else this should be p

Re: awesome-freedesktop code license

2012-02-22 Thread Alexander Yakushev
On 02/18/2012 03:05 PM, Antonio Terceiro wrote: I've pushed a commit that adds a copyright notice. The code is hereby licensed under the same terms as Awesome itself. Thanks a lot for your help, Antonio! I am sure this will make it much easier to push our code upstream. Unfortunately I don't us

Re: Need help submitting menubar

2012-02-17 Thread Alexander Yakushev
Oh, and one more thing. On 02/17/2012 05:53 PM, Uli Schlachter wrote: +prompt.run({ prompt = "Run app: ", bg_cursor = "#22" }, instance.prompt.widget, function(s) end, + nil, awful.util.getdir("cache") .. "/history_menu", nil, hide, + menulist_update, +

Re: Need help submitting menubar

2012-02-17 Thread Alexander Yakushev
On 02/18/2012 12:03 AM, Uli Schlachter wrote: How about doing stuff the other way around: Instead of making a magic-pattern, you could run the client's name through string.lower(). That is an option, but then I need to run string.lower() on every application name I'm filtering through. Not that

Re: Need help submitting menubar

2012-02-17 Thread Alexander Yakushev
Thanks for the detailed review, Uli! I completely agree with nearly everything you noted. There are but a few things that I don't quite understand. +-- Generate a pattern matching expression that ignores case. +-- @param s Original pattern matching expresion. +local function nocase (s) +s =

Re: Need help submitting menubar

2012-02-15 Thread Alexander Yakushev
5846d081f6cddb14385ce9b7f7 Mon Sep 17 00:00:00 2001 From: Alexander Yakushev Date: Wed, 15 Feb 2012 23:10:29 +0200 Subject: [PATCH] Introduce the menubar extension Signed-off-by: Alexander Yakushev --- lib/awful/prompt.lua.in | 51 +++-- lib/menubar/init.lua.in | 262 +

Need help submitting menubar

2012-02-14 Thread Alexander Yakushev
Good evening, I suppose I did everything I could to prepare the Menubar widget for submitting to awesome-git. Now I want to ask in what form I have to send the patch: - Should it be a simple lua independent module or should I send the diff from the current git version with my files inside and