add_account.py 文件源码

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

项目:Gnome-Authenticator 作者: bil-elmoussaoui 项目源码 文件源码
def add_apps(self):
        """
            Add database applications to the Gtk.ListBox
        """
        self.db = sorted(self.db, key=lambda k: k['name'].lower())
        logging.debug("Application list was ordered alphabetically")

        for app in self.db:
            img_path = app["img"]
            app_name = app["name"]
            self.listbox.add(ApplicationRow(app_name, img_path))

        if len(self.db) != 0:
            self.listbox.select_row(self.listbox.get_row_at_index(0))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号