aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html-display.c
diff options
context:
space:
mode:
authorRohini S <srohini@novell.com>2006-01-16 14:41:29 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-01-16 14:41:29 +0800
commit8520abf54cedccb6d98eae462c42b89d23b418f3 (patch)
treecd6b9fb60c3d881df8dca29b5aa7b5612dd0eb8b /mail/em-format-html-display.c
parent16bcca2ec81199ff2460f35f9473349e7634ee40 (diff)
downloadgsoc2013-evolution-8520abf54cedccb6d98eae462c42b89d23b418f3.tar
gsoc2013-evolution-8520abf54cedccb6d98eae462c42b89d23b418f3.tar.gz
gsoc2013-evolution-8520abf54cedccb6d98eae462c42b89d23b418f3.tar.bz2
gsoc2013-evolution-8520abf54cedccb6d98eae462c42b89d23b418f3.tar.lz
gsoc2013-evolution-8520abf54cedccb6d98eae462c42b89d23b418f3.tar.xz
gsoc2013-evolution-8520abf54cedccb6d98eae462c42b89d23b418f3.tar.zst
gsoc2013-evolution-8520abf54cedccb6d98eae462c42b89d23b418f3.zip
** Fixes bug #246257
2006-01-12 Rohini S <srohini@novell.com> ** 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
Diffstat (limited to 'mail/em-format-html-display.c')
-rw-r--r--mail/em-format-html-display.c3
1 files changed, 3 insertions, 0 deletions
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