Thu, 15 May 2025 22:55:59 -0500
Add a Developer Settings preference pane
Right now this just toggles the purple developer-mode setting
Testing Done:
Toggled the preference a few times and verified the keyfile was updated for it. Also called in the turtles.
Reviewed at https://reviews.imfreedom.org/r/4005/
<?xml version="1.0" encoding="UTF-8"?> <!-- Pidgin - Internet Messenger Copyright (C) Pidgin Developers <devel@pidgin.im> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, see <https://www.gnu.org/licenses/>. --> <interface> <requires lib="gtk" version="4.0"/> <requires lib="Adw" version="1.0"/> <!-- interface-license-type gplv2 --> <!-- interface-name Pidgin --> <!-- interface-description Internet Messenger --> <!-- interface-copyright Pidgin Developers <devel@pidgin.im> --> <template class="PidginDeveloperPrefs" parent="AdwPreferencesPage"> <property name="icon-name">preferences-system-symbolic</property> <property name="title" translatable="yes">Development</property> <child> <object class="AdwPreferencesGroup"> <property name="title" translatable="yes">Development Settings</property> <child> <object class="AdwSwitchRow" id="developer_mode"> <property name="title" translatable="yes">_Developer Mode</property> <property name="use-underline">true</property> </object> </child> </object> </child> </template> </interface>