[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: gaf.git: branch: master updated (1.5.0-20080706-308-g70bf7f8)
The branch, master has been updated
via 70bf7f8e7470d9962af920553b2e858db0d95938 (commit)
from 9b2b755a4cc07a5de15ea88794e78612b0d2ca00 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
gschem/src/x_event.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit 70bf7f8e7470d9962af920553b2e858db0d95938
Author: Werner Hoch <werner.ho@xxxxxx>
Date: Mon Nov 17 20:23:26 2008 +0100
gschem: fix select state when double clicking an object
After the o_edit() call in x_event_button_pressed() the state is
STARTSELECT. If a MODAL dialog is called (arc or change picture) the
state will will still be STARTSELECT after closing the dialog.
This state turns into the MOVE state right after the dialog is closed
and the first motion is done in gschem (x_event_motion()).
This is not correct. The state needs to be reset to SELECT right after
the o_edit() call.
:100644 100644 4c4eab1... cf72273... M gschem/src/x_event.c
=========
Changes
=========
commit 70bf7f8e7470d9962af920553b2e858db0d95938
Author: Werner Hoch <werner.ho@xxxxxx>
Date: Mon Nov 17 20:23:26 2008 +0100
gschem: fix select state when double clicking an object
After the o_edit() call in x_event_button_pressed() the state is
STARTSELECT. If a MODAL dialog is called (arc or change picture) the
state will will still be STARTSELECT after closing the dialog.
This state turns into the MOVE state right after the dialog is closed
and the first motion is done in gschem (x_event_motion()).
This is not correct. The state needs to be reset to SELECT right after
the o_edit() call.
diff --git a/gschem/src/x_event.c b/gschem/src/x_event.c
index 4c4eab1..cf72273 100644
--- a/gschem/src/x_event.c
+++ b/gschem/src/x_event.c
@@ -108,6 +108,7 @@ gint x_event_button_pressed(GtkWidget *widget, GdkEventButton *event,
o_find_object(w_current, w_x, w_y, TRUE);
if (o_select_selected (w_current)) {
o_edit(w_current, geda_list_get_glist( toplevel->page_current->selection_list ));
+ i_set_state(w_current, SELECT);
return(0);
}
}
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs