url="http://www.claws-mail.org/clawsker.php">Clawsker page</ulink>.
</para>
<variablelist>
+ <varlistentry>
+ <term><literal>address_search_wildcard</literal></term>
+ <listitem>
+ <para>
+ TAB-address completion in the Compose window will match any part of the
+ string (1) or just the start of the string (0).
+ </para>
+ </listitem>
+ </varlistentry>
<varlistentry>
<term><literal>addressbook_use_editaddress_dialog</literal></term>
<listitem>
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><literal>folder_search_wildcard</literal></term>
+ <listitem>
+ <para>
+ The type-ahead function in the Select Folder window will match any
+ part of the folder name (1) or just the start of the folder name (0).
+ </para>
+ </listitem>
+ </varlistentry>
<varlistentry>
<term><literal>folderview_vscrollbar_policy</literal></term>
<listitem>
static void init_all(void)
{
g_completion = g_completion_new(completion_func);
- g_completion_set_compare(g_completion, addr_completion_func);
+ if (prefs_common.address_search_wildcard)
+ g_completion_set_compare(g_completion, addr_completion_func);
cm_return_if_fail(g_completion != NULL);
}
gtk_tree_view_set_enable_tree_lines(GTK_TREE_VIEW(treeview), FALSE);
gtk_tree_view_set_search_column(GTK_TREE_VIEW(treeview),
FOLDERSEL_FOLDERNAME);
- gtk_tree_view_set_search_equal_func(GTK_TREE_VIEW(treeview),
- foldersel_search_name_func, NULL, NULL);
+ if (prefs_common.folder_search_wildcard)
+ gtk_tree_view_set_search_equal_func(GTK_TREE_VIEW(treeview),
+ foldersel_search_name_func, NULL, NULL);
selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(treeview));
gtk_tree_selection_set_mode(selection, GTK_SELECTION_BROWSE);
{"diff_hunk_color", "#a52a2a", &prefs_common.diff_hunk_color, P_COLOR,
NULL, NULL, NULL},
+ {"folder_search_wildcard", "TRUE", &prefs_common.folder_search_wildcard, P_BOOL,
+ NULL, NULL, NULL},
+ {"address_search_wildcard", "TRUE", &prefs_common.address_search_wildcard, P_BOOL,
+ NULL, NULL, NULL},
+
{NULL, NULL, NULL, P_OTHER, NULL, NULL, NULL}
};
gulong diff_added_color;
gulong diff_deleted_color;
gulong diff_hunk_color;
+
+ gboolean folder_search_wildcard;
+ gboolean address_search_wildcard;
};
extern PrefsCommon prefs_common;