@@ -449,21 +449,10 @@ def msg(text, style=gtk.MESSAGE_INFO, buttons=gtk.BUTTONS_CLOSE): m = gtk.MessageDialog(None, 0, style, buttons, message_format=text) m.show() m.connect("response", lambda *w: m.destroy()) - - # apply gtkrc stylesheet - @staticmethod - def load_theme(theme=None): - if theme: - for dir in (conf.dir, conf.share, "/usr/share"): - f = dir + "/themes/" + theme + "/gtk-2.0/gtkrc" - if os.path.exists(f): - gtk.rc_parse(f) - pass - # Pixbug loader (from inline string, as in `logo.png`) @staticmethod def pixbuf(buf, fmt="png", decode=True, gzip=False): if not buf or len(buf) < 16: