From 5001250eae16aa6b993a9a4a4a8a4be5b81830c9 Mon Sep 17 00:00:00 2001 From: Aneesh Dogra Date: Thu, 03 Jan 2013 17:50:53 +0000 Subject: Capitalize gtk.Entry input. --- diff --git a/LetterMatch.py b/LetterMatch.py index 1790952..0cb3e98 100644 --- a/LetterMatch.py +++ b/LetterMatch.py @@ -189,8 +189,9 @@ class LetterMatch(activity.Activity): text = self.letter_entry.get_text().strip() if text and len(text) > 0: if len(text) != 1: - text = text[0] - self.letter_entry.set_text(text) + text = text[0].upper() + text = text.upper() + self.letter_entry.set_text(text) self.letter = text if self.letter in self.data_from_journal: self.data_from_journal[self.letter].append( -- cgit v0.9.1