changeset 9e4c16fab1fb in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=9e4c16fab1fb
description: plugins_window.ui - removed unused hbox
ftp_manager - small gui changes
diffstat:
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(-)
diffs (151 lines):
diff -r a82c65b728c5 -r 9e4c16fab1fb data/gui/plugins_window.ui
--- a/data/gui/plugins_window.ui Fri Nov 05 16:39:09 2010 +0300
+++ b/data/gui/plugins_window.ui Fri Nov 05 18:37:50 2010 +0300
@@ -51,33 +51,12 @@
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
- <object class="GtkHBox" id="hbox4">
+ <object class="GtkLabel" id="plugin_name_label">
<property name="visible">True</property>
- <property name="spacing">6</property>
- <child>
- <object class="GtkLabel" id="plugin_name_label">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label"
translatable="yes">&lt;empty&gt;</property>
- <property name="use_markup">True</property>
- <property name="wrap">True</property>
- <property name="selectable">True</property>
- </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>
+ <property name="xalign">0</property>
+ <property name="label"
translatable="yes">&lt;empty&gt;</property>
+ <property name="use_markup">True</property>
+ <property name="selectable">True</property>
</object>
<packing>
<property name="expand">False</property>
diff -r a82c65b728c5 -r 9e4c16fab1fb plugins/ftp_manager/config_dialog.ui
--- a/plugins/ftp_manager/config_dialog.ui Fri Nov 05 16:39:09 2010 +0300
+++ b/plugins/ftp_manager/config_dialog.ui Fri Nov 05 18:37:50 2010 +0300
@@ -12,12 +12,13 @@
<property name="height_request">350</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="position">324</property>
+ <property name="position">340</property>
<property name="position_set">True</property>
<child>
<object class="GtkScrolledWindow" id="scrolledwindow2">
<property name="visible">True</property>
<property name="can_focus">True</property>
+ <property name="border_width">6</property>
<property name="hscrollbar_policy">automatic</property>
<property name="vscrollbar_policy">automatic</property>
<child>
@@ -36,32 +37,16 @@
<child>
<object class="GtkVBox" id="vbox4">
<property name="visible">True</property>
+ <property name="border_width">5</property>
<property name="orientation">vertical</property>
+ <property name="spacing">6</property>
<child>
- <object class="GtkHBox" id="hbox6">
+ <object class="GtkLabel" id="plugin_name_label1">
<property name="visible">True</property>
- <child>
- <object class="GtkLabel" id="plugin_name_label1">
- <property name="visible">True</property>
- <property name="label"
translatable="yes"><empty></property>
- <property name="selectable">True</property>
- </object>
- <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>
+ <property name="xalign">0</property>
+ <property name="label"
translatable="yes"><empty></property>
+ <property name="selectable">True</property>
+ <property name="ellipsize">end</property>
</object>
<packing>
<property name="expand">False</property>
@@ -71,6 +56,7 @@
<child>
<object class="GtkHBox" id="hbox8">
<property name="visible">True</property>
+ <property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label8">
<property name="visible">True</property>
@@ -84,11 +70,13 @@
<child>
<object class="GtkLabel" id="plugin_authors_label1">
<property name="visible">True</property>
+ <property name="xalign">0</property>
+ <property name="xpad">6</property>
<property name="label"
translatable="yes"><empty></property>
<property name="selectable">True</property>
+ <property name="ellipsize">end</property>
</object>
<packing>
- <property name="expand">False</property>
<property name="position">1</property>
</packing>
</child>
@@ -119,6 +107,7 @@
<property name="receives_default">True</property>
<property name="relief">none</property>
<property name="focus_on_click">False</property>
+ <property name="xalign">0</property>
</object>
<packing>
<property name="position">1</property>
diff -r a82c65b728c5 -r 9e4c16fab1fb plugins/ftp_manager/ftp_manager.py
--- a/plugins/ftp_manager/ftp_manager.py Fri Nov 05 16:39:09 2010 +0300
+++ b/plugins/ftp_manager/ftp_manager.py Fri Nov 05 18:37:50 2010 +0300
@@ -34,6 +34,7 @@
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 @@
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')
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits