Skip to content

Commit

Permalink
Nautilus Extension: initialize extension GObject, fixes #146
Browse files Browse the repository at this point in the history
  • Loading branch information
andyholmes committed Jun 22, 2018
1 parent 0305c8b commit cb422ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/nautilus-gsconnect.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ class GSConnectShareExtension(GObject.GObject, Nautilus.MenuProvider):
def __init__(self):
"""Initialize translations"""

GObject.Object.__init__(self)

try:
locale.setlocale(locale.LC_ALL, '')
gettext.bindtextdomain('org.gnome.Shell.Extensions.GSConnect', LOCALE_DIR)
Expand Down

0 comments on commit cb422ea

Please sign in to comment.