diff --git a/plugins/gtkgui/gtkgui.glade b/plugins/gtkgui/gtkgui.glade index 7b58d629e..0c48fed0c 100644 --- a/plugins/gtkgui/gtkgui.glade +++ b/plugins/gtkgui/gtkgui.glade @@ -2,7 +2,6 @@ - True @@ -258,7 +257,7 @@ - + True Online True @@ -266,7 +265,7 @@ - + True Away True @@ -274,7 +273,7 @@ - + True NA True @@ -282,7 +281,7 @@ - + True DND True @@ -304,7 +303,7 @@ - + True Offline True diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py index 785f8909d..b2abfd000 100644 --- a/plugins/gtkgui/gtkgui.py +++ b/plugins/gtkgui/gtkgui.py @@ -602,7 +602,8 @@ class accountPreference_Window: if infos.has_key('proxyhost'): self.xml.get_widget("entry_proxyhost").set_text(infos['proxyhost']) if infos.has_key('proxyport'): - self.xml.get_widget("entry_proxyport").set_text('%i'%\ +# self.xml.get_widget("entry_proxyport").set_text('%i'%\ + self.xml.get_widget("entry_proxyport").set_text(\ infos['proxyport']) def on_save_clicked(self, widget): @@ -1874,6 +1875,11 @@ class roster_Window: pix = fct(file) self.pixbufs[state] = pix break + for state in ('online', 'away', 'xa', 'dnd', 'offline'): + image = gtk.Image() + image.set_from_pixbuf(self.pixbufs[state]) + image.show() + self.xml.get_widget(state).set_image(image) def on_show_off(self, widget): """when show offline option is changed :