comboboxentry is less high than button in disco. Fixes #2017

This commit is contained in:
Yann Leboulanger 2006-06-09 09:00:03 +00:00
parent 99de39fcaf
commit 18f2175f11
1 changed files with 49 additions and 36 deletions

View File

@ -2,6 +2,7 @@
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd"> <!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
<glade-interface> <glade-interface>
<widget class="GtkWindow" id="service_discovery_window"> <widget class="GtkWindow" id="service_discovery_window">
<property name="border_width">6</property> <property name="border_width">6</property>
<property name="title" translatable="yes"></property> <property name="title" translatable="yes"></property>
@ -19,6 +20,7 @@
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property> <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="focus_on_map">True</property> <property name="focus_on_map">True</property>
<property name="urgency_hint">False</property>
<signal name="destroy" handler="on_service_discovery_window_destroy" last_modification_time="Sun, 27 Mar 2005 18:05:35 GMT"/> <signal name="destroy" handler="on_service_discovery_window_destroy" last_modification_time="Sun, 27 Mar 2005 18:05:35 GMT"/>
<child> <child>
@ -90,40 +92,18 @@ Agent JID - node</property>
</child> </child>
<child> <child>
<widget class="GtkHBox" id="address_hbox"> <widget class="GtkTable" id="table1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="n_rows">3</property>
<property name="n_columns">3</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">6</property> <property name="row_spacing">0</property>
<property name="column_spacing">6</property>
<child>
<widget class="GtkLabel" id="label224">
<property name="visible">True</property>
<property name="label" translatable="yes">_Address:</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="mnemonic_widget">address_comboboxentry</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child> <child>
<widget class="GtkComboBoxEntry" id="address_comboboxentry"> <widget class="GtkComboBoxEntry" id="address_comboboxentry">
<property name="visible">True</property> <property name="visible">True</property>
<property name="items" translatable="yes"></property>
<property name="add_tearoffs">False</property> <property name="add_tearoffs">False</property>
<property name="has_frame">True</property> <property name="has_frame">True</property>
<property name="focus_on_click">True</property> <property name="focus_on_click">True</property>
@ -131,9 +111,11 @@ Agent JID - node</property>
<signal name="key_press_event" handler="on_address_comboboxentry_key_press_event" last_modification_time="Tue, 29 Mar 2005 17:41:10 GMT"/> <signal name="key_press_event" handler="on_address_comboboxentry_key_press_event" last_modification_time="Tue, 29 Mar 2005 17:41:10 GMT"/>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="left_attach">1</property>
<property name="expand">True</property> <property name="right_attach">2</property>
<property name="fill">True</property> <property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="y_options">fill</property>
</packing> </packing>
</child> </child>
@ -212,9 +194,41 @@ Agent JID - node</property>
</child> </child>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="left_attach">2</property>
<property name="expand">False</property> <property name="right_attach">3</property>
<property name="fill">False</property> <property name="top_attach">0</property>
<property name="bottom_attach">3</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label224">
<property name="visible">True</property>
<property name="label" translatable="yes">_Address:</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="mnemonic_widget">address_comboboxentry</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">0</property>
<property name="bottom_attach">3</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing> </packing>
</child> </child>
</widget> </widget>
@ -227,7 +241,6 @@ Agent JID - node</property>
<child> <child>
<widget class="GtkScrolledWindow" id="services_scrollwin"> <widget class="GtkScrolledWindow" id="services_scrollwin">
<property name="height_request">200</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="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property> <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
@ -237,7 +250,6 @@ Agent JID - node</property>
<child> <child>
<widget class="GtkTreeView" id="services_treeview"> <widget class="GtkTreeView" id="services_treeview">
<property name="height_request">150</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="headers_visible">False</property> <property name="headers_visible">False</property>
@ -374,4 +386,5 @@ Agent JID - node</property>
</widget> </widget>
</child> </child>
</widget> </widget>
</glade-interface> </glade-interface>