[Goodies-commits] r2703 - in verve-plugin/trunk: . panel-plugin
Jannis Pohlmann
jannis at xfce.org
Tue Apr 24 17:03:29 CEST 2007
Author: jannis
Date: 2007-04-24 15:03:29 +0000 (Tue, 24 Apr 2007)
New Revision: 2703
Modified:
verve-plugin/trunk/ChangeLog
verve-plugin/trunk/panel-plugin/verve-history.c
verve-plugin/trunk/panel-plugin/verve-plugin.c
Log:
* panel-plugin/verve-plugin.c: This bug has been driving me
crazy for months. It caused Verve to crash when entering
a command before the completion was initialized.
* panel-plugin/verve-history.c: Set the default history length
to 50 instead of 25.
Modified: verve-plugin/trunk/ChangeLog
===================================================================
--- verve-plugin/trunk/ChangeLog 2007-04-22 10:03:57 UTC (rev 2702)
+++ verve-plugin/trunk/ChangeLog 2007-04-24 15:03:29 UTC (rev 2703)
@@ -1,3 +1,11 @@
+2007-04-24 Jannis Pohlmann <jannis at xfce.org>
+
+ * panel-plugin/verve-plugin.c: This bug has been driving me
+ crazy for months. It caused Verve to crash when entering
+ a command before the completion was initialized.
+ * panel-plugin/verve-history.c: Set the default history length
+ to 50 instead of 25.
+
2007-01-17 Jannis Pohlmann <jannis at xfce.org>
* autogen.sh, configure.in.in, po/LINGUAS: Add LINGUAS support,
Modified: verve-plugin/trunk/panel-plugin/verve-history.c
===================================================================
--- verve-plugin/trunk/panel-plugin/verve-history.c 2007-04-22 10:03:57 UTC (rev 2702)
+++ verve-plugin/trunk/panel-plugin/verve-history.c 2007-04-24 15:03:29 UTC (rev 2703)
@@ -46,7 +46,7 @@
*
*********************************************************************/
-static gint history_length = 25;
+static gint history_length = 50;
static GList *history = NULL;
Modified: verve-plugin/trunk/panel-plugin/verve-plugin.c
===================================================================
--- verve-plugin/trunk/panel-plugin/verve-plugin.c 2007-04-22 10:03:57 UTC (rev 2702)
+++ verve-plugin/trunk/panel-plugin/verve-plugin.c 2007-04-24 15:03:29 UTC (rev 2703)
@@ -106,8 +106,6 @@
for (iter = g_list_first (history); iter != NULL; iter = g_list_next (iter))
items = g_list_insert_sorted (items, iter->data, (GCompareFunc) g_utf8_collate);
- verve->completion = g_completion_new (NULL);
-
/* Add merged items to completion */
if (G_LIKELY (history != NULL))
g_completion_add_items (verve->completion, items);
@@ -518,7 +516,7 @@
/* Initialize completion variables */
verve->history_current = NULL;
- verve->completion = NULL;
+ verve->completion = g_completion_new (NULL);
verve->n_complete = 0;
verve->size = 20;
verve->history_length = 25;
More information about the Goodies-commits
mailing list