From: mscho Date: Sun, 21 May 2006 20:58:10 +0000 (+0000) Subject: Added 'Show close button on dialogs' option. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9a88401bdd32100804fecca4aac4e7d462d0695b;p=inkscape.git Added 'Show close button on dialogs' option. --- diff --git a/ChangeLog b/ChangeLog index 4f19d32c1..5331377b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-05-21 Marco Scholten + + * src/ui/dialog/inkscape-preferences.cpp, + src/ui/dialog/inkscape-preferences.h: + Added 'Show close button on dialogs' option. + 2006-05-21 MenTaLguY * src/ui/view/view-widget.cpp: diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index f9d6ce930..04f28dc00 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -401,6 +401,7 @@ void InkscapePreferences::initPageWindows() _win_save_geom.init ( _("Save window geometry"), "options.savewindowgeometry", "value", true); _win_hide_task.init ( _("Dialogs are hidden in taskbar"), "options.dialogsskiptaskbar", "value", true); _win_zoom_resize.init ( _("Zoom when window is resized"), "options.stickyzoom", "value", false); + _win_show_close.init ( _("Show close button on dialogs"), "dialogs", "showclose", false); _win_ontop_none.init ( _("None"), "options.transientpolicy", "value", 0, false, 0); _win_ontop_normal.init ( _("Normal"), "options.transientpolicy", "value", 1, true, &_win_ontop_none); _win_ontop_agressive.init ( _("Aggressive"), "options.transientpolicy", "value", 2, false, &_win_ontop_none); @@ -411,6 +412,8 @@ void InkscapePreferences::initPageWindows() _("Whether dialog windows are to be hidden in the window manager taskbar")); _page_windows.add_line( false, "", _win_zoom_resize, "", _("Zoom drawing when document window is resized, to keep the same area visible (this is the default which can be changed in any window using the button above the right scrollbar)")); + _page_windows.add_line( false, "", _win_show_close, "", + _("Whether dialog windows have a close button (requires restart)")); _page_windows.add_group_header( _("Dialogs on top:")); _page_windows.add_line( true, "", _win_ontop_none, "", _("Dialogs are treated as regular windows")); diff --git a/src/ui/dialog/inkscape-preferences.h b/src/ui/dialog/inkscape-preferences.h index 077c2c416..fb9fc2f49 100644 --- a/src/ui/dialog/inkscape-preferences.h +++ b/src/ui/dialog/inkscape-preferences.h @@ -112,7 +112,7 @@ protected: PrefSpinButton _t_pencil_tolerance; PrefRadioButton _win_ontop_none, _win_ontop_normal, _win_ontop_agressive; - PrefCheckButton _win_save_geom, _win_hide_task, _win_zoom_resize; + PrefCheckButton _win_save_geom, _win_hide_task, _win_zoom_resize , _win_show_close; PrefCheckButton _calligrapy_use_abs_size; PrefCheckButton _calligrapy_keep_selected;