gnome-pixmap-entry patch



This patch is needed for GnomePixmapEntry to work right when not created
via new/construct (ie, through libglade).

May I commit?




? pixmap-entry.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/libgnomeui/libgnomeui/ChangeLog,v
retrieving revision 1.1728
diff -u -r1.1728 ChangeLog
--- ChangeLog	2001/11/28 20:13:55	1.1728
+++ ChangeLog	2001/11/29 03:43:58
@@ -1,3 +1,9 @@
+2001-11-28  Richard Hestilow  <hestilow ximian com>
+
+	* gnome-pixmap-entry.c (gnome_pixmap_entry_instance_init):
+	Set do_preview to 0 instead of 1, as it is not really set up
+	by default and thus will confuse gnome_pixmap_entry_set_preview.
+
 2001-11-28  Anders Carlsson  <andersca gnu org>
 
 	* gnome-href.c (gnome_href_realize): Set the cursor on the input
Index: gnome-pixmap-entry.c
===================================================================
RCS file: /cvs/gnome/libgnomeui/libgnomeui/gnome-pixmap-entry.c,v
retrieving revision 1.45
diff -u -r1.45 gnome-pixmap-entry.c
--- gnome-pixmap-entry.c	2001/11/13 01:09:28	1.45
+++ gnome-pixmap-entry.c	2001/11/29 03:44:09
@@ -508,7 +508,7 @@
 
 	pentry->_priv = g_new0(GnomePixmapEntryPrivate, 1);
 
-	pentry->_priv->do_preview = 1;
+	pentry->_priv->do_preview = 0;
 
 	pentry->_priv->last_preview = NULL;
 


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