GNOME Bugzilla – Bug 125535
blogging window should stay on top and skip the taskbar
Last modified: 2006-01-09 23:00:12 UTC
blogging window should stay on top and skip the taskbar.
According to bug 125533 the wrappers exist in CVS, we're just waiting for a new release of pygtk and the fix is a simple one liner.
Hrm, I tried using window.set_skip_taskbar_hint(gtk.TRUE) and window.set_skip_pager_hint(gtk.TRUE) but they didn't seem to have any effect. Any suggestions?
*** Bug 161047 has been marked as a duplicate of this bug. ***
There's a patch from Tommi Komulainen in bug 161047, but it's also using set_skip_pager_hint(gtk.TRUE) and set_skip_taskbar_hint(gtk.TRUE)...
That seems to work now in my pygtk, I guess we can apply this patch. [clarkbw@rhbw gnome-blog]$ rpm -qv pygtk2 pygtk2-2.5.3-2 Of course I have to admit that using it even for a little while has caused me to think that it needs an additional patch to realize if it doesn't have focus clicking on the button needs to just give it focus instead of hiding the window like normal. It makes for requiring double clicking to get the window back.
Created attachment 46691 [details] [review] Stay on top, skip task bar and pager The pygtk check in configure.in may need to be updated, at least 2.2 I guess..
Committed it, pygtk reference says it is a 2.2 function, the always on top is a 2.4 function (http://www.pygtk.org/pygtk2reference/class-gtkwindow.html). My distro currently has 2.6.2. Do not believe clicking to give focus if it doesn't have it (comment 5) is sane now that the window is now always on top when shown. Users can now easily click in the window. I think sometimes not hiding the window would be confusing in this case.
Leaving open for the configure.in update...
Changed configure.in to require at least pygtk 2.6.