Code

Refactored preferences handling into a new version of
authortweenk <tweenk@users.sourceforge.net>
Tue, 16 Sep 2008 17:15:22 +0000 (17:15 +0000)
committertweenk <tweenk@users.sourceforge.net>
Tue, 16 Sep 2008 17:15:22 +0000 (17:15 +0000)
commit4852f347df5405e934e2ccd5b30597d196f3949c
tree194a94ece6ed668ad7dc529de2cdd09b7565c6fe
parentff86396d7bac9863faecc84122d01bd4c5a18606
Refactored preferences handling into a new version of
the Inkscape::Preferences class. Removed all use of
prefs_get_string_attribute(), pref_path_get_nth_child() and
create_pref() in favor of the new API. Replaced some "0 or 1" integer
preferences with booleans.
40 files changed:
src/application/application.cpp
src/application/editor.cpp
src/box3d-side.cpp
src/color-profile.cpp
src/dialogs/clonetiler.cpp
src/dialogs/export.cpp
src/dialogs/swatches.cpp
src/display/canvas-axonomgrid.cpp
src/display/canvas-grid.cpp
src/extension/implementation/script.cpp
src/extension/init.cpp
src/extension/param/color.cpp
src/extension/param/enum.cpp
src/extension/param/notebook.cpp
src/extension/param/radiobutton.cpp
src/extension/param/string.cpp
src/extension/prefdialog.cpp
src/file.cpp
src/graphlayout/graphlayout.cpp
src/inkscape.cpp
src/inkview.cpp
src/preferences.cpp
src/preferences.h
src/prefs-utils.cpp
src/prefs-utils.h
src/selection-chemistry.cpp
src/sp-ellipse.cpp
src/ui/clipboard.cpp
src/ui/context-menu.cpp
src/ui/dialog/extension-editor.cpp
src/ui/dialog/filter-effects-dialog.cpp
src/ui/dialog/inkscape-preferences.cpp
src/ui/dialog/inkscape-preferences.h
src/ui/dialog/ocaldialogs.cpp
src/ui/dialog/whiteboard-connect.cpp
src/ui/dialog/whiteboard-sharewithchat.cpp
src/ui/widget/preferences-widget.cpp
src/ui/widget/preferences-widget.h
src/widgets/desktop-widget.cpp
src/widgets/toolbox.cpp