Changeset 5669


Ignore:
Timestamp:
Aug 8, 2017, 9:35:18 AM (22 months ago)
Author:
Juanma
Message:

Fix icon display in zomandos

Location:
lliurex-up/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-up/trunk/fuentes/debian/changelog

    r5659 r5669  
     1lliurex-up (16.04.24-lliurex2) xenial; urgency=medium
     2
     3  * Fix icon display in zomandos with a fake desktop for the store (previous change was made on the legacy code)
     4
     5 -- Juanma Navarro Mañez <juanma1980@gmail.com>  Tue, 08 Aug 2017 09:33:56 +0200
     6
    17lliurex-up (16.04.24-lliurex1) xenial; urgency=medium
    28
  • lliurex-up/trunk/fuentes/lliurex-up/usr/share/lliurex-up/lliurex-up.py

    r5651 r5669  
    6666                        config.read(desktop_file)
    6767                       
    68                         if config.has_section("Desktop Entry") and config.has_option("Desktop Entry","Icon"):
     68                        #Zomandos may include a desktop file of type zomando with info for the store. Those desktops must be skipped
     69                        if config.has_section("Desktop Entry") and config.has_option("Desktop Entry","Icon") and config.get("Desktop Entry","Type").lower()!="zomando":
    6970                                self.icon=config.get("Desktop Entry","Icon")
    7071                                icon_extension=os.path.splitext(self.icon)[1]
Note: See TracChangeset for help on using the changeset viewer.