From 62cac3dcf9bddaa348f8c0fbebc4b929a16ca221 Mon Sep 17 00:00:00 2001 From: hiro Date: Mon, 11 Dec 2006 05:54:48 +0000 Subject: don't make GtkTextView auto-expanded in prefs dialogs. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1411 ee746299-78ed-0310-b773-934348b2243d --- src/prefs_account_dialog.c | 2 +- src/prefs_common_dialog.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/prefs_account_dialog.c b/src/prefs_account_dialog.c index 6935f14e..77b8b63d 100644 --- a/src/prefs_account_dialog.c +++ b/src/prefs_account_dialog.c @@ -1267,7 +1267,7 @@ static void prefs_account_compose_create(void) gtk_widget_show (sig_text); gtk_container_add (GTK_CONTAINER (sigtext_scrwin), sig_text); gtk_text_view_set_editable (GTK_TEXT_VIEW (sig_text), TRUE); - gtk_widget_set_size_request(sig_text, -1, 60); + gtk_widget_set_size_request(sig_text, DEFAULT_ENTRY_WIDTH, 60); sig_hbox = gtk_hbox_new (FALSE, 8); gtk_widget_show (sig_hbox); diff --git a/src/prefs_common_dialog.c b/src/prefs_common_dialog.c index 06435063..b8c27d32 100644 --- a/src/prefs_common_dialog.c +++ b/src/prefs_common_dialog.c @@ -1236,7 +1236,7 @@ static GtkWidget *prefs_quote_create(void) gtk_widget_show (text_quotefmt); gtk_container_add(GTK_CONTAINER(scrolledwin_quotefmt), text_quotefmt); gtk_text_view_set_editable (GTK_TEXT_VIEW (text_quotefmt), TRUE); - gtk_widget_set_size_request(text_quotefmt, -1, 60); + gtk_widget_set_size_request(text_quotefmt, DEFAULT_ENTRY_WIDTH, 60); /* forward */ @@ -1280,7 +1280,7 @@ static GtkWidget *prefs_quote_create(void) gtk_container_add(GTK_CONTAINER(scrolledwin_quotefmt), text_fw_quotefmt); gtk_text_view_set_editable (GTK_TEXT_VIEW (text_fw_quotefmt), TRUE); - gtk_widget_set_size_request (text_fw_quotefmt, -1, 60); + gtk_widget_set_size_request (text_fw_quotefmt, DEFAULT_ENTRY_WIDTH, 60); hbox1 = gtk_hbox_new (FALSE, 32); gtk_widget_show (hbox1); -- cgit v1.2.3