Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

shlib: do not crash when icon cannot be found

Changeset 4ad51f3cf479

Parent fda9e904f137

by Steve Borho

Changes to one file · Browse files at 4ad51f3cf479 Showing diff from parent fda9e904f137 Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​shlib.py Stacked
 
163
164
165
166
 
 
167
168
169
 
163
164
165
 
166
167
168
169
170
@@ -163,7 +163,8 @@
  return t    def set_tortoise_icon(window, thgicon): - window.set_icon_from_file(get_tortoise_icon(thgicon)) + ico = get_tortoise_icon(thgicon) + if ico: window.set_icon_from_file(ico)   # Global keybindings for TortoiseHg   window.connect('key-press-event', window_key)