From b3d81b588fc6baffda98e263752dd3cc9249f124 Mon Sep 17 00:00:00 2001 From: Duncan Mak Date: Mon, 14 May 2001 22:55:01 +0000 Subject: set the dialog's window_icon to jimmac's new find_message.xpm. 2001-05-14 Duncan Mak * mail-search.c (mail_search_construct): set the dialog's window_icon to jimmac's new find_message.xpm. svn path=/trunk/; revision=9808 --- mail/ChangeLog | 5 +++++ mail/mail-search.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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 + + * mail-search.c (mail_search_construct): set the dialog's + window_icon to jimmac's new find_message.xpm. + 2001-05-13 Iain Holmes * 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 #include #include +#include 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 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); -- cgit v1.2.3