diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-01-06 16:34:25 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-06 09:55:34 -0800 |
commit | c607f09f402ccd0b6463c6e7630ee2d162d78579 (patch) | |
tree | 7a78943f26c57f198bb329c0f5ac5551d921abd1 /deco.c | |
parent | 6d10aab04960e464e8806b9dfdb7bae6317378ae (diff) | |
download | subsurface-c607f09f402ccd0b6463c6e7630ee2d162d78579.tar.gz |
Planner: hook the gas combo box to a "focus-out" event handler
GTK's logic might be a bit flawed (or complicated) in terms of
"focus-out-event" and GtkComboBoxEntry objects as it does not work
by attaching said signal type directly to the GtkComboBoxEntry.
Perhaps it only makes sense for text input.
Since "focus-out-event" works for GtkEntry, we can retrieve the child
GtkEntry from the combo using gtk_bin_get_child(GTK_BIN(combo)
and attach the event handler to that.
This change should make it possible to update gas_model (GtkListStore)
when changing the widget focus with both the keyboard and mouse clicks.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'deco.c')
0 files changed, 0 insertions, 0 deletions