Bug 18571

Summary: Add support for defining a custom icon in mgaonline applets
Product: Mageia Reporter: Rémi Verschelde <rverschelde>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Normal CC: alien, anaselli
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
See Also: https://bugs.mageia.org/show_bug.cgi?id=18226
Whiteboard:
Source RPM: mgaonline CVE:
Status comment:

Description Rémi Verschelde 2016-05-28 16:41:56 CEST
While looking to fix bug 18226, I noticed that mgaapplet-config and the "Configure updates frequency" embedded tools use different icons.

The problem is that mgaonline::get_banner() always instances a banner with the mgaonline icon hardcoded in mgaonline::get_banner_icon() (which also references a non-existing icon, as a side note):
- http://gitweb.mageia.org/software/mgaonline/tree/mgaapplet-config#n64
- http://gitweb.mageia.org/software/mgaonline/tree/mgaonline.pm#n140

On the other hand, control-center allows defining a custom icon:
- http://gitweb.mageia.org/software/control-center/tree/lib/MDV/Control_Center.pm#n587

So as a result the icons while embedded or standalone are different. It should be easy to fix by adding support for defining custom icons in mgaonline applets. Though maybe there's some code factorisation magic to do here too to avoid duplicating references.
Rémi Verschelde 2016-05-28 16:42:24 CEST

CC: (none) => alien, anaselli

Rémi Verschelde 2016-05-28 16:42:41 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=18226