[evolution-rss/evolution-rss-0-2-0] print imported feed url in case cannot lookup channel name
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-rss/evolution-rss-0-2-0] print imported feed url in case cannot lookup channel name
- Date: Thu, 20 Jan 2011 09:39:26 +0000 (UTC)
commit 1a161d69341064d027ebb6cfd9fc1338b6091b77
Author: Lucian Langa <lucilanga gnome org>
Date: Thu Jan 20 08:33:08 2011 +0200
print imported feed url in case cannot lookup channel name
src/dbus.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/dbus.c b/src/dbus.c
index 4387f7c..f9dd2f2 100644
--- a/src/dbus.c
+++ b/src/dbus.c
@@ -122,7 +122,9 @@ filter_function (DBusConnection *connection, DBusMessage *message, void *user_da
}
if (setup_feed(feed)) {
gchar *msg = g_strdup_printf(_("New feed imported: %s"),
- lookup_chn_name_by_url(feed->feed_url));
+ lookup_chn_name_by_url(feed->feed_url)?
+ lookup_chn_name_by_url(feed->feed_url):
+ feed->feed_url);
taskbar_push_message(msg);
g_free(msg);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]