GNOME Bugzilla – Bug 138881
Clock applet does not resize itself properly when panel height changes
Last modified: 2004-12-22 21:47:04 UTC
Put a clock applet on a horizontal panel. Resize the panel so that the applet shows in one row. Now grow the panel until the clock applet can use two rows. The applets width stays at the width needed for one row, so there's a lot of wasted space. This is for the clock applet in HEAD.
Created attachment 26576 [details] [review] The fix
Patch looks good to commit, but there's no need for the comment referencing the bug number. Just remove the comment. Also, its } else not } else Thanks
The correct fix is actually to call unfix_size() when the orientation or size changes. 2004-06-02 Mark McLoughlin <mark@skynet.ie> Fix for bug #138881 - clock takes up too much width when you resize the panel such that the clock displays on two rows. * clock.c: (applet_change_orient), (applet_change_pixel_size): unfix the cached size when the orientation or size changes.