[Xfce4-commits] <midori:master> Verbosely explain how to use news feed URI
Christian Dywan
noreply at xfce.org
Tue May 25 18:34:01 CEST 2010
Updating branch refs/heads/master
to 59926ad49266ca34eb7ccf63d7eace3df05e4970 (commit)
from efc5344777cea8dac37c0c90551f900746b19ac0 (commit)
commit 59926ad49266ca34eb7ccf63d7eace3df05e4970
Author: Christian Dywan <christian at twotoasts.de>
Date: Tue May 25 18:26:47 2010 +0200
Verbosely explain how to use news feed URI
midori/midori-browser.c | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 2bf7c97..586a2ad 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -2459,7 +2459,17 @@ midori_browser_subscribe_to_news_feed (MidoriBrowser* browser,
if (browser->news_aggregator && *browser->news_aggregator)
sokoke_spawn_program (browser->news_aggregator, uri, FALSE);
else
- sokoke_message_dialog (GTK_MESSAGE_INFO, _("New feed"), uri);
+ {
+ gchar* description = g_strdup_printf ("%s\n\n%s", uri,
+ _("To use the above URI open a news aggregator. "
+ "There is usually a menu or button \"New Subscription\", "
+ "\"New News Feed\" or similar.\n"
+ "Alternatively go to Preferences, Applications in Midori, "
+ "and select a News Aggregator. Next time you click the "
+ "news feed icon, it will be added automatically."));
+ sokoke_message_dialog (GTK_MESSAGE_INFO, _("New feed"), description);
+ g_free (description);
+ }
}
static void
More information about the Xfce4-commits
mailing list