Ignore:
Timestamp:
07/04/19 18:08:19 (5 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Using 'GdkPixbuf' instead of 'gdkPixbuf', 'AppIndicator3' instead of 'appindicator' and 'Pango' instead of 'pango' (re #347)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/statusicon.py

    r996 r998  
    7474
    7575        if appIndicator:
    76             indicator = appindicator.Indicator.new ("mava-logger-x", iconFile,
    77                                                     appindicator.IndicatorCategory.APPLICATION_STATUS)
    78             indicator.set_status (appindicator.IndicatorStatus.ACTIVE)
     76            indicator = AppIndicator3.Indicator.new ("mava-logger-x", iconFile,
     77                                                     AppIndicator3.IndicatorCategory.APPLICATION_STATUS)
     78            indicator.set_status (AppIndicator3.IndicatorStatus.ACTIVE)
    7979
    8080            indicator.set_menu(menu)
     
    122122        """Hide and destroy the status icon."""
    123123        if appIndicator:
    124             self._indicator.set_status(appindicator.IndicatorStatus.PASSIVE)
     124            self._indicator.set_status(AppIndicator3.IndicatorStatus.PASSIVE)
    125125        else:
    126126            self._statusIcon.set_visible(False)
Note: See TracChangeset for help on using the changeset viewer.