Changeset 38:08f7e6592452 for src/mlx/gui/statusicon.py
- Timestamp:
- 03/04/12 09:35:01 (12 years ago)
- Branch:
- default
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/statusicon.py
r35 r38 83 83 self._showHideMenuItem.set_active(True) 84 84 85 def destroy(self): 86 """Hide and destroy the status icon.""" 87 if appIndicator: 88 if pygobject: 89 self._indicator.set_status(appindicator.IndicatorStatus.PASSIVE) 90 else: 91 self._indicator.set_status(appindicator.STATUS_PASSIVE) 92 else: 93 self._statusIcon.set_visible(False) 94 85 95 def _showHideToggled(self, menuitem): 86 96 """Called when the show/hide menu item is toggled."""
Note:
See TracChangeset
for help on using the changeset viewer.