Show the Feed Panel after adding a new news feed
This commit is contained in:
parent
233ff2602d
commit
99a9cfc34c
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue