evolution-rss r115 - trunk/src



Author: lucilanga
Date: Wed Jan 16 06:45:21 2008
New Revision: 115
URL: http://svn.gnome.org/viewvc/evolution-rss?rev=115&view=rev

Log:
webkit area resizing

Modified:
   trunk/src/rss.c

Modified: trunk/src/rss.c
==============================================================================
--- trunk/src/rss.c	(original)
+++ trunk/src/rss.c	Wed Jan 16 06:45:21 2008
@@ -417,8 +417,6 @@
 
         	activity_info = (ActivityInfo *) p->data;
 
-		g_print("fraction:%f\n", progress);
-
 		e_activity_handler_operation_progressing(activity_handler,
 				activity_id,
                                 g_strdup(activity_info->information), 
@@ -2851,6 +2849,10 @@
 //	g_print("size:%d\n", wheight);
 //        height = req.height - 200;// - 16 - 194;
 //	g_print("my cal %d w:%d h:%d\n", GTK_IS_WIDGET(data), width, height);
+		g_print("data:%p\n", data);
+		if (GTK_IS_MOZ_EMBED(data))
+		{
+			g_print("is mozembed\n");
        		if (GTK_IS_WIDGET(data) && height > 50)
 			gtk_widget_set_size_request((GtkWidget *)data, width, height);
 // apparently resizing gtkmozembed widget won't redraw if using xulrunner
@@ -2858,7 +2860,9 @@
 #ifdef HAVE_XULRUNNER
 		gtk_moz_embed_reload(rf->mozembed, GTK_MOZ_EMBED_FLAG_RELOADNORMAL);
 #endif
+		}
 	}
+	g_print("resize done\n");
 }
 
 #ifdef HAVE_GTKMOZEMBED



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