Commit cd28c6fb authored by Dicson's avatar Dicson

set location plugin. remove unused code

parent c2a0c82a
...@@ -6,7 +6,6 @@ import time ...@@ -6,7 +6,6 @@ import time
import gtk import gtk
import os import os
import locale import locale
import gettext
from plugins.gui import GajimPluginConfigDialog from plugins.gui import GajimPluginConfigDialog
from plugins import GajimPlugin from plugins import GajimPlugin
...@@ -14,13 +13,6 @@ from plugins.helpers import log, log_calls ...@@ -14,13 +13,6 @@ from plugins.helpers import log, log_calls
from common import gajim from common import gajim
import gtkgui_helpers import gtkgui_helpers
from dialogs import InputDialog from dialogs import InputDialog
locale_path = os.path.dirname(__file__) + '/locales'
locale.bindtextdomain('setlocation', locale_path)
try:
gett = gettext.Catalog('setlocation', locale_path)
_ = gett.gettext
except:
pass
class SetLocationPlugin(GajimPlugin): class SetLocationPlugin(GajimPlugin):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment