I'm trying to load stock icon by name (appointment-soon [orange clock from gnome theme] and appointment-missed [orange clock with red "!" from gnome theme) but AI loads another icon with similar name: appointment or appointment-new [gray clock with green "+"]. Tested with Ubuntu-Mono-Light icon theme. Lucid+updates. Here is the code:
I'm trying to load stock icon by name (appointment-soon [orange clock from gnome theme] and appointment-missed [orange clock with red "!" from gnome theme) but AI loads another icon with similar name: appointment or appointment-new [gray clock with green "+"]. Tested with Ubuntu-Mono-Light icon theme. Lucid+updates. Here is the code:
import gobject
import gtk
import appindicator
def menuitem_ response( widget, buf): STATUS_ ATTENTION)
ind.set_status (appindicator.
if __name__ == "__main__": Indicator ("example- simple- client" , soon", .CATEGORY_ APPLICATION_ STATUS) STATUS_ ACTIVE) attention_ icon ("appointment- missed" )
ind = appindicator.
"appointment-
appindicator
ind.set_status (appindicator.
ind.set_
menu = gtk.Menu() menu_items) connect( "activate" , menuitem_response, buf)
buf = "Attention!"
menu_items = gtk.MenuItem(buf)
menu.append(
menu_items.
menu_items.show()
ind.set_menu(menu)
gtk.main()