aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/prefs_common_dialog.c13
3 files changed, 22 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 254bf162..464dca96 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-28
+
+ * src/prefs_common_dialog.c: fixed a bug that the quote description
+ dialog never appeared again after closing it with close button.
+
2008-02-15
* libsylph/socket.c:
diff --git a/ChangeLog.ja b/ChangeLog.ja
index cfa95a07..16fe3d65 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,3 +1,8 @@
+2008-02-28
+
+ * src/prefs_common_dialog.c: 引用の記号の説明ダイアログを閉じる
+ ボタンで閉じた後二度と現れなくなるバグを修正。
+
2008-02-15
* libsylph/socket.c:
diff --git a/src/prefs_common_dialog.c b/src/prefs_common_dialog.c
index 7c8bed77..8c672bd3 100644
--- a/src/prefs_common_dialog.c
+++ b/src/prefs_common_dialog.c
@@ -584,6 +584,9 @@ static gboolean prefs_quote_description_key_pressed
(GtkWidget *widget,
GdkEventKey *event,
gpointer data);
+static gboolean prefs_quote_description_deleted (GtkWidget *widget,
+ GdkEventAny *event,
+ gpointer data);
static void prefs_quote_colors_dialog (void);
static void prefs_quote_colors_dialog_create (void);
@@ -3348,7 +3351,7 @@ static void prefs_quote_description_create(void)
(G_OBJECT(quote_desc_win), "key_press_event",
G_CALLBACK(prefs_quote_description_key_pressed), NULL);
g_signal_connect(G_OBJECT(quote_desc_win), "delete_event",
- G_CALLBACK(gtk_main_quit), NULL);
+ G_CALLBACK(prefs_quote_description_deleted), NULL);
gtk_widget_show_all(vbox);
}
@@ -3362,6 +3365,14 @@ static gboolean prefs_quote_description_key_pressed(GtkWidget *widget,
return FALSE;
}
+static gboolean prefs_quote_description_deleted(GtkWidget *widget,
+ GdkEventAny *event,
+ gpointer data)
+{
+ gtk_main_quit();
+ return TRUE;
+}
+
static void prefs_keybind_select(void)
{
GtkWidget *window;