diff options
author | Owen Taylor <otaylor@redhat.com> | 1999-02-15 21:05:51 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1999-02-15 21:05:51 +0000 |
commit | 0c9af82e9713256d8764c0d72ee4718b44993193 (patch) | |
tree | 123061133bd9dcddc987451c182158d755c94013 /gtk/gtkbindings.c | |
parent | 063bad00a2fb7cb4430c35a98ab83c8c1dc80569 (diff) | |
download | gtk+-0c9af82e9713256d8764c0d72ee4718b44993193.tar.gz |
When we find a match, stop searching. (Because we assume pspec != NULL in
Thu Feb 11 18:43:12 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbindings.c (gtk_binding_set_add_path): When
we find a match, stop searching. (Because we
assume pspec != NULL in the search).
Wed Feb 10 01:18:22 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkhandlebox.c (gtk_handle_box_draw_ghost): Fix
up painting of "ghosts".
* gtk/gtkhandlebox.c (gtk_handle_box_button_changed):
Add double-click reattachment.
* gtk/gtkhandlebox.c: Grab on widget->window,
not on handlebox->bin_window. This means we don't
have to worry about ungrabbing while reparenting.
Don't make a GTK+ grab - that wasn't necessary.
* gtk/gtkhandlebox.c: Only compute the root -> desk
offset once, when starting the drag, instead
of continuously. This should solve the *Bad Window*
errors that were occurring because of race conditions
with the WM.
* gtk/gtkhandlebox.c: Completely reworked the
the logic of reattachment. We introduce the
concept of the "snap edge", which is an edge
that needs to be aligned for reattachmed.
We set a reasonable default from
handlebox->handle_position, but an application
might want to change this in some circumstances.
* gtk/gtkhandlebox.[ch]: Add settors:
gtk_handle_box_set_handle_position ();
gtk_handle_box_set_snap_edge ();
Diffstat (limited to 'gtk/gtkbindings.c')
-rw-r--r-- | gtk/gtkbindings.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkbindings.c b/gtk/gtkbindings.c index 15097f346a..431d175b8b 100644 --- a/gtk/gtkbindings.c +++ b/gtk/gtkbindings.c @@ -762,6 +762,7 @@ gtk_binding_set_add_path (GtkBindingSet *binding_set, gtk_pattern_spec_free_segs (pspec); g_free (pspec); pspec = NULL; + break; } } if (pspec) |