summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 607ec3f)
raw | patch | inline | side by side (parent: 607ec3f)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 21 Jul 2008 05:25:08 +0000 (05:25 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 21 Jul 2008 05:25:08 +0000 (05:25 +0000) |
src/ege-select-one-action.cpp | patch | blob | history |
index 20967c9e7e5bcc8bbc34693490cb9557fa034dc8..5c552a6e762a952d9f7e8b2e302313626eda4be0 100644 (file)
{
EgeSelectOneAction* act = EGE_SELECT_ONE_ACTION(user_data);
gint newActive = gtk_combo_box_get_active(widget);
- if (newActive != act->private_data->active) {
+ if (newActive != act->private_data->active && newActive != -1) {
g_object_set( G_OBJECT(act), "active", newActive, NULL );
}
}