gnome-mud r738 - in trunk: . src



Author: lharris
Date: Tue Feb 17 06:00:20 2009
New Revision: 738
URL: http://svn.gnome.org/viewvc/gnome-mud?rev=738&view=rev

Log:
GnomeMud picture will now be the correct size when last view is closed.


Modified:
   trunk/ChangeLog
   trunk/src/mud-window.c

Modified: trunk/src/mud-window.c
==============================================================================
--- trunk/src/mud-window.c	(original)
+++ trunk/src/mud-window.c	Tue Feb 17 06:00:20 2009
@@ -184,8 +184,13 @@
 
         if(window->priv->image)
             g_object_unref(window->priv->image);
+        
+        buf = gdk_pixbuf_new_from_file_at_size(
+                GMPIXMAPSDIR "/gnome-mud.svg", 
+                w >> 1, 
+                h >> 1, 
+                &gerr);
 
-        buf = gtk_icon_theme_load_icon(gtk_icon_theme_get_default(), "gnome-mud", w >> 1, GTK_ICON_LOOKUP_FORCE_SVG, &gerr);
         window->priv->image = gtk_image_new_from_pixbuf(buf);
         gtk_widget_show(window->priv->image);
 



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