Review Request: Plasmate: Remove Python support for konsole previewer

Antonis Tsiapaliokas kok3rs at gmail.com
Mon Nov 5 16:54:05 UTC 2012



> On Nov. 5, 2012, 3 p.m., Sebastian Kügler wrote:
> > plasmate/previewer/plasmoid/previewcontainment.h, line 42
> > <http://git.reviewboard.kde.org/r/107209/diff/1/?file=93718#file93718line42>
> >
> >     add the bool visible also here

Sorry but i don't get you. Why should i put a bool parameter? For a case like the following or because it is a virtual method and the other previewers will reimplemented?

on true, it will show the konsolepreviewer all the times
and on the false, i will use the existing code which hides the konsole?


> On Nov. 5, 2012, 3 p.m., Sebastian Kügler wrote:
> > plasmate/previewer/plasmoid/previewcontainment.cpp, line 131
> > <http://git.reviewboard.kde.org/r/107209/diff/1/?file=93719#file93719line131>
> >
> >     Can't we use Plasma::Package here? The finding of the metadata.desktop file is a bit clumsy as it relies on package internals.

Plasma::Package is working only for QML based plasmoids... So what was the best way which i find. Any suggestions? :)


plasmate(10518)/libplasma Plasma::loadEngine: Couldn't load script engine for language  "python" ! error reported:  "Could not find plugin 'Python Widget' for application 'plasmate'"


> On Nov. 5, 2012, 3 p.m., Sebastian Kügler wrote:
> > plasmate/previewer/plasmoid/previewcontainment.cpp, line 141
> > <http://git.reviewboard.kde.org/r/107209/diff/1/?file=93719#file93719line141>
> >
> >     We need to be damn sure that this is the right item...

then, i have to make all the items (konsole, previewer etc) private... (m_konsole,m_previewer etc...)

Any ideas?


- Antonis


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107209/#review21444
-----------------------------------------------------------


On Nov. 5, 2012, 2:25 p.m., Antonis Tsiapaliokas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/107209/
> -----------------------------------------------------------
> 
> (Updated Nov. 5, 2012, 2:25 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Description
> -------
> 
> Right now the python bindings doesn't support the kDebug, so the konsole previewer cannot return any output.
> Until this is fixed, we are disabling the python support for the konsole previewer.
> 
> 
> Diffs
> -----
> 
>   plasmate/mainwindow.h 6ac6fcd 
>   plasmate/mainwindow.cpp 9c19658 
>   plasmate/previewer/plasmoid/previewcontainment.h 34dfb52 
>   plasmate/previewer/plasmoid/previewcontainment.cpp 266baa4 
>   plasmate/previewer/previewer.h 271bab8 
>   plasmate/previewer/previewer.cpp 6f07098 
> 
> Diff: http://git.reviewboard.kde.org/r/107209/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Antonis Tsiapaliokas
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20121105/924e35b3/attachment-0001.html>


More information about the Plasma-devel mailing list