CVSROOT:        /cvs/gnome
Module name:    gnome-panel
Changes by:     vuntz   06/08/07 17:46:22

Modified files:
        applets/clock  : ChangeLog clock.c 

Log message:
2006-08-07  Vincent Untz  <[EMAIL PROTECTED]>

Only display vertical text on vertical panels when the panel is not
wide enough for horizontal text.
Based on patch by Adam Sjøgren <[EMAIL PROTECTED]>
Fix bug #318377 [http://bugzilla.gnome.org/show_bug.cgi?id=318377]

* clock.c: (calculate_minimum_width): new
(update_clock): update orientation
(create_clock_widget): don't initialize orientation
(update_orient): new, does the work
(applet_change_orient): don't change orientation of the text. And
don't do anything if the orientation is the same :-)
(applet_change_pixel_size): update to not do anything if the whole
allocation is the same (and not only the width/height depending on
orientation)
(fill_clock_applet): beautification update

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-panel&who=vuntz&date=explicit&mindate=2006-08-07%2017:45&maxdate=2006-08-07%2017:47

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to