Hello,
On Tue, Sep 3, 2013 at 1:30 AM, Giuseppe Penone <[email protected]> wrote:
> Hi, in the branch named xkb (for my already completed work in keyboard
> layout handler) I'm also working on a new plugin that integrates the
> launchbar and taskbar to be able to add/remove launchers from the taskbar
> right click and to hide a launcher when a task button is visible.
> I'm not far from a first version (even if actually the only visible
> differences from normal launchbar and taskbar separated are many prints to
> the terminal) but I realized that I introduced a problem: when the task
> buttons take all the space from the taskbar, they don't shrink to fit in
> but are hidden under the other plugins that follow.
> If anybody has some experience with the taskbar, could help me to
> understand what I'm doing wrong?
> The single eventbox that was there when it was only taskbutton now became:
>
> -- box(H or V)
> |
> --- eventbox launch
> --- eventbox task
>
>
I finally fixed it, turns out that I simply had to pack the taskbar to the
container
with expand=TRUE rather than expand=FALSE.
gtk_box_pack_start(GTK_BOX(p->pwid), ltbp->p_evbox_launchbar, FALSE, TRUE,
0);
- gtk_box_pack_start(GTK_BOX(p->pwid), ltbp->p_evbox_taskbar, FALSE,
TRUE, 0);
+ gtk_box_pack_start(GTK_BOX(p->pwid), ltbp->p_evbox_taskbar, TRUE,
TRUE, 0);
Cheers,
Giuseppe.
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list