/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to bzr-notify

  • Committer: Andrew Starr-Bochicchio
  • Date: 2010-10-19 22:16:43 UTC
  • mto: This revision was merged to the branch mainline in revision 711.
  • Revision ID: a.starr.b@gmail.com-20101019221643-7wg2ijtpz3t29k9p
UseĀ panelĀ icon.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python
 
1
#!/usr/bin/python
2
2
 
3
3
"""Run the bzr tray icon.
4
4
 
34
34
    show_icon = lambda: icon.set_visible(True)
35
35
else:
36
36
    indicator = appindicator.Indicator ("bzr-gtk-notify",
37
 
        "bzr-icon-64", appindicator.CATEGORY_APPLICATION_STATUS)
 
37
        "bzr-panel", appindicator.CATEGORY_APPLICATION_STATUS)
38
38
    indicator.set_status (appindicator.STATUS_PASSIVE)
39
 
    indicator.set_attention_icon("bzr-icon-64")
 
39
    indicator.set_attention_icon("bzr-panel")
40
40
    indicator.set_menu(menu)
41
41
    hide_icon = lambda: indicator.set_status (appindicator.STATUS_PASSIVE)
42
42
    show_icon = lambda: indicator.set_status (appindicator.STATUS_ATTENTION)