aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/imap-features/imap-headers.glade
diff options
context:
space:
mode:
authorGilles Dartiguelongue <gdartigu@src.gnome.org>2007-11-08 21:36:03 +0800
committerGilles Dartiguelongue <gdartigu@src.gnome.org>2007-11-08 21:36:03 +0800
commit78b09515e67fdd065d53b98a993671336a30e54b (patch)
tree1bec30025f5d7839ce2e0b8d721973bbcab04aa4 /plugins/imap-features/imap-headers.glade
parente57bc4e409481165726cd503efd2405cd778c534 (diff)
downloadgsoc2013-evolution-78b09515e67fdd065d53b98a993671336a30e54b.tar
gsoc2013-evolution-78b09515e67fdd065d53b98a993671336a30e54b.tar.gz
gsoc2013-evolution-78b09515e67fdd065d53b98a993671336a30e54b.tar.bz2
gsoc2013-evolution-78b09515e67fdd065d53b98a993671336a30e54b.tar.lz
gsoc2013-evolution-78b09515e67fdd065d53b98a993671336a30e54b.tar.xz
gsoc2013-evolution-78b09515e67fdd065d53b98a993671336a30e54b.tar.zst
gsoc2013-evolution-78b09515e67fdd065d53b98a993671336a30e54b.zip
Remove useless GtkVBox, remove the useless popup to have an inline header
* imap-headers.c: (imap_headers_abort), (imap_headers_commit), (epif_header_is_valid), (epif_add_sensitivity), (epif_add_header), (epif_remove_header_clicked), (epif_fetch_all_headers_toggled), (epif_entry_changed), (org_gnome_imap_headers): * imap-headers.glade: Remove useless GtkVBox, remove the useless popup to have an inline header entry field, concentrate all UI elements in a structure, added a prefix to relevant functions. svn path=/trunk/; revision=34516
Diffstat (limited to 'plugins/imap-features/imap-headers.glade')
-rw-r--r--plugins/imap-features/imap-headers.glade115
1 files changed, 67 insertions, 48 deletions
diff --git a/plugins/imap-features/imap-headers.glade b/plugins/imap-features/imap-headers.glade
index 0f910cc535..542decd608 100644
--- a/plugins/imap-features/imap-headers.glade
+++ b/plugins/imap-features/imap-headers.glade
@@ -234,26 +234,58 @@ You can ignore this if you choose &quot;All Headers&quot;.</property>
<property name="spacing">5</property>
<child>
- <widget class="GtkScrolledWindow" id="scrolledwindow1">
+ <widget class="GtkVBox" id="customHeaderVBox">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="shadow_type">GTK_SHADOW_IN</property>
- <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">6</property>
<child>
- <widget class="GtkTreeView" id="custHeaderTree">
+ <widget class="GtkEntry" id="customHeaderEntry">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="headers_visible">False</property>
- <property name="rules_hint">False</property>
- <property name="reorderable">False</property>
- <property name="enable_search">True</property>
- <property name="fixed_height_mode">False</property>
- <property name="hover_selection">False</property>
- <property name="hover_expand">False</property>
+ <property name="editable">True</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"></property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char">*</property>
+ <property name="activates_default">False</property>
</widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkScrolledWindow" id="scrolledwindow1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="shadow_type">GTK_SHADOW_IN</property>
+ <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+
+ <child>
+ <widget class="GtkTreeView" id="custHeaderTree">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="headers_visible">False</property>
+ <property name="rules_hint">False</property>
+ <property name="reorderable">False</property>
+ <property name="enable_search">True</property>
+ <property name="fixed_height_mode">False</property>
+ <property name="hover_selection">False</property>
+ <property name="hover_expand">False</property>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
</child>
</widget>
<packing>
@@ -264,50 +296,37 @@ You can ignore this if you choose &quot;All Headers&quot;.</property>
</child>
<child>
- <widget class="GtkVBox" id="vbox3">
+ <widget class="GtkVButtonBox" id="vbuttonbox1">
<property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
+ <property name="layout_style">GTK_BUTTONBOX_START</property>
+ <property name="spacing">6</property>
<child>
- <widget class="GtkVButtonBox" id="vbuttonbox1">
+ <widget class="GtkButton" id="addHeader">
<property name="visible">True</property>
- <property name="layout_style">GTK_BUTTONBOX_DEFAULT_STYLE</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkButton" id="addHeader">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-add</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- </widget>
- </child>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-add</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ </widget>
+ </child>
- <child>
- <widget class="GtkButton" id="removeHeader">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-remove</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- </widget>
- </child>
+ <child>
+ <widget class="GtkButton" id="removeHeader">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-remove</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
</widget>
- <packing>
- <property name="padding">4</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
</child>
</widget>
<packing>
- <property name="padding">0</property>
+ <property name="padding">4</property>
<property name="expand">False</property>
- <property name="fill">True</property>
+ <property name="fill">False</property>
</packing>
</child>
</widget>