From: Christian Dywan Date: Sun, 22 Aug 2010 19:23:54 +0000 (+0200) Subject: Show the Feed Panel after adding a new news feed X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99a9cfc34ce8974625c3573345379c51647fae8e;p=midori Show the Feed Panel after adding a new news feed --- diff --git a/extensions/feed-panel/main.c b/extensions/feed-panel/main.c index 4695225e..2e46c784 100644 --- a/extensions/feed-panel/main.c +++ b/extensions/feed-panel/main.c @@ -336,7 +336,11 @@ secondary_icon_released_cb (GtkAction* action, if ((feed = feed_add_item (priv->feeds, uri))) { - /* FIXME: Let the user know that a feed was added */ + MidoriPanel* panel = katze_object_get_object (priv->browser, "panel"); + gint i = midori_panel_page_num (panel, priv->panel); + midori_panel_set_current_page (panel, i); + gtk_widget_show (panel); + g_object_unref (panel); feed_save_items (priv->extension, priv->feeds); update_feed (priv, KATZE_ITEM (feed)); return TRUE;