4273e74
From: Lubomir Rintel <lkundrak@v3.sk>
4273e74
4273e74
Hot fix for #532325 [1]
4273e74
Not upstreamable since it defeats the icon's theming.
4273e74
4273e74
[1] https://bugzilla.redhat.com/show_bug.cgi?id=532325
4273e74
4273e74
Index: src/main.cpp
4273e74
===================================================================
4273e74
--- src/main.cpp	(revision 22548)
4273e74
+++ src/main.cpp	(working copy)
4273e74
@@ -924,8 +924,7 @@
4273e74
     gdk_event_handler_set((GdkEventFunc)snooper, NULL, NULL);
4273e74
     Inkscape::Debug::log_display_config();
4273e74
 
4273e74
-    // Set default window icon. Obeys the theme.
4273e74
-    gtk_window_set_default_icon_name("inkscape");
4273e74
+    gtk_window_set_default_icon_from_file("/usr/share/pixmaps/inkscape.png", NULL);
4273e74
     // Do things that were previously in inkscape_gtk_stock_init().
4273e74
     sp_icon_get_phys_size(GTK_ICON_SIZE_MENU);
4273e74
     Inkscape::UI::Widget::Panel::prep();