libwnck r1377 - in trunk: . libwnck



Author: vuntz
Date: 2007-06-26 13:11:47 +0100 (Tue, 26 Jun 2007)
New Revision: 1377
ViewCVS link: http://svn.gnome.org/viewcvs/libwnck?rev=1377&view=rev

Modified:
   trunk/ChangeLog
   trunk/libwnck/tasklist.c
Log:
2007-06-26  Vincent Untz  <vuntz gnome org>

	Fix size of buttons in tasklist changing with the text.
	Fix bug #310809.

	* libwnck/tasklist.c: (wnck_tasklist_get_button_size): new, get the
	ideal button size based on the icon size and a maximum number of
	characters for the text
	(wnck_tasklist_size_request): use wnck_tasklist_get_button_size() for
	the maximum button width, ignore the minimum width/height since
	they're useless and making things more complex than they should be,
	use the maximum size hint for the requested width
	(wnck_task_create_widgets): don't call gtk_label_set_max_width_chars()





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