diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2009-04-10 08:08:34 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2009-04-10 08:08:34 +0000 |
| commit | 32b9d05212ad61481f72b3db06b3d455c4fa5d7e (patch) | |
| tree | 8bf10f2d96cbe905bd5ea1a739bc216ec7caa18f /src/ui/dialog/inkscape-preferences.cpp | |
| parent | Cleaning up some filters again (diff) | |
| download | inkscape-32b9d05212ad61481f72b3db06b3d455c4fa5d7e.tar.gz inkscape-32b9d05212ad61481f72b3db06b3d455c4fa5d7e.zip | |
Adding initial system info listing.
(bzr r7677)
Diffstat (limited to 'src/ui/dialog/inkscape-preferences.cpp')
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index a18cb6903..32a97d059 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -1265,6 +1265,23 @@ void InkscapePreferences::initPageMisc() _page_misc.add_line( false, "", _misc_namedicon_delay, "", _("When on, named icons will be rendered before displaying the ui. This is for working around bugs in GTK+ named icon notification"), true); + + { + Glib::ustring tmp; + tmp += "User config: "; + tmp += Glib::get_user_config_dir(); + tmp += "\n"; + + tmp += "User data: "; + tmp += Glib::get_user_data_dir(); + tmp += "\n"; + + _misc_info.get_buffer()->insert(_misc_info.get_buffer()->end(), tmp); + } + _misc_info.set_editable(false); + _misc_info_scroll.add(_misc_info); + _page_misc.add_line( false, "", _misc_info_scroll, "", _("General system information"), true); + this->AddPage(_page_misc, _("Misc"), PREFS_PAGE_MISC); } |
