Re: gtk_window_set_skip_taskbar_hint does not seem to work correctly


On 7/26/05, Jaap Haitsma <jaap haitsma org> wrote:
> Hi,
> After I used gtk_window_set_skip_taskbar_hint [1] with the setting
> argument TRUE the window correctly dissapears from the taskbar. However
> if I then call it again with the setting argument set to TRUE is does
> not appear again.
> The attached example program shows the problem. You need to compile the
> program with:
> gcc -o helloworld helloworld.c `pkg-config --cflags gtk+-2.0` -ansi
> -Wall `pkg-config --libs gtk+-2.0`
> If you then click on the "Hello World" button, the program will call
> gtk_window_set_skip_taskbar_hint with skip_taskbar set to TRUE or FALSE.
> The first time you click (skip_taskbar set to TRUE), the window as
> expected is not shown anymore in the taskbar.
> The second time you click (skip_taskbar set to FALSE) the window does
> not show up in the taskbar. While you would expect it to appear again.
> You can make it appear though by manually changing the size of the window.
> My questions:
> Am I doing something wrong?

Didn't check the code, but I don't think so.

> Is this a bug in GTK?


> Or maybe metacity?


It's a libwnck bug:

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]