bookmarks-indicator.py 文件源码

python
阅读 17 收藏 0 点赞 0 评论 0

项目:bookmarks-indicator 作者: antoniocoratelli 项目源码 文件源码
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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号