Changeset 6cd9b6767421…
Parent 7946187e1b6b…
by
Changes to one file · Browse files at 6cd9b6767421 Showing diff from parent 7946187e1b6b Diff from another changeset...
@@ -4,4 +4,6 @@
# Default icon for apps which do not set one
from shlib import get_tortoise_icon
-gtk.window_set_default_icon_from_file(get_tortoise_icon("hg.ico"))
+icon = get_tortoise_icon("hg.ico")
+if icon:
+ gtk.window_set_default_icon_from_file(icon)
|
Loading...