~pitti/notify-osd/wnck_shutdown

« back to all changes in this revision

Viewing changes to examples/icon-only.py

  • Committer: Mirco Müller
  • Date: 2011-07-08 10:52:30 UTC
  • Revision ID: mirco.mueller@ubuntu.com-20110708105230-1hqflto0cn2hp2ca
updated C- and Python-examples, updated NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
 
119
119
        # try the icon-only case
120
120
        if capabilities['x-canonical-private-icon-only']:
121
 
                n = pynotify.Notification ("Eject", # for a11y-reasons put something meaningfull here
122
 
                                           "Eject", # for a11y-reasons put something meaningfull here
 
121
                n = pynotify.Notification ("", # for a11y-reasons put something meaningfull here
 
122
                                           "", # for a11y-reasons put something meaningfull here
123
123
                                           "notification-device-eject")
124
 
                n.set_hint_string ("x-canonical-private-icon-only", "");
 
124
                n.set_hint_string ("x-canonical-private-icon-only", "true");
125
125
                n.show ()
126
126
        else:
127
127
                print "The daemon does not support the x-canonical-private-icon-only hint!"