Bug 105091 - No option to quickly add a new feed to akregator
Summary: No option to quickly add a new feed to akregator
Status: RESOLVED FIXED
Alias: None
Product: akregator
Classification: Applications
Component: kontact plugin (show other bugs)
Version: 1.0
Platform: FreeBSD Ports FreeBSD
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-04 14:10 UTC by Uri Sharf
Modified: 2005-05-15 03:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uri Sharf 2005-05-04 14:10:27 UTC
Version:           1.1 (using KDE KDE 3.4.0)
Installed from:    FreeBSD Ports
OS:                FreeBSD

There's no option to select a feed from the "new item" quick button on Kontacts main toolbar. e.g. Manuly you'd press "insert" or "Feed | Add feed ..."
Comment 1 Teemu Rytilahti 2005-05-15 03:41:38 UTC
SVN commit 413970 by rytilahti:

Add "new feed" action into Kontact's global new action button
BUG:105091


 M  +6 -0      trunk/KDE/kdepim/kontact/plugins/akregator/akregator_plugin.cpp  
 M  +1 -0      trunk/KDE/kdepim/kontact/plugins/akregator/akregator_plugin.h  


--- trunk/KDE/kdepim/kontact/plugins/akregator/akregator_plugin.cpp #413969:413970
@@ -53,6 +53,8 @@
 
     setInstance( PluginFactory::instance() );
     
+    insertNewAction( new KAction( i18n( "New Feed..." ), "bookmark_add", "", this, SLOT( addFeed() ), actionCollection(), "feed_new" ) );
+    
     m_uniqueAppWatcher = new Kontact::UniqueAppWatcher(
 	new Kontact::UniqueAppHandlerFactory<Akregator::UniqueAppHandler>(), this );
 }
@@ -100,6 +102,10 @@
     core()->selectPlugin(this);
 }
 
+void Plugin::addFeed()
+{
+    interface()->addFeed();
+}
 
 QStringList Plugin::configModules() const
 {
--- trunk/KDE/kdepim/kontact/plugins/akregator/akregator_plugin.h #413969:413970
@@ -67,6 +67,7 @@
     
   private slots:
     void showPart();
+    void addFeed();
 
   protected:
     MyBasePart *createPart();