-
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add show-icon setting for keyboard-layout applet
- Loading branch information
1 parent
7dfa026
commit aba13e1
Showing
5 changed files
with
146 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
src/panel/applets/keyboard-layout/com.solus-project.keyboard-layout.gschema.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<schemalist gettext-domain="budgie"> | ||
<schema id="com.solus-project.keyboard-layout"> | ||
<key type="b" name="show-icon"> | ||
<default>true</default> | ||
</key> | ||
</schema> | ||
</schemalist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gresources> | ||
<gresource prefix="/com/solus-project/keyboard-layout"> | ||
<file preprocess="xml-stripblanks">settings.ui</file> | ||
</gresource> | ||
</gresources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<interface> | ||
<requires lib="gtk+" version="3.12"/> | ||
<template class="KeyboardLayoutSettings" parent="GtkGrid"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="margin_left">8</property> | ||
<property name="margin_right">4</property> | ||
<property name="margin_top">4</property> | ||
<property name="margin_bottom">4</property> | ||
<property name="row_spacing">10</property> | ||
<property name="column_spacing">6</property> | ||
<child> | ||
<object class="GtkLabel" id="label1"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="halign">start</property> | ||
<property name="label" translatable="yes">Show icon</property> | ||
</object> | ||
<packing> | ||
<property name="left_attach">0</property> | ||
<property name="top_attach">0</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkSwitch" id="switch_icon"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">True</property> | ||
<property name="halign">end</property> | ||
<property name="hexpand">True</property> | ||
</object> | ||
<packing> | ||
<property name="left_attach">1</property> | ||
<property name="top_attach">0</property> | ||
</packing> | ||
</child> | ||
</template> | ||
</interface> |