On Wed, Jan 27, 2010 at 03:18:51PM +0300, Ilya Martinov wrote:
> On Tue, Jan 26, 2010 at 02:06:26PM -0800, Perry Hargrave wrote:
> > On Tue, Jan 26, 2010 at 07:45:12PM +0300, Ilya Martinov wrote:
> > > Hi all...
> > > 
> > >  Upgrade to awesome 3.4.3 and get some trouble with shifty. 
> > > If i describe tag in rc.lua everything works fine, but if i create new 
> > > tag then i can not specify tag name, it's just remains empty =(
> > > function shifty.rename and shifty.del also do not work, and neither any 
> > > errors. xsession-errors I see.
> > > 
> > > I use shifty Version for awesome git master
> > > http://git.mercenariesguild.net/?p=awesome.git;a=blob;f=lib/shifty.lua.in;hb=shifty-master
> > >  
> > > 
> > > -- 
> > > WBR...
> > > Ilya Martinov
> > > 
> > > -- 
> > > To unsubscribe, send mail to [email protected].
> > 
> > have you tried the shifty in my github repo?
> > 
> > http://github.com/bioe007/awesome-configs/blob/master/shifty.lua
> > 
> > 
> > I am using it with awesome:
> > 
> > v3.4-103-g81b073e (Closing In)
> >  • Build: Jan 18 2010 10:16:39 for i686 by gcc version 4.4.2
> >  (pe...@phargrave)
> >   • D-Bus support: ✔
> >   
> > the most notably broken thing for me is that tag renaming doesnt
> > properly place the cursor on the taglist widget. 
> > 
> > Unfortunately there is no reliable way of getting these widgets based on
> > their tag object (I tried submitting a patch for this some time ago).
> > 
> > I really don't feel like debugging shifty a whole lot since -next
> > promises to break everything all over again.
> > 
> > -p
> now i use 
> awesome v3.4.3 (Engines)
>  • Build: Jan 20 2010 20:42:49 for i686 by gcc version 4.3.4 (r...@gibbo)
>   • D-Bus support: ✔
> and shifty from commit:  
> commit from 2009-09-20 koniu shifty: and the signals... fixme :)
> 
> all work fine.
> -- 
> WBR...
> Ilya Martinov
> 
> -- 
> To unsubscribe, send mail to [email protected].


Hi all, :-)

My solution for the problem is, to create own widgets in the rc.lua
file.
i.e.     shiftyprompt[s] = widget({ type = "textbox", name = "shiftyprompt", 
align = "left" })

The type has to be "textbox" because the function awful.prompt.run wants
a textbox widget.

Then I changed the function rename() in the shifty.lua,  that it gets
a second argument which is the textbox-widget. Consequently I have to
change the function-call awful.prompt.run() in the rename-function
to provide the textboxwidget.

greetz

Sascha


-- 
To unsubscribe, send mail to [email protected].

Reply via email to