aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorSankar P <psankar@novell.com>2007-07-16 18:46:42 +0800
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2007-07-16 18:46:42 +0800
commitd79a01ea94fba94da66278208695c8b4366a1fa7 (patch)
treec0890baee399963d67f9247b5876978eb31c5d6b /mail
parenta86707ea39c2e71529675872757f00b49469e039 (diff)
downloadgsoc2013-evolution-d79a01ea94fba94da66278208695c8b4366a1fa7.tar.gz
gsoc2013-evolution-d79a01ea94fba94da66278208695c8b4366a1fa7.tar.zst
gsoc2013-evolution-d79a01ea94fba94da66278208695c8b4366a1fa7.zip
Provide support for keeping your signature on top while replying.
2007-07-16 Sankar P <psankar@novell.com> Provide support for keeping your signature on top while replying. svn path=/trunk/; revision=33808
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/em-composer-prefs.c4
-rw-r--r--mail/em-composer-prefs.h1
-rw-r--r--mail/mail-config.glade115
4 files changed, 106 insertions, 22 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 5fa138fa4f..df105d97a1 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+2007-07-16 Sankar P <psankar@novell.com>
+
+ * em-composer-prefs.c: (em_composer_prefs_construct):
+ * em-composer-prefs.h:
+ * mail-config.glade:
+ Provide support for keeping your signature on top
+ while replying.
+
2007-07-11 Srinivasa Ragavan <sragavan@novell.com>
* em-format-html-display.c: (efhd_attachment_button): Take warning
diff --git a/mail/em-composer-prefs.c b/mail/em-composer-prefs.c
index b37a3ff628..deed25bd3b 100644
--- a/mail/em-composer-prefs.c
+++ b/mail/em-composer-prefs.c
@@ -924,6 +924,10 @@ em_composer_prefs_construct (EMComposerPrefs *prefs)
toggle_button_init (prefs, prefs->auto_smileys, FALSE,
"/apps/evolution/mail/composer/magic_smileys");
+ prefs->top_signature = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui, "chkTopSignature"));
+ toggle_button_init (prefs, prefs->top_signature, FALSE,
+ "/apps/evolution/mail/composer/top_signature");
+
prefs->spell_check = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui, "chkEnableSpellChecking"));
toggle_button_init (prefs, prefs->spell_check, FALSE,
"/apps/evolution/mail/composer/inline_spelling");
diff --git a/mail/em-composer-prefs.h b/mail/em-composer-prefs.h
index ecdbb22f3f..2a2e80cbd1 100644
--- a/mail/em-composer-prefs.h
+++ b/mail/em-composer-prefs.h
@@ -80,6 +80,7 @@ struct _EMComposerPrefs {
/* Forwards and Replies */
struct _GtkOptionMenu *forward_style;
struct _GtkOptionMenu *reply_style;
+ struct _GtkToggleButton *top_signature;
/* Keyboard Shortcuts */
struct _GtkOptionMenu *shortcuts_type;
diff --git a/mail/mail-config.glade b/mail/mail-config.glade
index 36defd6626..2266bb5e50 100644
--- a/mail/mail-config.glade
+++ b/mail/mail-config.glade
@@ -2787,9 +2787,9 @@ For example: &quot;Work&quot; or &quot;Personal&quot;</property>
<widget class="Custom" id="sent_button">
<property name="visible">True</property>
<property name="creation_function">em_account_editor_folder_selector_button_new</property>
+ <property name="string1">Select Sent Folder</property>
<property name="int1">0</property>
<property name="int2">0</property>
- <property name="string1" translatable="yes">Select Sent Folder</property>
<property name="last_modification_time">Tue, 14 Dec 2004 17:07:09 GMT</property>
</widget>
<packing>
@@ -2806,9 +2806,9 @@ For example: &quot;Work&quot; or &quot;Personal&quot;</property>
<widget class="Custom" id="drafts_button">
<property name="visible">True</property>
<property name="creation_function">em_account_editor_folder_selector_button_new</property>
+ <property name="string1">Select Drafts Folder</property>
<property name="int1">0</property>
<property name="int2">0</property>
- <property name="string1" translatable="yes">Select Drafts Folder</property>
<property name="last_modification_time">Tue, 14 Dec 2004 17:07:02 GMT</property>
</widget>
<packing>
@@ -4458,17 +4458,12 @@ For example: &quot;Work&quot; or &quot;Personal&quot;</property>
</widget>
</child>
</widget>
- </child>
+ </child>
</widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
</child>
<child>
- <widget class="GtkButton" id="cmdAccountDelete">
+ <widget class="GtkButton" id="cmdAccountDelete">
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can_default">True</property>
@@ -4477,12 +4472,12 @@ For example: &quot;Work&quot; or &quot;Personal&quot;</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
- </widget>
+ </widget>
</child>
<child>
- <widget class="GtkButton" id="cmdAccountDefault">
- <property name="width_request">89</property>
+ <widget class="GtkButton" id="cmdAccountDefault">
+ <property name="width_request">89</property>
<property name="height_request">36</property>
<property name="visible">True</property>
<property name="sensitive">False</property>
@@ -4492,11 +4487,11 @@ For example: &quot;Work&quot; or &quot;Personal&quot;</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
- </widget>
+ </widget>
</child>
<child>
- <widget class="GtkButton" id="cmdAccountAble">
+ <widget class="GtkButton" id="cmdAccountAble">
<property name="width_request">89</property>
<property name="height_request">36</property>
<property name="visible">True</property>
@@ -4507,20 +4502,22 @@ For example: &quot;Work&quot; or &quot;Personal&quot;</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
- </widget>
+ </widget>
</child>
-
</widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
</child>
-
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">True</property>
- </packing>
+ </packing>
</child>
-
</widget>
</child>
</widget>
@@ -7083,7 +7080,7 @@ For example: &quot;Work&quot; or &quot;Personal&quot;</property>
<widget class="GtkVBox" id="vboxBehavior">
<property name="visible">True</property>
<property name="homogeneous">False</property>
- <property name="spacing">6</property>
+ <property name="spacing">8</property>
<child>
<widget class="GtkCheckButton" id="chkSendHTML">
@@ -7212,14 +7209,14 @@ For example: &quot;Work&quot; or &quot;Personal&quot;</property>
<property name="use_underline">True</property>
</widget>
</child>
- <child>
+
+ <child>
<widget class="GtkMenuItem" id="convertwidget50">
<property name="visible">True</property>
<property name="label" translatable="yes">Inline original message (Outlook style)</property>
<property name="use_underline">True</property>
</widget>
</child>
-
</widget>
</child>
</widget>
@@ -7403,6 +7400,80 @@ For example: &quot;Work&quot; or &quot;Personal&quot;</property>
<property name="fill">True</property>
</packing>
</child>
+
+ <child>
+ <widget class="GtkHBox" id="hbox241">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">2</property>
+
+ <child>
+ <widget class="GtkVBox" id="vbox207">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">8</property>
+
+ <child>
+ <widget class="GtkLabel" id="label588">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">&lt;b&gt;Top Posting Option&lt;/b&gt; (Not Recommended)</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">True</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.479999989271</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</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>
+ <widget class="GtkCheckButton" id="chkTopSignature">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">_Keep Signature above the original message on replying</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <property name="active">False</property>
+ <property name="inconsistent">False</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <placeholder/>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
</widget>
<packing>
<property name="left_attach">0</property>