]> spindle.queued.net Git - midori/commitdiff
Verbosely explain how to use news feed URI
authorChristian Dywan <christian@twotoasts.de>
Tue, 25 May 2010 16:26:47 +0000 (18:26 +0200)
committerChristian Dywan <christian@twotoasts.de>
Tue, 25 May 2010 16:32:56 +0000 (18:32 +0200)
midori/midori-browser.c

index 2bf7c97185fb05666ec340a342c1e97383c46026..586a2add309c01b526b1fc8d6362bf27f7e22ffe 100644 (file)
@@ -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