Hello!
Due to missing assignment to start_index and end_index, monospace
attribute did not applied to label, causing constant resizing of that
field (I've also grepped for pango_attr_list_new - other places were ok).
--- geeqie-20090616/src/layout_image.c.orig 2009-06-16 00:32:50.000000000 +0400
+++ geeqie-20090616/src/layout_image.c 2009-06-16 01:41:48.000000000 +0400
@@ -1533,6 +1533,7 @@
gint width, height;
gchar *text;
PangoAttrList *attrs;
+ PangoAttribute *attr;
if (!data || !layout_valid(&lw) || !lw->image
|| !lw->options.show_info_pixel || lw->image->unknown) return;
@@ -1563,7 +1564,9 @@
}
attrs = pango_attr_list_new();
- pango_attr_list_insert(attrs, pango_attr_family_new("Monospace"));
+ attr = pango_attr_family_new("Monospace");
+ attr->start_index = 0; attr->end_index = G_MAXINT;
+ pango_attr_list_insert(attrs, attr);
gtk_label_set_text(GTK_LABEL(lw->info_pixel), text);
gtk_label_set_attributes(GTK_LABEL(lw->info_pixel), attrs);
pango_attr_list_unref(attrs);
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel