summaryrefslogtreecommitdiff
path: root/src/completion.c
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2010-08-15 18:55:56 +0200
committerportix <portix@gmx.net>2010-08-15 18:55:56 +0200
commitc79d087a229030a3199163357d8217f123d4f2bd (patch)
tree1460859b70ff15e49a2f91ef29920a9c1c25d6e0 /src/completion.c
parentf3102ebe0b4e77b795c519b5e6fae3b242b73fc7 (diff)
downloaddwb-c79d087a229030a3199163357d8217f123d4f2bd.zip
block javascript
--HG-- branch : script_blocker
Diffstat (limited to 'src/completion.c')
-rw-r--r--src/completion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/completion.c b/src/completion.c
index 3b0cd65e..f602ee76 100644
--- a/src/completion.c
+++ b/src/completion.c
@@ -204,7 +204,7 @@ dwb_comp_get_bookmark_completion() {
/* dwb_completion_get_settings return: GList *Completions{{{*/
static GList *
dwb_comp_get_settings_completion() {
- GList *l = g_hash_table_get_values(dwb.settings);
+ GList *l = g_hash_table_get_values(dwb.state.setting_apply == Global ? dwb.settings : CURRENT_VIEW()->setting);
l = g_list_sort(l, (GCompareFunc)dwb_util_web_settings_sort_first);
const gchar *input = GET_TEXT();
GList *list = NULL;