From 8520abf54cedccb6d98eae462c42b89d23b418f3 Mon Sep 17 00:00:00 2001 From: Rohini S Date: Mon, 16 Jan 2006 06:41:29 +0000 Subject: ** Fixes bug #246257 2006-01-12 Rohini S ** Fixes bug #246257 * mail-dialogs.glade: Interchange of label and checkbox positions in Find message dialog * em-format-html-display.c: (efhd_update_matches), (em_format_html_display_search): Hide Matches Label on dialog open and Show Matches Label when required. Fixes bug 246257. svn path=/trunk/; revision=31193 --- mail/em-format-html-display.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/em-format-html-display.c') diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c index 56fd88b37c..5646246cac 100644 --- a/mail/em-format-html-display.c +++ b/mail/em-format-html-display.c @@ -496,6 +496,8 @@ efhd_update_matches(EMFormatHTMLDisplay *efhd) sprintf(str, fmt, e_searching_tokenizer_match_count(efhd->search_tok)); gtk_label_set_text((GtkLabel *)p->search_matches_label, str); } + gtk_widget_show((GtkWidget *)p->search_matches_label); + } static void @@ -613,6 +615,7 @@ em_format_html_display_search(EMFormatHTMLDisplay *efhd) g_signal_connect(p->search_case_check, "toggled", G_CALLBACK(efhd_search_case_toggled), efhd); g_signal_connect(p->search_dialog, "response", G_CALLBACK(efhd_search_response), efhd); gtk_widget_show((GtkWidget *)p->search_dialog); + gtk_widget_hide((GtkWidget *)p->search_matches_label); } void -- cgit v1.2.3