[gnome-tweak-tool] typing: add show-all-sources switch
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-tweak-tool] typing: add show-all-sources switch
- Date: Fri,  5 Oct 2012 14:11:15 +0000 (UTC)
commit 5fa35749935c369c2e316280bd7f24567f343587
Author: Daiki Ueno <ueno unixuser org>
Date:   Thu Sep 27 16:40:03 2012 +0900
    typing: add show-all-sources switch
    
    Add a switch to "Typing" tab to allow users to show all the input sources.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684932
 gtweak/tweaks/tweak_typing.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gtweak/tweaks/tweak_typing.py b/gtweak/tweaks/tweak_typing.py
index 09a8863..cdd3661 100644
--- a/gtweak/tweaks/tweak_typing.py
+++ b/gtweak/tweaks/tweak_typing.py
@@ -22,7 +22,7 @@ import logging
 from gi.repository import Pango, Gtk, GnomeDesktop
 
 from gtweak.tweakmodel import Tweak, TweakGroup, TWEAK_GROUP_TYPING
-from gtweak.widgets import GSettingsComboEnumTweak, build_label_beside_widget
+from gtweak.widgets import GSettingsComboEnumTweak, GSettingsSwitchTweak, build_label_beside_widget
 from gtweak.gsettings import GSettingsSetting, GSettingsMissingError, GSettingsFakeSetting
 
 class _XkbOption(Tweak):
@@ -132,5 +132,8 @@ TWEAKS = (
                             "input-sources-switcher",
                             schema_filename="org.gnome.settings-daemon.peripherals.gschema.xml",
                             group_name=TWEAK_GROUP_TYPING),
+    GSettingsSwitchTweak("org.gnome.desktop.input-sources",
+                         "show-all-sources",
+                         group_name=TWEAK_GROUP_TYPING),
 )
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]