[Pidgin] #1355: Maximized Buddy-List Window
Pidgin
trac at pidgin.im
Sat Jul 21 00:27:04 EDT 2007
#1355: Maximized Buddy-List Window
------------------------------+---------------------------------------------
Reporter: Menedas | Owner: datallah
Type: defect | Status: new
Priority: minor | Milestone: 2.1.1
Component: winpidgin (gtk) | Version: 2.0.1
Resolution: | Keywords: window size
Pending: 0 |
------------------------------+---------------------------------------------
Changes (by charkins):
* owner: charkins => datallah
* status: assigned => new
Comment:
I'm passing this off to datallah to get his input.
The work around in gtk_blist_configure_cb for gtk bug #169811 doesn't work
consistently. Sometimes gdk_get_window_state() is telling us the window is
not maximized during maximization. Other times it tells us the window is
maximized during a restore.
Since this doesn't seem to be reliable, we could make the assumption that
if the buddy list is >90% of the width and height, that the window is
maximized (and the size/position is not stored). This would be a horrible
hack, but I can't think of another easy way to fix this.
Patch is attached if you want to try it out. Feel free to apply if you
think this is the best way to fix this, or pass it back to me to apply if
you don't want your name attached to such an ugly hack. :-)
--
Ticket URL: <http://developer.pidgin.im/ticket/1355#comment:5>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list