From ae54b28feea516986542e52c60aadbf9399477b8 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Fri, 5 Jan 2007 08:36:57 +0000 Subject: [PATCH] transientize the color picker window (it's a bare Gtk::Dialog so it requires a special treatment) --- src/ui/widget/color-picker.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ui/widget/color-picker.cpp b/src/ui/widget/color-picker.cpp index d5c4899c6..7d7dc9117 100644 --- a/src/ui/widget/color-picker.cpp +++ b/src/ui/widget/color-picker.cpp @@ -16,6 +16,7 @@ #include "inkscape.h" #include "desktop-handles.h" #include "document.h" +#include "dialogs/dialog-events.h" #include "widgets/sp-color-notebook.h" @@ -50,6 +51,9 @@ ColorPicker::~ColorPicker() void ColorPicker::setupDialog(const Glib::ustring &title) { + GtkWidget *dlg = GTK_WIDGET(_colorSelectorDialog.gobj()); + sp_transientize(dlg); + _colorSelectorDialog.hide(); _colorSelectorDialog.set_title (title); _colorSelectorDialog.set_border_width (4); -- 2.39.5