2010-07-08 09:46:16 |
Evgeny Kolesnikov |
bug |
|
|
added bug |
2010-07-08 10:28:25 |
Evgeny Kolesnikov |
description |
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):
ind.set_status (appindicator.STATUS_ATTENTION)
if __name__ == "__main__":
ind = appindicator.Indicator ("example-simple-client",
"appointment-soon",
appindicator.CATEGORY_APPLICATION_STATUS)
ind.set_status (appindicator.STATUS_ACTIVE)
ind.set_attention_icon ("appointment-missed")
menu = gtk.Menu()
buf = "Attention!"
menu_items = gtk.MenuItem(buf)
menu.append(menu_items)
menu_items.connect("activate", menuitem_response, buf)
menu_items.show()
ind.set_menu(menu)
gtk.main() |
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):
ind.set_status (appindicator.STATUS_ATTENTION)
if __name__ == "__main__":
ind = appindicator.Indicator ("example-simple-client",
"appointment-soon",
appindicator.CATEGORY_APPLICATION_STATUS)
ind.set_status (appindicator.STATUS_ACTIVE)
ind.set_attention_icon ("appointment-missed")
menu = gtk.Menu()
buf = "Attention!"
menu_items = gtk.MenuItem(buf)
menu.append(menu_items)
menu_items.connect("activate", menuitem_response, buf)
menu_items.show()
ind.set_menu(menu)
gtk.main()
|
|
2010-07-08 10:37:02 |
Evgeny Kolesnikov |
description |
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):
ind.set_status (appindicator.STATUS_ATTENTION)
if __name__ == "__main__":
ind = appindicator.Indicator ("example-simple-client",
"appointment-soon",
appindicator.CATEGORY_APPLICATION_STATUS)
ind.set_status (appindicator.STATUS_ACTIVE)
ind.set_attention_icon ("appointment-missed")
menu = gtk.Menu()
buf = "Attention!"
menu_items = gtk.MenuItem(buf)
menu.append(menu_items)
menu_items.connect("activate", menuitem_response, buf)
menu_items.show()
ind.set_menu(menu)
gtk.main()
|
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):
ind.set_status (appindicator.STATUS_ATTENTION)
if __name__ == "__main__":
ind = appindicator.Indicator ("example-simple-client",
"appointment-soon",
appindicator.CATEGORY_APPLICATION_STATUS)
ind.set_status (appindicator.STATUS_ACTIVE)
ind.set_attention_icon ("appointment-missed")
menu = gtk.Menu()
buf = "Attention!"
menu_items = gtk.MenuItem(buf)
menu.append(menu_items)
menu_items.connect("activate", menuitem_response, buf)
menu_items.show()
ind.set_menu(menu)
gtk.main()
|
|
2010-09-29 20:26:31 |
Ted Gould |
summary |
Wrong icon loaded |
Appindicators should prepend app specific icon paths instead of append |
|
2010-09-29 20:26:36 |
Ted Gould |
indicator-application: status |
New |
Confirmed |
|
2010-09-29 20:26:38 |
Ted Gould |
indicator-application: importance |
Undecided |
Wishlist |
|
2013-05-16 09:02:31 |
MestreLion |
summary |
Appindicators should prepend app specific icon paths instead of append |
Icon name search should try exact match in all themes before trying similar icon names |
|
2013-05-16 09:03:26 |
MestreLion |
bug task added |
|
libappindicator (Ubuntu) |
|