From 1b675d09611864d8c7957fca54b1e9f460bf17d1 Mon Sep 17 00:00:00 2001 From: js Date: Tue, 22 Jul 2008 23:11:30 +0000 Subject: [PATCH] Replace _ in moods by space. --- src/dialogs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dialogs.py b/src/dialogs.py index 86155a946..044facfe9 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -472,7 +472,8 @@ class ChangeMoodDialog: self.mood_buttons[mood].add( gtkgui_helpers.load_mood_icon(mood)) self.mood_buttons[mood].set_relief(gtk.RELIEF_NONE) - self.mood_buttons[mood].set_tooltip_text(_(mood)) + self.mood_buttons[mood].set_tooltip_text( + _(mood.replace('_', ' '))) self.mood_buttons[mood].connect('clicked', self.on_mood_button_clicked, mood) table.attach(self.mood_buttons[mood],