correct the item width and enable line wrapping for long theme names (bug

2007-08-14  Jens Granseuer  <jensgr@gmx.net>

	* appearance-themes.c: (themes_init):
	* data/appearance.glade: correct the item width and enable line
	wrapping for long theme names (bug #466405)

svn path=/trunk/; revision=8002
This commit is contained in:
Jens Granseuer 2007-08-14 18:59:03 +00:00 committed by Jens Granseuer
parent fccca91420
commit bc7b719342
3 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2007-08-14 Jens Granseuer <jensgr@gmx.net>
* appearance-themes.c: (themes_init):
* data/appearance.glade: correct the item width and enable line
wrapping for long theme names (bug #466405)
2007-08-11 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (conv_from_widget_cb): make sure we have a

View file

@ -864,7 +864,9 @@ themes_init (AppearanceData *data)
renderer = gtk_cell_renderer_text_new ();
g_object_set (renderer, "alignment", PANGO_ALIGN_CENTER,
"wrap-mode", PANGO_WRAP_WORD_CHAR,
"xalign", 0.5, "yalign", 0.0, NULL);
"wrap-width", gtk_icon_view_get_item_width (icon_view),
"width", gtk_icon_view_get_item_width (icon_view),
"xalign", 0.0, "yalign", 0.0, NULL);
gtk_cell_layout_pack_end (GTK_CELL_LAYOUT (icon_view), renderer, FALSE);
gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (icon_view), renderer,
"markup", COL_LABEL, NULL);

View file

@ -700,7 +700,7 @@
<property name="spacing">3</property>
<property name="margin">18</property>
<property name="width_request">1</property>
<property name="item_width">135</property>
<property name="item_width">138</property>
</widget>
</child>
</widget>