[Kde-pim] Re: Review Request: Migrate Akregator from KSystemTrayIcon to KStatusNotifierItem

Theo Chatzimichos tampakrap at gentoo.org
Thu Mar 17 02:53:07 GMT 2011



> On March 15, 2011, 7:42 p.m., Torgny Nyblom wrote:
> > It seems like you remove any code that was related to the show/hide feature (working or not), is this on purpose, or am I missing something?
> 
> Theo Chatzimichos wrote:
>     It is on purpose, according to [1] and [2] there are no show()/hide() functions in KStatusNotifierItem, creating/deleting the object is sufficient.

sorry, forgot to post the links:

[1] http://techbase.kde.org/Development/Tutorials/PortToKStatusNotifierItem
[2] http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKStatusNotifierItem.html


- Theo


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


On March 17, 2011, 2:51 a.m., Theo Chatzimichos wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/100850/
> -----------------------------------------------------------
> 
> (Updated March 17, 2011, 2:51 a.m.)
> 
> 
> Review request for KDEPIM and Frank Osterfeld.
> 
> 
> Summary
> -------
> 
> Migrate from KSystemTrayIcon to KStatusNotifierItem
>   - Use KIcon instead of QPixmap
>   - Deprecate showPart, seems not to be used, produces a No such signal msg
>   - Replace quitSelected with the signal of KStatusNotifierItem's default quit action
>   - Rearrange some header files for fun :)
> 
> 
> Diffs
> -----
> 
>   akregator/src/actionmanagerimpl.h f794351 
>   akregator/src/actionmanagerimpl.cpp 2a8fc98 
>   akregator/src/akregator_part.cpp 53f02dc 
>   akregator/src/mainwindow.cpp 7d572d5 
>   akregator/src/trayicon.h 281c5f4 
>   akregator/src/trayicon.cpp a6860fa 
>   kontact/plugins/akregator/akregator_plugin.h 6369177 
>   kontact/plugins/akregator/akregator_plugin.cpp b676652 
> 
> Diff: http://git.reviewboard.kde.org/r/100850/diff
> 
> 
> Testing
> -------
> 
> Tested both inside Kontact and as standalone, it seems to work fine:
> the following things work fine:
>  - enable/disable tray icon from settings
>  - enable/disable unread count from settings
>  - close when there is no icon, hide in tray when there is an icon
> 
> Bugs:
>  - start Akregator from Kontact, right click on the icon, the menu says kontact instead of Akregator (minor issue, could be handled in a separate commit)
>  - in kontact, when there is no KMail tray icon and there is tray icon for Akregator, pressing X does not hide kontact to tray (not a regression, the behaviour is still the same before my patch, the bug may be in KMail or in Kontact instead of Akregator)
> 
> 
> Screenshots
> -----------
> 
> 
>   http://git.reviewboard.kde.org/r/100850/s/98/
> 
> 
> Thanks,
> 
> Theo
> 
>

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list