add adjustment to spinbutton in length notifier plugin

This commit is contained in:
Yann Leboulanger 2010-02-12 09:14:47 +01:00
parent fa05d88b2b
commit ad8c7a0f41
1 changed files with 5 additions and 3 deletions

View File

@ -126,6 +126,8 @@ class LengthNotifierPluginConfigDialog(GajimPluginConfigDialog):
self.message_length_spinbutton = self.xml.get_object(
'message_length_spinbutton')
self.message_length_spinbutton.get_adjustment().set_all(140, 0, 500, 1,
10, 0)
self.notification_colorbutton = self.xml.get_object(
'notification_colorbutton')
self.jids_entry = self.xml.get_object('jids_entry')