Ticket #883: deluge-1.1.6-alt-fix-nonutf8.patch

File deluge-1.1.6-alt-fix-nonutf8.patch, 629 bytes (added by thecrux@…, 15 years ago)

bind a textdomain gtk.glade module

  • deluge/ui/gtkui/gtkui.py

    a b  
    138138            gettext.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n")) 
    139139            gettext.textdomain("deluge") 
    140140            gettext.install("deluge", pkg_resources.resource_filename("deluge", "i18n")) 
     141            gtk.glade.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n")) 
     142            gtk.glade.textdomain("deluge") 
    141143        except Exception, e: 
    142144            log.error("Unable to initialize gettext/locale!") 
    143145            log.exception(e)