From ca21feee3193e89105a17ec2307aa5eaab26a9a2 Mon Sep 17 00:00:00 2001 From: IvaDobreva Date: Sun, 13 Jan 2013 18:24:10 +0000 Subject: GObject --- (limited to 'activity.py') diff --git a/activity.py b/activity.py index d50f303..8f4654d 100644 --- a/activity.py +++ b/activity.py @@ -74,13 +74,13 @@ class SpeakActivity(SharedActivity): self.connect("notify::active", self._activeCb) # make a box to type into - self.entrycombo = Gtk.combo_box_entry_new() + self.entrycombo = Gtk.ComboBoxText() self.entrycombo.connect("changed", self._combo_changed_cb) self.entry = self.entrycombo.get_child() - self.entry.set_editable(True) - self.entry.connect('activate', self._entry_activate_cb) + # self.entry.set_editable(True) + # self.entry.connect('activate', self._entry_activate_cb) self.entry.connect("key-press-event", self._entry_key_press_cb) - self.input_font = Pango.FontDescription(str='sans bold 24') + self.input_font = Pango.FontDescription('sans bold 24') self.entry.modify_font(self.input_font) self.face = face.View() -- cgit v0.9.1