summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e727786)
raw | patch | inline | side by side (parent: e727786)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 24 May 2006 02:39:10 +0000 (02:39 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 24 May 2006 02:39:10 +0000 (02:39 +0000) |
src/widgets/toolbox.cpp | patch | blob | history |
index 3d33a972d993d0f7f3a15d6aeaab8e2898332ffb..c925b3a0ce47dbd53c4cfe64bd2bab7062090746 100644 (file)
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
sample_escaped = g_markup_escape_text (sample, -1);
std::stringstream markup;
- markup << family_escaped << " <span foreground='darkgray' font_family='" << family_escaped << "'>" << sample_escaped << "</span>";
+ markup << family_escaped << " <span foreground='darkgray' font_family='" << family_escaped << "'>" << sample_escaped << "</span>";
g_object_set (G_OBJECT (cell), "markup", markup.str().c_str(), NULL);
free (family);
GtkEntryCompletion *completion = gtk_entry_completion_new ();
gtk_entry_completion_set_model (completion, GTK_TREE_MODEL (Glib::unwrap(store)));
gtk_entry_completion_set_text_column (completion, 0);
- gtk_entry_completion_set_minimum_key_length (completion, 3); //3 characters minimum sounds reasonable
+ gtk_entry_completion_set_minimum_key_length (completion, 1);
g_object_set (G_OBJECT(completion), "inline-completion", TRUE, "popup-completion", TRUE, NULL);
gtk_entry_set_completion (GTK_ENTRY(entry), completion);
aux_toolbox_space (tbl, 1);