diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-10-07 21:53:59 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-10-07 21:53:59 +0000 |
commit | 123d1fb81cdd03b601ea162bdcf7e41eeff0a0e3 (patch) | |
tree | fa719d68229def9cd34229f326c9ed20b09fcc06 /tests | |
parent | f3f016d0456e8968240269e832f440d24716c8a7 (diff) | |
download | gtk+-123d1fb81cdd03b601ea162bdcf7e41eeff0a0e3.tar.gz |
Use a pixbuf to set the drag icon, combine code to create drag icons
Mon Oct 7 16:28:11 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcolorsel.c (palette_drag_begin): Use
a pixbuf to set the drag icon, combine code
to create drag icons (Fixes #80092, #80093)
* gtk/gtkcolorsel.c (get_screen_color): Don't warn
on failure to grab keyboard/mouse. (#80085)
* gtk/gtkcolorsel.c (palette_press): Return FALSE,
so DND initiation is possible.
* gtk/gtkcolorsel.c (palette_release): Set the color
from the palette on release, not press.
* tests/testgtk.c (create_color_selection): Use
gtk_widget_show_all()
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testgtk.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c index 845780d59f..d51756bcbb 100644 --- a/tests/testgtk.c +++ b/tests/testgtk.c @@ -6827,8 +6827,6 @@ create_color_selection (GtkWidget *widget) gtk_signal_connect (GTK_OBJECT (check_button), "toggled", GTK_SIGNAL_FUNC (palette_toggled_cb), window); - gtk_widget_show_all (options_hbox); - gtk_signal_connect ( GTK_OBJECT (GTK_COLOR_SELECTION_DIALOG (window)->colorsel), "color_changed", @@ -6849,7 +6847,7 @@ create_color_selection (GtkWidget *widget) } if (!GTK_WIDGET_VISIBLE (window)) - gtk_widget_show (window); + gtk_widget_show_all (window); else gtk_widget_destroy (window); } |