Re: Problem with Dia Comment/"scrolled_window"



At 26.10.2011 02:36, Sekhar Bhattacharya wrote:
Hi,

I recently upgraded to Ubuntu 11.10 and noticed that the Comment section
in the attributes and operations tab were way too small to see anything.
See dia.png to see what I mean.

I checked out the source code and seem to have found a fix. See
dia_fixed.png.

This is the code before which doesn't work, from class_attributes_dialog.c:
gtk_table_attach (GTK_TABLE (table), scrolledwindow, 1,2,3,4, GTK_FILL |
GTK_EXPAND,0, 0,0);

This is what I changed to get it to show the comment entry (see
dia_fixed.png)
gtk_table_attach (GTK_TABLE (table), scrolledwindow, 1,2,3,4,
(GtkAttachOptions)GTK_FILL, (GtkAttachOptions)GTK_FILL, 0, 0);

This looks exactly like what was recently put into bugzilla as
https://bugzilla.gnome.org/show_bug.cgi?id=662728

I've commented it there.

I don't know how many other people having the same problem, but this
should fix it.

If anyone is having this problem except on Ubuntu 11.10 that would be interesting.

-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it.                -- Dilbert



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