Now the signals made from the glade file

This commit is contained in:
bigpod 2005-03-05 17:01:14 +00:00
parent a13ca3a09b
commit a65a856ebd
2 changed files with 7 additions and 31 deletions

View File

@ -708,18 +708,6 @@ class preferences_window:
fontStr = self.plugin.config['userfont']
self.xml.get_widget('fontbutton_user_text').set_font_name(fontStr)
self.xml.signal_connect('gtk_widget_destroy', self.delete_event)
self.xml.signal_connect('on_apply_clicked', self.on_apply)
self.xml.signal_connect('on_ok_clicked', self.on_ok)
self.xml.signal_connect('on_cancel_clicked', self.on_cancel)
self.xml.signal_connect('on_msg_treeview_cursor_changed', \
self.on_msg_treeview_cursor_changed)
self.xml.signal_connect('on_new_msg_button_clicked', \
self.on_new_msg_button_clicked)
self.xml.signal_connect('on_delete_msg_button_clicked', \
self.on_delete_msg_button_clicked)
self.xml.signal_connect('on_msg_treeview_key_press_event', \
self.on_msg_treeview_key_press_event)
self.xml.signal_connect('on_chk_autopopup_toggled', \
self.on_chk_toggled, [self.chk_autoppaway])
self.xml.signal_connect('on_chk_autoaway_toggled', \
@ -733,18 +721,6 @@ class preferences_window:
self.xml.get_widget('entry_emoticons'),
self.xml.get_widget('button_emoticons'),
self.xml.get_widget('image_emoticon')])
self.xml.signal_connect('on_button_set_image_clicked', \
self.on_button_set_image_clicked)
self.xml.signal_connect('on_button_new_emoticon_clicked', \
self.on_button_new_emoticon_clicked)
self.xml.signal_connect('on_button_remove_emoticon_clicked', \
self.on_button_remove_emoticon_clicked)
self.xml.signal_connect('on_treeview_emoticons_key_press_event', \
self.on_treeview_emoticons_key_press_event)
self.xml.signal_connect('on_treeview_sounds_cursor_changed', \
self.on_treeview_sounds_cursor_changed)
self.xml.signal_connect('on_button_sounds_clicked', \
self.on_button_sounds_clicked)
self.plugin.send('ASK_CONFIG', None, ('GtkGui', 'Logger', {'lognotsep':1,\
'lognotusr':1}))
@ -764,9 +740,6 @@ class preferences_window:
self.xml.get_widget('custom_mail_app_entry').set_text(\
self.plugin.config['custommailapp'])
self.links_open_with_combobox.connect('changed', \
self.on_links_open_with_combobox_changed)
#log presences in user file
st = self.config_logger['lognotusr']
self.xml.get_widget('chk_log_pres_usr').set_active(st)
@ -774,6 +747,8 @@ class preferences_window:
#log presences in external file
st = self.config_logger['lognotsep']
self.xml.get_widget('chk_log_pres_ext').set_active(st)
self.xml.signal_autoconnect(self)
class account_window:
"""Class for account informations"""

View File

@ -3039,7 +3039,7 @@ on the server as a vCard</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<signal name="destroy" handler="gtk_widget_destroy" last_modification_time="Wed, 17 Mar 2004 01:55:57 GMT"/>
<signal name="destroy" handler="delete_event" last_modification_time="Sat, 05 Mar 2005 16:24:38 GMT"/>
<child>
<widget class="GtkVBox" id="vbox13">
@ -4780,6 +4780,7 @@ on the server as a vCard</property>
<property name="items" translatable="yes">GNOME default applications
KDE default applications
Custom</property>
<signal name="changed" handler="on_links_open_with_combobox_changed" last_modification_time="Sat, 05 Mar 2005 16:44:57 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
@ -5160,7 +5161,7 @@ Custom</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_apply_clicked" last_modification_time="Thu, 28 Oct 2004 11:23:17 GMT"/>
<signal name="clicked" handler="on_apply" last_modification_time="Sat, 05 Mar 2005 16:24:18 GMT"/>
</widget>
</child>
@ -5173,7 +5174,7 @@ Custom</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_cancel_clicked" last_modification_time="Wed, 17 Mar 2004 03:07:18 GMT"/>
<signal name="clicked" handler="on_cancel" last_modification_time="Sat, 05 Mar 2005 16:24:59 GMT"/>
</widget>
</child>
@ -5187,7 +5188,7 @@ Custom</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_ok_clicked" last_modification_time="Mon, 29 Dec 2003 13:48:07 GMT"/>
<signal name="clicked" handler="on_ok" last_modification_time="Sat, 05 Mar 2005 16:25:12 GMT"/>
</widget>
</child>
</widget>