diff --git a/SettingsAbout.ui b/SettingsAbout.ui new file mode 100644 index 0000000..73c23bd --- /dev/null +++ b/SettingsAbout.ui @@ -0,0 +1,99 @@ + + + + + + About + document-properties + + + + + Info + + + + Version + + + ... + + + + + + + + Source + + + GitHub + True + center + https://github.com/jderose9/dash-to-panel + + + + + + + + + + + + Export and Import + + + + Export and import settings + Use the buttons below to create a settings file from your current preferences that can be imported on a different machine. + + + + + + + + 8 + 8 + 4 + 4 + 8 + end + + + Export to file + True + + + + + Import from file + True + + + + + + + + + + + + + + + + <span size="small">This program comes with ABSOLUTELY NO WARRANTY. See the <a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.html">GNU General Public License, version 2 or later</a> for details.</span> + True + center + True + + + + + + + \ No newline at end of file diff --git a/prefs.js b/prefs.js index 8f3e963..8e5b5ab 100644 --- a/prefs.js +++ b/prefs.js @@ -2488,9 +2488,8 @@ function fillPreferencesWindow(window) { pageFineTune.set_icon_name("document-properties"); window.add(pageFineTune); - let pageAbout = new Adw.PreferencesPage(); - pageAbout.set_title("About"); - pageAbout.set_icon_name("document-properties"); + builder.add_from_file(Me.path + '/SettingsAbout.ui'); + let pageAbout = builder.get_object('about'); window.add(pageAbout); }