diff options
author | Duncan Mak <duncan@ximian.com> | 2001-05-15 06:55:01 +0800 |
---|---|---|
committer | Duncan Mak <duncan@src.gnome.org> | 2001-05-15 06:55:01 +0800 |
commit | b3d81b588fc6baffda98e263752dd3cc9249f124 (patch) | |
tree | e27ee52dfc92132046cf6deb65c2ac4a664bb998 | |
parent | 21cf32a01cad90744ecd831302360e5f1e7ff422 (diff) | |
download | gsoc2013-evolution-b3d81b588fc6baffda98e263752dd3cc9249f124.tar.gz gsoc2013-evolution-b3d81b588fc6baffda98e263752dd3cc9249f124.tar.zst gsoc2013-evolution-b3d81b588fc6baffda98e263752dd3cc9249f124.zip |
set the dialog's window_icon to jimmac's new find_message.xpm.
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.
svn path=/trunk/; revision=9808
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-search.c | 5 |
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); |