def init_indicator(self):
'''
Set the basic properties (icon, label, ...) of the indicator.
'''
self.menu = gtk.Menu()
self.indicator = ai.Indicator(self.title, self.icon, ai.CATEGORY_APPLICATION_STATUS)
self.indicator.set_label(self.label)
self.indicator.set_status(ai.STATUS_ACTIVE)
self.indicator.set_menu(self.menu)
bookmarks-indicator.py 文件源码
python
阅读 17
收藏 0
点赞 0
评论 0
评论列表
文章目录