[xchat-gnome] Bug 536916 – Pressing "Enter" in the middle of editing channel topic truncates it.
- From: Ritesh Khadgaray <rkhadgaray src gnome org>
- To: svn-commits-list gnome org
- Subject: [xchat-gnome] Bug 536916 – Pressing "Enter" in the middle of editing channel topic truncates it.
- Date: Thu, 18 Jun 2009 05:42:56 -0400 (EDT)
commit 6d1a939a14de918de4a79c010d82796f8035bcfa
Author: Josselin Mouette <^Css malsain org>
Date: Thu Jun 18 15:11:33 2009 +0530
Bug 536916 â?? Pressing "Enter" in the middle of editing channel topic truncates it.
src/fe-gnome/topic-label.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/fe-gnome/topic-label.c b/src/fe-gnome/topic-label.c
index a7d1883..977d29c 100644
--- a/src/fe-gnome/topic-label.c
+++ b/src/fe-gnome/topic-label.c
@@ -315,6 +315,7 @@ static void
topic_entry_activate (GtkTextBuffer *textbuffer, GtkTextIter *arg1, gchar *text, gint len, GtkDialog *dialog)
{
if (strncmp (text, "\n", len) == 0) {
+ g_signal_stop_emission_by_name (G_OBJECT (textbuffer), "insert-text");
gtk_dialog_response (dialog, GTK_RESPONSE_OK);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]