Commit 3de9e50f authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

made the color selection dialog transient to the window that contains the

2005-05-20  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorbutton.c (gimp_color_button_clicked):
	made the color selection dialog transient to the window that
	contains the color button.
parent 6f32d586
2005-05-20 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpcolorbutton.c (gimp_color_button_clicked):
made the color selection dialog transient to the window that
contains the color button.
2005-05-20 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcoloreditor.c: moved the color picker button out
......
......@@ -327,7 +327,7 @@ gimp_color_button_clicked (GtkButton *button)
dialog = color_button->dialog =
gimp_dialog_new (color_button->title, COLOR_SELECTION_KEY,
GTK_WIDGET (button), 0,
gtk_widget_get_toplevel (GTK_WIDGET (button)), 0,
gimp_color_button_help_func, NULL,
GIMP_STOCK_RESET, RESPONSE_RESET,
......@@ -338,9 +338,9 @@ gimp_color_button_clicked (GtkButton *button)
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
RESPONSE_RESET,
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
g_signal_connect (dialog, "response",
G_CALLBACK (gimp_color_button_dialog_response),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment