diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2010-07-02 20:54:46 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2010-07-02 20:54:46 +0000 |
| commit | cd7aee702af257919f2220d89fb26af05a8e2599 (patch) | |
| tree | f4ab81fd8256fbd7c3e34ac1fc0d659fe27cc246 /src/widgets/toolbox.cpp | |
| parent | Tutorials. New Dutch Tracing tutorial translation. (diff) | |
| download | inkscape-cd7aee702af257919f2220d89fb26af05a8e2599.tar.gz inkscape-cd7aee702af257919f2220d89fb26af05a8e2599.zip | |
Added hidden preference to re-enable floating dialogs on problematic window managers.
(bzr r9557)
Diffstat (limited to 'src/widgets/toolbox.cpp')
| -rw-r--r-- | src/widgets/toolbox.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index c255e087b..b68d8404d 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -992,7 +992,8 @@ static GtkWidget* toolboxNewCommon( GtkWidget* tb, BarId id, GtkPositionType han gtk_widget_set_sensitive(tb, FALSE); GtkWidget *hb = 0; - if ( UXManager::getInstance()->isFloatWindowProblem() ) { + gboolean forceFloatAllowed = Inkscape::Preferences::get()->getBool("/options/workarounds/floatallowed", false); + if ( UXManager::getInstance()->isFloatWindowProblem() && !forceFloatAllowed ) { hb = gtk_event_box_new(); // A simple, neutral container. } else { hb = gtk_handle_box_new(); |
