[gnome-tweak-tool] desktop: Implement mockup from Design Team
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweak-tool] desktop: Implement mockup from Design Team
- Date: Mon, 29 May 2017 15:09:19 +0000 (UTC)
commit 71d001d63589cf26a97a84087f554bc11ff8f0a1
Author: Jeremy Bicha <jbicha ubuntu com>
Date: Sun May 28 11:39:54 2017 -0400
desktop: Implement mockup from Design Team
https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/tweak-tool/tweak-tool-wires.png
https://bugzilla.gnome.org/show_bug.cgi?id=783176
gtweak/tweaks/tweak_group_desktop.py | 24 +++++++++++-------------
1 files changed, 11 insertions(+), 13 deletions(-)
---
diff --git a/gtweak/tweaks/tweak_group_desktop.py b/gtweak/tweaks/tweak_group_desktop.py
index cd49b4b..b134222 100644
--- a/gtweak/tweaks/tweak_group_desktop.py
+++ b/gtweak/tweaks/tweak_group_desktop.py
@@ -15,26 +15,24 @@
# You should have received a copy of the GNU General Public License
# along with gnome-tweak-tool. If not, see <http://www.gnu.org/licenses/>.
-from gi.repository import Gtk
+from gtweak.widgets import ListBoxTweakGroup, GSettingsSwitchTweak, GSettingsComboEnumTweak,
GSettingsFileChooserButtonTweak, Title
-from gtweak.widgets import ListBoxTweakGroup, GSettingsSwitchTweak, GSettingsComboEnumTweak,
GSettingsFileChooserButtonTweak, GSettingsCheckTweak, Title
-
-dicons = GSettingsSwitchTweak(_("Icons on Desktop"),"org.gnome.desktop.background","show-desktop-icons")
+dicons = GSettingsSwitchTweak(_("Show Icons"),"org.gnome.desktop.background","show-desktop-icons")
TWEAK_GROUPS = [
ListBoxTweakGroup(_("Desktop"),
+ Title(_("Icons on Desktop"), "", uid="title-theme"),
dicons,
- GSettingsCheckTweak(_("Computer"),"org.gnome.nautilus.desktop", "computer-icon-visible",
depends_on=dicons, schema_filename="org.gnome.nautilus.gschema.xml"),
- GSettingsCheckTweak(_("Home"),"org.gnome.nautilus.desktop", "home-icon-visible", depends_on=dicons,
schema_filename="org.gnome.nautilus.gschema.xml"),
- GSettingsCheckTweak(_("Network Servers"),"org.gnome.nautilus.desktop", "network-icon-visible",
depends_on=dicons, schema_filename="org.gnome.nautilus.gschema.xml"),
- GSettingsCheckTweak(_("Trash"),"org.gnome.nautilus.desktop", "trash-icon-visible",
depends_on=dicons, schema_filename="org.gnome.nautilus.gschema.xml"),
- GSettingsCheckTweak(_("Mounted Volumes"),"org.gnome.nautilus.desktop", "volumes-visible",
depends_on=dicons, schema_filename="org.gnome.nautilus.gschema.xml"),
+ GSettingsSwitchTweak(_("Home"),"org.gnome.nautilus.desktop", "home-icon-visible", depends_on=dicons,
schema_filename="org.gnome.nautilus.gschema.xml"),
+ GSettingsSwitchTweak(_("Network Servers"),"org.gnome.nautilus.desktop", "network-icon-visible",
depends_on=dicons, schema_filename="org.gnome.nautilus.gschema.xml"),
+ GSettingsSwitchTweak(_("Trash"),"org.gnome.nautilus.desktop", "trash-icon-visible",
depends_on=dicons, schema_filename="org.gnome.nautilus.gschema.xml"),
+ GSettingsSwitchTweak(_("Mounted Volumes"),"org.gnome.nautilus.desktop", "volumes-visible",
depends_on=dicons, schema_filename="org.gnome.nautilus.gschema.xml"),
Title(_("Background"), "", uid="title-theme"),
- GSettingsComboEnumTweak(_("Mode"),"org.gnome.desktop.background", "picture-options"),
- GSettingsFileChooserButtonTweak(_("Background Location"),"org.gnome.desktop.background",
"picture-uri", local_only=True, mimetypes=["application/xml","image/png","image/jpeg"]),
+ GSettingsFileChooserButtonTweak(_("Image"),"org.gnome.desktop.background", "picture-uri",
local_only=True, mimetypes=["application/xml","image/png","image/jpeg"]),
+ GSettingsComboEnumTweak(_("Adjustment"),"org.gnome.desktop.background", "picture-options"),
Title(_("Lock Screen"), "", uid="title-theme"),
- GSettingsComboEnumTweak(_("Mode"),"org.gnome.desktop.screensaver", "picture-options"),
- GSettingsFileChooserButtonTweak(_("Lock Screen Location"),"org.gnome.desktop.screensaver",
"picture-uri", local_only=True, mimetypes=["application/xml","image/png","image/jpeg"]),
+ GSettingsFileChooserButtonTweak(_("Image"),"org.gnome.desktop.screensaver", "picture-uri",
local_only=True, mimetypes=["application/xml","image/png","image/jpeg"]),
+ GSettingsComboEnumTweak(_("Adjustment"),"org.gnome.desktop.screensaver", "picture-options"),
#Title(_("Files"), ""),
#GSettingsSwitchTweak(_("Use location entry"), "org.gnome.nautilus.preferences",
"always-use-location-entry",schema_filename="org.gnome.nautilus.gschema.xml"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]