plugins_window.ui - removed unused hbox

ftp_manager - small gui changes
This commit is contained in:
Denis Fomin 2010-11-05 18:37:50 +03:00
parent b73124c40d
commit 2c5cfd0673
3 changed files with 21 additions and 52 deletions

View File

@ -50,35 +50,14 @@
<property name="border_width">6</property> <property name="border_width">6</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="spacing">6</property> <property name="spacing">6</property>
<child>
<object class="GtkHBox" id="hbox4">
<property name="visible">True</property>
<property name="spacing">6</property>
<child> <child>
<object class="GtkLabel" id="plugin_name_label"> <object class="GtkLabel" id="plugin_name_label">
<property name="visible">True</property> <property name="visible">True</property>
<property name="xalign">0</property> <property name="xalign">0</property>
<property name="label" translatable="yes">&amp;lt;empty&amp;gt;</property> <property name="label" translatable="yes">&amp;lt;empty&amp;gt;</property>
<property name="use_markup">True</property> <property name="use_markup">True</property>
<property name="wrap">True</property>
<property name="selectable">True</property> <property name="selectable">True</property>
</object> </object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkAlignment" id="alignment1">
<property name="visible">True</property>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="position">0</property> <property name="position">0</property>

View File

@ -12,12 +12,13 @@
<property name="height_request">350</property> <property name="height_request">350</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="position">324</property> <property name="position">340</property>
<property name="position_set">True</property> <property name="position_set">True</property>
<child> <child>
<object class="GtkScrolledWindow" id="scrolledwindow2"> <object class="GtkScrolledWindow" id="scrolledwindow2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="border_width">6</property>
<property name="hscrollbar_policy">automatic</property> <property name="hscrollbar_policy">automatic</property>
<property name="vscrollbar_policy">automatic</property> <property name="vscrollbar_policy">automatic</property>
<child> <child>
@ -36,32 +37,16 @@
<child> <child>
<object class="GtkVBox" id="vbox4"> <object class="GtkVBox" id="vbox4">
<property name="visible">True</property> <property name="visible">True</property>
<property name="border_width">5</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<child> <property name="spacing">6</property>
<object class="GtkHBox" id="hbox6">
<property name="visible">True</property>
<child> <child>
<object class="GtkLabel" id="plugin_name_label1"> <object class="GtkLabel" id="plugin_name_label1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">&lt;empty&gt;</property> <property name="label" translatable="yes">&lt;empty&gt;</property>
<property name="selectable">True</property> <property name="selectable">True</property>
</object> <property name="ellipsize">end</property>
<packing>
<property name="expand">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkAlignment" id="alignment3">
<property name="visible">True</property>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -71,6 +56,7 @@
<child> <child>
<object class="GtkHBox" id="hbox8"> <object class="GtkHBox" id="hbox8">
<property name="visible">True</property> <property name="visible">True</property>
<property name="spacing">6</property>
<child> <child>
<object class="GtkLabel" id="label8"> <object class="GtkLabel" id="label8">
<property name="visible">True</property> <property name="visible">True</property>
@ -84,11 +70,13 @@
<child> <child>
<object class="GtkLabel" id="plugin_authors_label1"> <object class="GtkLabel" id="plugin_authors_label1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="xalign">0</property>
<property name="xpad">6</property>
<property name="label" translatable="yes">&lt;empty&gt;</property> <property name="label" translatable="yes">&lt;empty&gt;</property>
<property name="selectable">True</property> <property name="selectable">True</property>
<property name="ellipsize">end</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property>
<property name="position">1</property> <property name="position">1</property>
</packing> </packing>
</child> </child>
@ -119,6 +107,7 @@
<property name="receives_default">True</property> <property name="receives_default">True</property>
<property name="relief">none</property> <property name="relief">none</property>
<property name="focus_on_click">False</property> <property name="focus_on_click">False</property>
<property name="xalign">0</property>
</object> </object>
<packing> <packing>
<property name="position">1</property> <property name="position">1</property>

View File

@ -34,6 +34,7 @@ from plugins import GajimPlugin
from plugins.helpers import log_calls, log from plugins.helpers import log_calls, log
from dialogs import WarningDialog, HigDialog from dialogs import WarningDialog, HigDialog
from plugins.gui import GajimPluginConfigDialog from plugins.gui import GajimPluginConfigDialog
from common import i18n
class FtpManager(GajimPlugin): class FtpManager(GajimPlugin):
@ -72,7 +73,7 @@ class FtpManager(GajimPlugin):
self.GTK_BUILDER_FILE_PATH = self.local_file_path( self.GTK_BUILDER_FILE_PATH = self.local_file_path(
'config_dialog.ui') 'config_dialog.ui')
self.xml = gtk.Builder() 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, self.xml.add_objects_from_file(self.GTK_BUILDER_FILE_PATH,
['hpaned2']) ['hpaned2'])
hpaned = self.xml.get_object('hpaned2') hpaned = self.xml.get_object('hpaned2')