[evolution-patches] [gtkhtml] #62088 gpg signature text is hided by the signature icon




Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.2028
diff -u -p -r1.2028 ChangeLog
--- ChangeLog	4 Aug 2004 09:12:43 -0000	1.2028
+++ ChangeLog	5 Aug 2004 11:46:13 -0000
@@ -1,4 +1,18 @@
+2004-08-05  Radek Doulik  <rodo ximian com>
+
+	* htmlembedded.c (calc_min_width): calc min with for unrealized
+	widgets as well, it's OK to call gtk_widget_size_request
+
+	Fixes #62088
+
 2004-08-03  Radek Doulik  <rodo ximian com>
 
 	* htmltext.c (html_text_set_style_in_range): avoid setting default
 	font size
Index: htmlembedded.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/htmlembedded.c,v
retrieving revision 1.52
diff -u -p -r1.52 htmlembedded.c
--- htmlembedded.c	22 Jul 2004 13:15:14 -0000	1.52
+++ htmlembedded.c	5 Aug 2004 11:46:13 -0000
@@ -142,7 +142,7 @@ calc_min_width (HTMLObject *self,
 
 	widget = HTML_EMBEDDED (self)->widget;
 
-	if (widget == NULL || !GTK_WIDGET_REALIZED (widget)) 
+	if (widget == NULL)
 		return 0;
      
 	requisition.width = requisition.height = 0;


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