Added titles to suggestions
This commit is contained in:
parent
5b70b6b6b5
commit
aca39b94e7
11
src/mdiary.c
11
src/mdiary.c
@ -488,4 +488,15 @@ void mdiary_add_entry_to_store(GtkListStore *entryListStore,
|
|||||||
-1);
|
-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tag_compare_struct.result = FALSE;
|
||||||
|
|
||||||
|
tag_compare_struct.text = title;
|
||||||
|
gtk_tree_model_foreach(GTK_TREE_MODEL(autoCompletion), mdiary_test_duplicate, &tag_compare_struct);
|
||||||
|
if (!tag_compare_struct.result) {
|
||||||
|
gtk_list_store_append(autoCompletion, &iter);
|
||||||
|
gtk_list_store_set(autoCompletion, &iter,
|
||||||
|
0, title,
|
||||||
|
-1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user