def on_refresh_button_clicked(self, widget):
        dialog = UpdateCacheDialog(widget.get_toplevel())
        res = dialog.run()

        proxy.set_list_state('normal')

        InfoDialog(_('You can install new applications through Add/Remove.'),
            title = _('The software information is up-to-date now')).launch()
        self.emit('update', 'installer', 'deep_update')
        self.emit('update', 'thirdsoft', 'update_thirdparty')
    def on_refresh_button_clicked(self, widget):
        dialog = UpdateCacheDialog(widget.get_toplevel())
        res = dialog.run()

        proxy.set_list_state('normal')
        widget.set_sensitive(False)

        dialog = QuestionDialog(_('You can install the new applications through Add/Remove.\nDo you want to go now?'),
            title = _('The software information is up-to-date now'))
        if dialog.run() == gtk.RESPONSE_YES:
            self.emit('update', 'installer', 'deep_update')
            self.emit('call', 'mainwindow', 'select_module', {'name': 'installer'})
        else:
            self.emit('update', 'installer', 'deep_update')
        dialog.destroy()