Summary: | Main part actions are not available in page viewer | ||
---|---|---|---|
Product: | [Applications] akregator | Reporter: | Frank Osterfeld <osterfeld> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | cvs | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Frank Osterfeld
2004-12-11 01:47:47 UTC
CVS commit by staikos: merge the main part UI with the HTML part (note: results in 2 print actions... needs to be fixed) BUG: 94886 M +8 -0 akregator_part.cpp 1.117 M +2 -0 akregator_part.h 1.49 M +1 -0 akregator_view.cpp 1.193 --- kdepim/akregator/src/akregator_part.cpp #1.116:1.117 @@ -502,4 +502,12 @@ QPixmap aKregatorPart::takeTrayIconScree } +void aKregatorPart::reMerge() +{ + KParts::MainWindow *mw = dynamic_cast<KParts::MainWindow*>(getMainWindow()); + if (mw) { + mw->guiFactory()->addClient(this); + } +} + QWidget* aKregatorPart::getMainWindow() { --- kdepim/akregator/src/akregator_part.h #1.48:1.49 @@ -75,4 +75,6 @@ namespace Akregator void setCanceled(const QString &s); + void reMerge(); + /** * Informs trayicon about new articles --- kdepim/akregator/src/akregator_view.cpp #1.192:1.193 @@ -680,4 +680,5 @@ void aKregatorView::slotFrameChanged(Fra m_part->setProgress(f->progress()); m_part->setStatusBar(f->statusText()); + m_part->reMerge(); switch (f->state()) |