str = ttrss_get_headline_content(headline);
- if (headline->unread)
- ttrss_set_article_unread(headline->id, 0);
-
if (str)
web_load(str);
else
web_load("");
+ if (headline->unread) {
+ ttrss_set_article_unread(headline->id, 0);
+ headline->unread = 0;
+ }
+
+ gtk_list_store_set(GTK_LIST_STORE(model),
+ &iter,
+ 0, headline->title,
+ -1);
+
gtk_tree_path_free(path);
}
strcat(session_url, "/api/");
free(tmp);
-
rq = create_op("login");
json_object_object_add(rq, "user", json_object_new_string(user));
json_object_object_add(rq,