Changeset 998:6fda08fc895b for src/mlx/gui/statusicon.py
- Timestamp:
- 07/04/19 18:08:19 (5 years ago)
- Branch:
- python3
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/statusicon.py
r996 r998 74 74 75 75 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) 79 79 80 80 indicator.set_menu(menu) … … 122 122 """Hide and destroy the status icon.""" 123 123 if appIndicator: 124 self._indicator.set_status( appindicator.IndicatorStatus.PASSIVE)124 self._indicator.set_status(AppIndicator3.IndicatorStatus.PASSIVE) 125 125 else: 126 126 self._statusIcon.set_visible(False)
Note:
See TracChangeset
for help on using the changeset viewer.