Verve-plugin and hidden panels
Jannis Pohlmann
info at sten-net.de
Tue Aug 8 22:37:41 CEST 2006
On Fri, 04 Aug 2006 23:09:44 +0200, Jasper Huijsmans wrote:
> Jasper Huijsmans wrote:
> > Jannis Pohlmann schreef:
> >> On Tue, 25 Jul 2006 21:41:40 +0200, Nikolas Arend wrote:
> >>
> >>> Hi,
> >>>
> >>> another verve-plugin thing... I tried to run it in an auto-hidden
> >>> panel. When calling verve-focus, the plugin receives focus and
> >>> all, but the panel doesn't unhide. I don't know if that's
> >>> intentional, but IMHO it'd be good to unhide the respective
> >>> panel, letting the user see what he types and launches ;-) If
> >>> that's possible, of course...
> >> AFAIK, there's no function for this, which the plugin could use to
> >> unhide the panel, is there, Jasper?
> >
> > No.
> >
> >> If not, this might be something
> >> useful to add.
> >
> > Sounds like it could be useful. I might have a look at it when time
> > allows and the weather doesn't turn me into a sweating zombie...
> >
> >> Or perhaps (dunno if this is possible) just connect to
> >> all action widgets and their "focus-in-event" in order to unhide it
> >> automatically.
> >
> > This still would need communication between (external) plugins and
> > the panel, so it might just as well be an explicit action.
> >
>
> Jannis, how about the patch below. You can also re-hide, but I didn't
> know where to put that.
Thanks, Jasper. I applied your patch and also added a re-hide call
after a command was successfully started. This probably isn't necessary
as starting a command most times means that a new window gets the focus
and thus, the panel is hidden anyway. But it can't hurt to have this
call there.
Regards,
Jannis
More information about the Xfce4-dev
mailing list