update source code for new glade file

This commit is contained in:
Yann Leboulanger 2015-08-21 22:03:24 +02:00
parent a22069da5d
commit ef0373e45d
1 changed files with 2 additions and 2 deletions

View File

@ -512,8 +512,8 @@ class ChangeMoodDialog:
self.mood_buttons[mood].set_relief(Gtk.ReliefStyle.NONE)
self.mood_buttons[mood].set_tooltip_text(pep.MOODS[mood])
self.mood_buttons[mood].connect('clicked',
self.on_mood_button_clicked, mood)
table.attach(self.mood_buttons[mood], x, x + 1, y, y + 1)
self.on_mood_button_clicked, mood)
table.attach(self.mood_buttons[mood], x, y, 1, 1)
# Calculate the next position
x += 1