Source

thg / hggtk / __init__.py

1
2
3
4
5
6
7
8
9
import pygtk
pygtk.require('2.0')
import gtk

# Default icon for apps which do not set one
from shlib import get_tortoise_icon
icon = get_tortoise_icon("hg.ico")
if icon:
    gtk.window_set_default_icon_from_file(icon)