From 2c5cfd0673aba4dd2693432886479465aa412a46 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Fri, 5 Nov 2010 18:37:50 +0300 Subject: [PATCH] plugins_window.ui - removed unused hbox ftp_manager - small gui changes --- data/gui/plugins_window.ui | 31 ++++------------------ plugins/ftp_manager/config_dialog.ui | 39 ++++++++++------------------ plugins/ftp_manager/ftp_manager.py | 3 ++- 3 files changed, 21 insertions(+), 52 deletions(-) diff --git a/data/gui/plugins_window.ui b/data/gui/plugins_window.ui index 6238bd44d..4b3bfc3dc 100644 --- a/data/gui/plugins_window.ui +++ b/data/gui/plugins_window.ui @@ -51,33 +51,12 @@ vertical 6 - + True - 6 - - - True - 0 - &lt;empty&gt; - True - True - True - - - 0 - - - - - True - - - - - - 1 - - + 0 + &lt;empty&gt; + True + True False diff --git a/plugins/ftp_manager/config_dialog.ui b/plugins/ftp_manager/config_dialog.ui index 305d97316..34213631d 100644 --- a/plugins/ftp_manager/config_dialog.ui +++ b/plugins/ftp_manager/config_dialog.ui @@ -12,12 +12,13 @@ 350 True True - 324 + 340 True True True + 6 automatic automatic @@ -36,32 +37,16 @@ True + 5 vertical + 6 - + True - - - True - <empty> - True - - - False - 0 - - - - - True - - - - - - 1 - - + 0 + <empty> + True + end False @@ -71,6 +56,7 @@ True + 6 True @@ -84,11 +70,13 @@ True + 0 + 6 <empty> True + end - False 1 @@ -119,6 +107,7 @@ True none False + 0 1 diff --git a/plugins/ftp_manager/ftp_manager.py b/plugins/ftp_manager/ftp_manager.py index d80edf20d..d9a2dfe89 100644 --- a/plugins/ftp_manager/ftp_manager.py +++ b/plugins/ftp_manager/ftp_manager.py @@ -34,6 +34,7 @@ from plugins import GajimPlugin from plugins.helpers import log_calls, log from dialogs import WarningDialog, HigDialog from plugins.gui import GajimPluginConfigDialog +from common import i18n class FtpManager(GajimPlugin): @@ -72,7 +73,7 @@ class FtpManager(GajimPlugin): self.GTK_BUILDER_FILE_PATH = self.local_file_path( 'config_dialog.ui') self.xml = gtk.Builder() - #self.xml.set_translation_domain('FtpManagerPlugin') + self.xml.set_translation_domain(i18n.APP) self.xml.add_objects_from_file(self.GTK_BUILDER_FILE_PATH, ['hpaned2']) hpaned = self.xml.get_object('hpaned2')