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

Fix icon display in zomandos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.