fix reset to default in ACE

This commit is contained in:
Denis Fomin 2013-01-07 13:48:07 +04:00
parent b70614e7be
commit b16d01ba39
2 changed files with 2 additions and 2 deletions

View File

@ -285,7 +285,7 @@ class AdvancedConfigurationWindow(object):
else: else:
if str(default) == model[iter_][C_VALUE]: if str(default) == model[iter_][C_VALUE]:
return return
self.on_config_edited(None, path, str(default)) self.on_config_edited(None, path.to_string(), str(default))
def on_advanced_close_button_clicked(self, widget): def on_advanced_close_button_clicked(self, widget):
self.window.destroy() self.window.destroy()

View File

@ -394,7 +394,7 @@ if pid_alive():
print("Gajim is already running, bringing the roster to front...") print("Gajim is already running, bringing the roster to front...")
sys.exit(0) sys.exit(0)
pix = gtkgui_helpers.get_icon_pixmap('gajim', 48) pix = gtkgui_helpers.get_icon_pixmap('gajim', 48)
Gtk.window_set_default_icon(pix) # set the icon to all newly opened wind Gtk.Window.set_default_icon(pix) # set the icon to all newly opened wind
pritext = _('Gajim is already running') pritext = _('Gajim is already running')
sectext = _('Another instance of Gajim seems to be running\nRun anyway?') sectext = _('Another instance of Gajim seems to be running\nRun anyway?')
dialog = dialogs.YesNoDialog(pritext, sectext) dialog = dialogs.YesNoDialog(pritext, sectext)