[gnome-tweak-tool] Add nautils always-use-location-entry
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweak-tool] Add nautils always-use-location-entry
- Date: Thu, 15 Mar 2012 08:54:58 +0000 (UTC)
commit 10cc73aa77cd016ec5c6f27227d9126e360fcfef
Author: John Stowers <john stowers gmail com>
Date: Tue Mar 13 15:11:29 2012 +0100
Add nautils always-use-location-entry
gtweak/tweakmodel.py | 1 +
gtweak/tweaks/tweak_nautilus.py | 4 +++-
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gtweak/tweakmodel.py b/gtweak/tweakmodel.py
index 558a329..37a5b18 100644
--- a/gtweak/tweakmodel.py
+++ b/gtweak/tweakmodel.py
@@ -27,6 +27,7 @@ TWEAK_GROUP_FONTS = _("Fonts")
TWEAK_GROUP_THEME = _("Theme")
TWEAK_GROUP_DESKTOP = _("Desktop")
TWEAK_GROUP_WINDOWS = _("Windows")
+TWEAK_GROUP_FILES = _("Files")
LOG = logging.getLogger(__name__)
diff --git a/gtweak/tweaks/tweak_nautilus.py b/gtweak/tweaks/tweak_nautilus.py
index 6a95ce3..e2f8bed 100644
--- a/gtweak/tweaks/tweak_nautilus.py
+++ b/gtweak/tweaks/tweak_nautilus.py
@@ -19,7 +19,7 @@ from gi.repository import Gtk
import gtweak
from gtweak.utils import AutostartManager
-from gtweak.tweakmodel import TWEAK_GROUP_DESKTOP
+from gtweak.tweakmodel import TWEAK_GROUP_DESKTOP, TWEAK_GROUP_FILES
from gtweak.widgets import GSettingsSwitchTweak
class DesktopIconTweak(GSettingsSwitchTweak):
@@ -50,4 +50,6 @@ TWEAKS = (
GSettingsSwitchTweak("org.gnome.nautilus.desktop", "network-icon-visible", schema_filename="org.gnome.nautilus.gschema.xml",group_name=TWEAK_GROUP_DESKTOP),
GSettingsSwitchTweak("org.gnome.nautilus.desktop", "trash-icon-visible", schema_filename="org.gnome.nautilus.gschema.xml",group_name=TWEAK_GROUP_DESKTOP),
GSettingsSwitchTweak("org.gnome.nautilus.desktop", "volumes-visible", schema_filename="org.gnome.nautilus.gschema.xml",group_name=TWEAK_GROUP_DESKTOP),
+ GSettingsSwitchTweak("org.gnome.nautilus.preferences", "always-use-location-entry",
+schema_filename="org.gnome.nautilus.gschema.xml",group_name=TWEAK_GROUP_FILES),
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]