changeset f61b0d6163e0 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=f61b0d6163e0 description: fix XML window
diffstat:
data/gui/xml_console_window.ui | 113 +++++++++++++++++++++++++++++----------- 1 files changed, 81 insertions(+), 32 deletions(-)
diffs (truncated from 375 to 300 lines):
diff -r 2c3b3ecd0c18 -r f61b0d6163e0 data/gui/xml_console_window.ui --- a/data/gui/xml_console_window.ui Sat Jan 26 19:35:56 2013 +0100 +++ b/data/gui/xml_console_window.ui Sat Jan 26 19:40:59 2013 +0100 @@ -1,20 +1,21 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="UTF-8"?> <interface> - <requires lib="gtk+" version="2.16"/> - <!-- interface-naming-policy toplevel-contextual --> + <!-- interface-requires gtk+ 3.0 --> <object class="GtkWindow" id="xml_console_window"> + <property name="can_focus">False</property> <property name="border_width">12</property> <property name="default_width">550</property> <property name="default_height">450</property> - <signal name="destroy" handler="on_xml_console_window_destroy"/> + <signal name="destroy" handler="on_xml_console_window_destroy" swapped="no"/> <child> <object class="GtkVBox" id="vbox"> <property name="visible">True</property> - <property name="orientation">vertical</property> + <property name="can_focus">False</property> <property name="spacing">6</property> <child> <object class="GtkLabel" id="label342"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes"><b>Jabber Traffic</b></property> <property name="use_markup">True</property> @@ -29,8 +30,6 @@ <object class="GtkScrolledWindow" id="scrolledwindow43"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="hscrollbar_policy">automatic</property> - <property name="vscrollbar_policy">automatic</property> <property name="shadow_type">in</property> <child> <object class="GtkTextView" id="stanzas_log_textview"> @@ -42,49 +41,49 @@ </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> <child> <object class="GtkHBox" id="hbox2988"> <property name="visible">True</property> + <property name="can_focus">False</property> <child> <object class="GtkCheckButton" id="enable_checkbutton"> <property name="label" translatable="yes" comments="XML Console enable checkbutton">_Enable</property> + <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> + <property name="xalign">0</property> <property name="draw_indicator">True</property> - <signal name="toggled" handler="on_enable_checkbutton_toggled"/> + <signal name="toggled" handler="on_enable_checkbutton_toggled" swapped="no"/> </object> <packing> - <property name="expand">False</property> - <property name="fill">False</property> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> - <object class="GtkLabel" id="label351"> - <property name="visible">True</property> - </object> - <packing> - <property name="position">1</property> - </packing> - </child> - <child> <object class="GtkButton" id="clear_button"> <property name="label">gtk-clear</property> + <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_stock">True</property> - <signal name="clicked" handler="on_clear_button_clicked"/> + <signal name="clicked" handler="on_clear_button_clicked" swapped="no"/> </object> <packing> <property name="expand">False</property> <property name="fill">False</property> - <property name="position">2</property> + <property name="position">1</property> </packing> </child> </object> @@ -102,84 +101,113 @@ <child> <object class="GtkVBox" id="input_vbox1"> <property name="visible">True</property> - <property name="orientation">vertical</property> + <property name="can_focus">False</property> <property name="spacing">6</property> <child> <object class="GtkHBox" id="hbox1"> <property name="visible">True</property> + <property name="can_focus">False</property> <child> <object class="GtkCheckButton" id="in_stanza_checkbutton"> <property name="label" translatable="yes">Hide IN stanzas</property> + <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> + <property name="xalign">0.5</property> <property name="draw_indicator">True</property> - <signal name="toggled" handler="on_in_stanza_checkbutton_toggled"/> + <signal name="toggled" handler="on_in_stanza_checkbutton_toggled" swapped="no"/> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkCheckButton" id="out_stanza_checkbutton"> <property name="label" translatable="yes">Hide OUT stanzas</property> + <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> + <property name="xalign">0.5</property> <property name="draw_indicator">True</property> - <signal name="toggled" handler="on_out_stanza_checkbutton_toggled"/> + <signal name="toggled" handler="on_out_stanza_checkbutton_toggled" swapped="no"/> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> <child> <object class="GtkCheckButton" id="presence_stanza_checkbutton"> <property name="label" translatable="yes">Hide Presence stanzas</property> + <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> + <property name="xalign">0.5</property> <property name="draw_indicator">True</property> - <signal name="toggled" handler="on_presence_stanza_checkbutton_toggled"/> + <signal name="toggled" handler="on_presence_stanza_checkbutton_toggled" swapped="no"/> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">2</property> </packing> </child> <child> <object class="GtkCheckButton" id="iq_stanza_checkbutton"> <property name="label" translatable="yes">Hide IQ stanzas</property> + <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> + <property name="xalign">0.5</property> <property name="draw_indicator">True</property> - <signal name="toggled" handler="on_iq_stanza_checkbutton_toggled"/> + <signal name="toggled" handler="on_iq_stanza_checkbutton_toggled" swapped="no"/> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">3</property> </packing> </child> <child> <object class="GtkCheckButton" id="message_stanza_checkbutton"> <property name="label" translatable="yes">Hide Message stanzas</property> + <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> + <property name="xalign">0.5</property> <property name="draw_indicator">True</property> - <signal name="toggled" handler="on_message_stanza_checkbutton_toggled"/> + <signal name="toggled" handler="on_message_stanza_checkbutton_toggled" swapped="no"/> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">4</property> </packing> </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkHBox" id="hbox2"> <property name="visible">True</property> + <property name="can_focus">False</property> <child> <placeholder/> </child> @@ -188,6 +216,8 @@ </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> @@ -196,6 +226,7 @@ <child type="label"> <object class="GtkLabel" id="label2"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes"><b>Filter</b></property> <property name="use_markup">True</property> @@ -204,6 +235,7 @@ </object> <packing> <property name="expand">False</property> + <property name="fill">True</property> <property name="position">3</property> </packing> </child> @@ -212,11 +244,11 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="spacing">6</property> - <signal name="activate" handler="on_expander_activate"/> + <signal name="activate" handler="on_expander_activate" swapped="no"/> <child> <object class="GtkVBox" id="input_vbox"> <property name="visible">True</property> - <property name="orientation">vertical</property> + <property name="can_focus">False</property> <property name="spacing">6</property> <child> <object class="GtkScrolledWindow" id="scrolledwindow42"> @@ -234,23 +266,28 @@ </child> </object> <packing> + <property name="expand">False</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkHButtonBox" id="hbuttonbox31"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="spacing">6</property> <property name="layout_style">end</property> <child> <object class="GtkButton" id="iq_button"> <property name="label" translatable="yes" comments="Info/Query: all(?) jabber xml start with <iq Leaving it _IQ is not a bad idea unless you are sure your lang has this somehow else translated (NOTE: xml still will still say <iq in your language (of course))">_IQ</property> + <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="tooltip_text" translatable="yes">Info/Query</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> - <signal name="clicked" handler="on_iq_button_clicked"/> + <signal name="clicked" handler="on_iq_button_clicked" swapped="no"/> </object> <packing> <property name="expand">False</property> @@ -261,11 +298,13 @@ <child> <object class="GtkButton" id="presence_button"> <property name="label" translatable="yes">_Presence</property> + <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property>