commit c093e11acb24a2221a8b907e3b9694ea7301f56b
parent 605671c5d1f854d8c3fe83e220a3e5651ac9d4e0
Author: Andrej Kacian <ticho@claws-mail.org>
Date: Sat, 9 Apr 2016 15:28:06 +0200
Update passwordstore if RSSyl feed's URL gets changed.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/plugins/rssyl/rssyl_feed_props.c b/src/plugins/rssyl/rssyl_feed_props.c
@@ -52,8 +52,9 @@ static void rssyl_gtk_prop_store(RFolderItem *ritem)
url = (gchar *)gtk_entry_get_text(GTK_ENTRY(ritem->feedprop->url));
- if( strlen(url) ) {
+ if( strlen(url) && strcmp(ritem->url, url)) {
if( ritem->url ) {
+ rssyl_passwd_set(ritem, NULL);
g_free(ritem->url);
}
ritem->url = g_strdup(url);