From 310100f70e6fb88323f07cdf16bb1e01254c7c7c Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 13 Jun 2005 12:44:09 +0000 Subject: [PATCH] conenct the signals in glade instead of in the code --- src/groupchat_window.py | 17 ----------------- src/gtkgui.glade | 6 ++++++ 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/src/groupchat_window.py b/src/groupchat_window.py index ec0587d6b..fa5e4f8f7 100644 --- a/src/groupchat_window.py +++ b/src/groupchat_window.py @@ -681,23 +681,6 @@ class GroupchatWindow(chat.Chat): xm = gtk.glade.XML(GTKGUI_GLADE, 'gc_actions_menu', APP) self.gc_actions_menu = xm.get_widget('gc_actions_menu') - configure_menuitem, change_subject_menuitem, bookmark_room_menuitem = self.gc_actions_menu.get_children() - - configure_menuitem.connect('activate', - self.on_configure_room_menuitem_activate) - change_subject_menuitem.connect('activate', - self.on_change_subject_menuitem_activate) - bookmark_room_menuitem.connect('activate', - self.on_bookmark_room_menuitem_activate) - - # connect the buttons to their respective functions - actions_button = self.xmls[room_jid].get_widget( - 'actions_button') - actions_button.connect('clicked', self.on_actions_button_clicked) - send_button = self.xmls[room_jid].get_widget( - 'send_button') - send_button.connect('clicked', self.on_send_button_clicked) - #status_image, nickname, real_jid, show store = gtk.TreeStore(gtk.Image, str, str, str) store.set_sort_column_id(1, gtk.SORT_ASCENDING) diff --git a/src/gtkgui.glade b/src/gtkgui.glade index 8b55fad49..dbee114b6 100644 --- a/src/gtkgui.glade +++ b/src/gtkgui.glade @@ -8624,6 +8624,7 @@ Custom True GTK_RELIEF_NORMAL True + @@ -8698,6 +8699,7 @@ Custom True GTK_RELIEF_NORMAL True + @@ -8783,6 +8785,7 @@ Custom True GTK_RELIEF_NORMAL True + @@ -15206,6 +15209,7 @@ the Jabber network. True Configure _Room True + @@ -15226,6 +15230,7 @@ the Jabber network. True Change _Subject True + @@ -15246,6 +15251,7 @@ the Jabber network. True _Bookmark This Room True +