Fix edit-cursor in TextEntry

Gtk::WINDOW_POPUP cannot be used for windows that require focus.
A gtk-entry without focus does not show an edit-cursor.
This commit is contained in:
Robin Gareus 2017-07-29 02:05:28 +02:00
parent b5e0b5b09f
commit 06c37b7c3f
2 changed files with 6 additions and 18 deletions

View file

@ -39,7 +39,6 @@ public:
private:
Gtk::Entry entry;
bool entry_changed;
bool by_popup_menu;
/* handlers for Entry events */
bool entry_focus_out (GdkEventFocus*);
@ -48,7 +47,6 @@ private:
void activated ();
bool button_press (GdkEventButton*);
void changed ();
void populate_popup (Gtk::Menu*);
void idle_delete_self ();
void disconect_signals ();