diff options
Diffstat (limited to 'activity.py')
-rw-r--r-- | activity.py | 8 |
1 files changed, 4 insertions, 4 deletions
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() |