aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-search.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 3a6da6ec05..85decd212e 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-14 Duncan Mak <duncan@ximian.com>
+
+ * mail-search.c (mail_search_construct): set the dialog's
+ window_icon to jimmac's new find_message.xpm.
+
2001-05-13 Iain Holmes <iain@ximian.com>
* Makefile.am: Make the LDADD line longer so it actually compiles everything
diff --git a/mail/mail-search.c b/mail/mail-search.c
index 7c19ed393a..870d40a0a8 100644
--- a/mail/mail-search.c
+++ b/mail/mail-search.c
@@ -34,6 +34,7 @@
#include <gal/widgets/e-unicode.h>
#include <gtkhtml/gtkhtml-search.h>
#include <gtkhtml/htmlengine.h>
+#include <libgnomeui/gnome-window-icon.h>
static GtkObjectClass *parent_class;
@@ -187,7 +188,8 @@ begin_cb (ESearchingTokenizer *st, gchar *foo, MailSearch *ms)
#ifdef SUBJECT_IN_DIALOG
if (ms->mail->current_message->subject && *ms->mail->current_message->subject) {
- gchar *msg_subject = e_utf8_to_gtk_string (GTK_WIDGET (ms->msg_label), ms->mail->current_message->subject);
+ gchar *msg_subject = e_utf8_to_gtk_string (GTK_WIDGET (ms->msg_label),
+ ms->mail->current_message->subject);
gtk_label_set_text (GTK_LABEL (ms->msg_label), msg_subject); /* Use the converted string */
g_free (msg_subject);
} else {
@@ -316,6 +318,7 @@ mail_search_construct (MailSearch *ms, MailDisplay *mail)
gtk_widget_grab_focus (entry); /* Give focus to entry by default */
gnome_dialog_set_default (GNOME_DIALOG (ms), 0);
gnome_dialog_editable_enters (GNOME_DIALOG (ms), GTK_EDITABLE(entry)); /* Make <enter> run the search */
+ gnome_window_icon_set_from_file (GTK_WINDOW (GNOME_DIALOG (ms)), EVOLUTION_ICONSDIR "/find-message.xpm");
#ifdef SUBJECT_IN_DIALOG
gtk_widget_show_all (msg_hbox);