diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-01-05 08:36:57 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-01-05 08:36:57 +0000 |
| commit | 07f331cf0b6c4934424aabaf61dd7a09dc81cc52 (patch) | |
| tree | 46ee105babf949e96bb500b3d08299f65a96207d /src | |
| parent | Committed patch [ 1591411 ] [PATCH] Paths w/ spaces need to have double quotes (diff) | |
| download | inkscape-07f331cf0b6c4934424aabaf61dd7a09dc81cc52.tar.gz inkscape-07f331cf0b6c4934424aabaf61dd7a09dc81cc52.zip | |
transientize the color picker window (it's a bare Gtk::Dialog so it requires a special treatment)
(bzr r2131)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/widget/color-picker.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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); |
