[grisbi-cvs] grisbi/src import.c,1.322,1.323

Pierre Biava pbiava at users.sourceforge.net
Sun Feb 21 17:14:54 CET 2010


Update of /cvsroot/grisbi/grisbi/src
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv26084

Modified Files:
	import.c 
Log Message:
fixed bug 963

Index: import.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/import.c,v
retrieving revision 1.322
retrieving revision 1.323
diff -u -d -r1.322 -r1.323
--- import.c	6 Feb 2010 14:33:37 -0000	1.322
+++ import.c	21 Feb 2010 16:14:52 -0000	1.323
@@ -843,10 +843,15 @@
  */
 GtkWidget *import_create_resume_page ( GtkWidget * assistant )
 {
-    GtkWidget * view;
-    GtkTextBuffer * buffer;
+    GtkWidget *sw;
+    GtkWidget *view;
+    GtkTextBuffer *buffer;
 
+    sw = gtk_scrolled_window_new (NULL, NULL);
+    gtk_scrolled_window_set_policy ( GTK_SCROLLED_WINDOW ( sw ),
+                        GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC );
     view = gtk_text_view_new ();
+    gtk_container_add (GTK_CONTAINER (sw), view);
     gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (view), GTK_WRAP_WORD);
 
     gtk_text_view_set_editable ( GTK_TEXT_VIEW (view), FALSE );
@@ -864,7 +869,7 @@
 
     g_object_set_data ( G_OBJECT ( assistant ), "text-buffer", buffer );
 
-    return view;
+    return sw;
 }
 
 



More information about the cvs mailing list