[xchat-gnome] Bug 579045 - tab completion hard-codes ":", ignores completion_suffix
- From: Ritesh Khadgaray <rkhadgaray src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [xchat-gnome] Bug 579045 - tab completion hard-codes ":", ignores completion_suffix
- Date: Fri, 23 Oct 2009 18:40:49 +0000 (UTC)
commit fe6f65460b15f7ebb79e0650bb0badbc924d8ccf
Author: Ritesh Khadgaray <khadgaray gmail com>
Date: Fri Oct 23 23:59:27 2009 +0530
Bug 579045 - tab completion hard-codes ":", ignores completion_suffix
xchat-gnome has hard coded ":" in tab_complete_nickname(), instead of using the
completion_suffix setting in xchat.conf. Which happens to default to ","
src/fe-gnome/text-entry.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/fe-gnome/text-entry.c b/src/fe-gnome/text-entry.c
index ecabb55..b7994df 100644
--- a/src/fe-gnome/text-entry.c
+++ b/src/fe-gnome/text-entry.c
@@ -563,7 +563,7 @@ tab_complete_nickname (GtkEntry *entry, gint start)
g_free (p);
pos = g_utf8_strlen ((char *) options->data, -1) + start;
} else {
- npt = g_strdup_printf ("%s: ", (char *) options->data);
+ npt = g_strdup_printf ("%s%s ", (char *) options->data, prefs.nick_suffix);
pos = g_utf8_strlen ((char *) options->data, -1) + 2;
}
} else {
@@ -577,7 +577,7 @@ tab_complete_nickname (GtkEntry *entry, gint start)
g_free (p);
pos = g_utf8_strlen ((char *) options->data, -1) + start;
} else {
- npt = g_strdup_printf ("%s: %s", (char *) options->data, at_cursor);
+ npt = g_strdup_printf ("%s%s %s", (char *) options->data, prefs.nick_suffix, at_cursor);
pos = g_utf8_strlen ((char *) options->data, -1) + 2;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]