say 0.9.1
This commit is contained in:
parent
4853ec6a23
commit
c91bb65b4b
|
@ -32,7 +32,7 @@ import config
|
||||||
|
|
||||||
|
|
||||||
interface = None # The actual interface (the gtk one for the moment)
|
interface = None # The actual interface (the gtk one for the moment)
|
||||||
version = '0.9'
|
version = '0.9.1'
|
||||||
config = config.Config()
|
config = config.Config()
|
||||||
connections = {}
|
connections = {}
|
||||||
verbose = False
|
verbose = False
|
||||||
|
|
|
@ -903,7 +903,6 @@ class PreferencesWindow:
|
||||||
return
|
return
|
||||||
self.xml.get_widget('delete_msg_button').set_sensitive(True)
|
self.xml.get_widget('delete_msg_button').set_sensitive(True)
|
||||||
buf = self.xml.get_widget('msg_textview').get_buffer()
|
buf = self.xml.get_widget('msg_textview').get_buffer()
|
||||||
name = model.get_value(iter, 0)
|
|
||||||
msg = model[iter][1]
|
msg = model[iter][1]
|
||||||
buf.set_text(msg)
|
buf.set_text(msg)
|
||||||
|
|
||||||
|
@ -945,7 +944,7 @@ class PreferencesWindow:
|
||||||
for sound in sounds:
|
for sound in sounds:
|
||||||
val = gajim.config.get_per('soundevents', sound, 'enabled')
|
val = gajim.config.get_per('soundevents', sound, 'enabled')
|
||||||
path = gajim.config.get_per('soundevents', sound, 'path')
|
path = gajim.config.get_per('soundevents', sound, 'path')
|
||||||
iter = model.append((sound, val, path))
|
model.append((sound, val, path))
|
||||||
|
|
||||||
def on_treeview_sounds_cursor_changed(self, widget, data = None):
|
def on_treeview_sounds_cursor_changed(self, widget, data = None):
|
||||||
(model, iter) = self.sound_tree.get_selection().get_selected()
|
(model, iter) = self.sound_tree.get_selection().get_selected()
|
||||||
|
@ -1982,11 +1981,7 @@ class ManageEmoticonsWindow:
|
||||||
except:
|
except:
|
||||||
return False
|
return False
|
||||||
t = img.get_storage_type()
|
t = img.get_storage_type()
|
||||||
if t == gtk.IMAGE_PIXBUF:
|
if t not in (gtk.IMAGE_PIXBUF, gtk.IMAGE_ANIMATION)
|
||||||
pix = img.get_pixbuf()
|
|
||||||
elif t == gtk.IMAGE_ANIMATION:
|
|
||||||
pix = img.get_animation().get_static_image()
|
|
||||||
else:
|
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@ -2611,7 +2606,6 @@ _('You can set advanced account options by pressing Advanced button, or later by
|
||||||
|
|
||||||
def acc_is_ok(self, config):
|
def acc_is_ok(self, config):
|
||||||
'''Account creation succeeded'''
|
'''Account creation succeeded'''
|
||||||
con = gajim.connections[self.account]
|
|
||||||
self.create_vars(config)
|
self.create_vars(config)
|
||||||
self.finish_button.set_sensitive(True)
|
self.finish_button.set_sensitive(True)
|
||||||
self.finish_button.set_property('has-default', True)
|
self.finish_button.set_property('has-default', True)
|
||||||
|
|
Loading…
Reference in New Issue