gtksourceview r2281 - in branches/gtksourcecompletion: gtksourceview tests
- From: jessevdk svn gnome org
- To: svn-commits-list gnome org
- Subject: gtksourceview r2281 - in branches/gtksourcecompletion: gtksourceview tests
- Date: Mon, 13 Apr 2009 23:18:00 +0000 (UTC)
Author: jessevdk
Date: Mon Apr 13 23:18:00 2009
New Revision: 2281
URL: http://svn.gnome.org/viewvc/gtksourceview?rev=2281&view=rev
Log:
Fixed minor bug in updating header visibility and enabled devhelp in test again
Modified:
branches/gtksourcecompletion/gtksourceview/gtksourcecompletionmodel.c
branches/gtksourcecompletion/tests/completion-simple.c
Modified: branches/gtksourcecompletion/gtksourceview/gtksourcecompletionmodel.c
==============================================================================
--- branches/gtksourcecompletion/gtksourceview/gtksourcecompletionmodel.c (original)
+++ branches/gtksourcecompletion/gtksourceview/gtksourcecompletionmodel.c Mon Apr 13 23:18:00 2009
@@ -551,9 +551,6 @@
items = g_list_append (items, info);
}
}
-
- if (show && num > 1)
- break;
}
if (show && num > 1 && items != NULL)
Modified: branches/gtksourcecompletion/tests/completion-simple.c
==============================================================================
--- branches/gtksourcecompletion/tests/completion-simple.c (original)
+++ branches/gtksourcecompletion/tests/completion-simple.c Mon Apr 13 23:18:00 2009
@@ -193,7 +193,6 @@
prov_devhelp = gsc_provider_devhelp_new ();
gtk_source_completion_add_provider (comp, GTK_SOURCE_COMPLETION_PROVIDER (prov_test1));
- //gtk_source_completion_add_provider (comp, GTK_SOURCE_COMPLETION_PROVIDER (prov_devhelp));
icon = get_icon_from_theme (GTK_STOCK_OPEN);
prov_test1 = gsc_provider_test_new ("Open Files", icon);
@@ -204,6 +203,8 @@
}
gtk_source_completion_add_provider (comp, GTK_SOURCE_COMPLETION_PROVIDER (prov_test1));
+
+ gtk_source_completion_add_provider (comp, GTK_SOURCE_COMPLETION_PROVIDER (prov_devhelp));
}
int
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]