aboutsummaryrefslogtreecommitdiff
path: root/src/prefs_common.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-06-22 10:52:55 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-06-22 10:52:55 +0000
commita29eb7eb2646616d7a3702bcd05a0a11e7c973dc (patch)
tree70b5c1b3ad1eb0c8219d579f174538a1a62f6890 /src/prefs_common.c
parent846fb4282b146dd4957e53b7a85003dec40d9644 (diff)
fixed bugs of quote colors setting.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@364 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/prefs_common.c')
-rw-r--r--src/prefs_common.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/prefs_common.c b/src/prefs_common.c
index 132e151e..aadbfaa6 100644
--- a/src/prefs_common.c
+++ b/src/prefs_common.c
@@ -2792,7 +2792,6 @@ void prefs_quote_colors_dialog(void)
gtk_main();
gtk_widget_hide(quote_color_win);
- textview_update_message_colors();
main_window_reflect_prefs_all();
}
@@ -3027,7 +3026,10 @@ static gboolean quote_colors_set_dialog_key_pressed(GtkWidget *widget,
GdkEventKey *event,
gpointer data)
{
- gtk_widget_destroy(color_dialog);
+ if (event && event->keyval == GDK_Escape) {
+ gtk_widget_destroy(color_dialog);
+ return TRUE;
+ }
return FALSE;
}