diff --git a/data/emoticons/lamp.png b/data/emoticons/lamp.png
index f1b63364c..3048d0a3a 100644
Binary files a/data/emoticons/lamp.png and b/data/emoticons/lamp.png differ
diff --git a/src/config.py b/src/config.py
index 2aa3b137d..8a0790f9f 100644
--- a/src/config.py
+++ b/src/config.py
@@ -897,8 +897,7 @@ class Account_modification_window:
"""close window"""
del self.plugin.windows['account_modification']
- def on_close_button_clicked(self, widget):
- """When Close button is clicked"""
+ def on_cancel_button_clicked(self, widget):
self.window.destroy()
def on_checkbutton_toggled(self, widget, widgets):
diff --git a/src/gtkgui.glade b/src/gtkgui.glade
index cb92d747b..98a8ee4f6 100644
--- a/src/gtkgui.glade
+++ b/src/gtkgui.glade
@@ -1585,15 +1585,15 @@
10
-
+
True
True
True
- gtk-close
+ gtk-cancel
True
GTK_RELIEF_NORMAL
True
-
+
diff --git a/src/roster_window.py b/src/roster_window.py
index 7f6ecbde5..b334499a2 100644
--- a/src/roster_window.py
+++ b/src/roster_window.py
@@ -530,7 +530,9 @@ class Roster_window:
menu.reposition()
def on_edit_account(self, widget, account):
- if not self.plugin.windows.has_key('account_modification_window'):
+ if self.plugin.windows.has_key('account_modification_window'):
+ self.plugin.windows['account_modification'].window.present()
+ else:
self.plugin.windows['account_modification'] = \
config.Account_modification_window(self.plugin, account)
@@ -932,7 +934,7 @@ class Roster_window:
def on_accounts_menuitem_activate(self, widget):
if self.plugin.windows.has_key('accounts'):
- self.plugin.windows['accounts'].present()
+ self.plugin.windows['accounts'].window.present()
else:
self.plugin.windows['accounts'] = config.Accounts_window(self.plugin)
@@ -1100,7 +1102,7 @@ class Roster_window:
"""When Service Discovery is selected:
Call browse class"""
if self.plugin.windows[account].has_key('disco'):
- self.plugin.windows[account]['disco'].present()
+ self.plugin.windows[account]['disco'].window.present()
else:
self.plugin.windows[account]['disco'] = \
config.Service_discovery_window(self.plugin, account)