From 99a9cfc34ce8974625c3573345379c51647fae8e Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 22 Aug 2010 21:23:54 +0200 Subject: [PATCH] Show the Feed Panel after adding a new news feed --- extensions/feed-panel/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- 2.39.5