[gnome-tweak-tool] [tweak] support org.gnome.shell.clock:show-date
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweak-tool] [tweak] support org.gnome.shell.clock:show-date
- Date: Mon, 21 Mar 2011 08:56:54 +0000 (UTC)
commit f48ea806ae98c281f35dfd5e095fc4acc4506d61
Author: John Stowers <john stowers gmail com>
Date: Mon Mar 21 16:23:16 2011 +1300
[tweak] support org.gnome.shell.clock:show-date
NEWS | 3 +++
gtweak/tweaks/tweak_shell.py | 3 ++-
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index 684b3b0..770c4c4 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+2.91.XX
+ * Tweak shell clock to show date
+
2.91.92
* Initial Release
* Support shell theme change and installation
diff --git a/gtweak/tweaks/tweak_shell.py b/gtweak/tweaks/tweak_shell.py
index 37a8e32..9da81cd 100644
--- a/gtweak/tweaks/tweak_shell.py
+++ b/gtweak/tweaks/tweak_shell.py
@@ -9,7 +9,7 @@ from gi.repository import GLib
from gtweak.gsettings import GSettingsSetting
from gtweak.gshellwrapper import GnomeShell
from gtweak.tweakmodel import Tweak, TweakGroup
-from gtweak.widgets import GConfComboTweak, GSettingsComboEnumTweak, build_label_beside_widget, build_horizontal_sizegroup
+from gtweak.widgets import GConfComboTweak, GSettingsComboEnumTweak, GSettingsSwitchTweak, build_label_beside_widget, build_horizontal_sizegroup
class ShowWindowButtons(GConfComboTweak):
def __init__(self, **options):
@@ -141,6 +141,7 @@ TWEAK_GROUPS = (
"Shell",
ShowWindowButtons(size_group=sg),
ThemeInstaller(size_group=sg),
+ GSettingsSwitchTweak("org.gnome.shell.clock", "show-date", schema_filename="org.gnome.shell.gschema.xml"),
GSettingsComboEnumTweak("org.gnome.settings-daemon.plugins.power", "lid-close-battery-action", size_group=sg),
GSettingsComboEnumTweak("org.gnome.settings-daemon.plugins.power", "lid-close-ac-action", size_group=sg)),
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]