summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'rox-base/rox-lib/files/rox-lib-nosvg.patch')
-rw-r--r--rox-base/rox-lib/files/rox-lib-nosvg.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/rox-base/rox-lib/files/rox-lib-nosvg.patch b/rox-base/rox-lib/files/rox-lib-nosvg.patch
new file mode 100644
index 000000000000..eff2aa325c40
--- /dev/null
+++ b/rox-base/rox-lib/files/rox-lib-nosvg.patch
@@ -0,0 +1,18 @@
+Index: ROX-Lib2/python/rox/__init__.py
+===================================================================
+--- ROX-Lib2/python/rox/__init__.py (revision 4953)
++++ ROX-Lib2/python/rox/__init__.py (working copy)
+@@ -197,8 +197,11 @@
+ try:
+ g.window_set_default_icon_list(g.gdk.pixbuf_new_from_file(_icon_path))
+ except:
+- # Older pygtk
+- _window_icon = g.gdk.pixbuf_new_from_file(_icon_path)
++ try:
++ # Older pygtk
++ _window_icon = g.gdk.pixbuf_new_from_file(_icon_path)
++ except:
++ pass
+ del _icon_path
+
+ class Window(g.Window):