Commit 4d887b85 authored by Alberts Muktupāvels's avatar Alberts Muktupāvels

data: add new settings for icon sizes

Add menu-icon-size and panel-max-icon-size settings that will be
used by applets to allow user control icon size on panels.

menu-icon-size setting will be used for icons in menus and is
intended to replace existing panel-menu setting.

panel-max-icon-size setting will be used to limit icon size and
is intended to replace existing panel-menu-bar setting.
parent 5ce96e7a
...@@ -7,6 +7,21 @@ ...@@ -7,6 +7,21 @@
<child name="run-dialog" schema="org.gnome.gnome-panel.run-dialog"/> <child name="run-dialog" schema="org.gnome.gnome-panel.run-dialog"/>
</schema> </schema>
<enum id='org.gnome.gnome-panel.menu-icon-size'>
<value nick='16px' value='16'/>
<value nick='22px' value='22'/>
<value nick='24px' value='24'/>
</enum>
<enum id='org.gnome.gnome-panel.panel-max-icon-size'>
<value nick='16px' value='16'/>
<value nick='22px' value='22'/>
<value nick='24px' value='24'/>
<value nick='32px' value='32'/>
<value nick='48px' value='48'/>
<value nick='64px' value='64'/>
</enum>
<enum id='org.gnome.gnome-panel.icon-size'> <enum id='org.gnome.gnome-panel.icon-size'>
<value nick='16px' value='1'/> <value nick='16px' value='1'/>
<value nick='24px' value='3'/> <value nick='24px' value='3'/>
...@@ -25,6 +40,19 @@ ...@@ -25,6 +40,19 @@
<summary>Confirm panel removal</summary> <summary>Confirm panel removal</summary>
<description>If true, a dialog is shown asking for confirmation if the user wants to remove a panel.</description> <description>If true, a dialog is shown asking for confirmation if the user wants to remove a panel.</description>
</key> </key>
<key name="menu-icon-size" enum="org.gnome.gnome-panel.menu-icon-size">
<default>'24px'</default>
<summary>Icon size in menus</summary>
<description>The size of icons in menus.</description>
</key>
<key name="panel-max-icon-size" enum="org.gnome.gnome-panel.panel-max-icon-size">
<default>'48px'</default>
<summary>Maximum icon size in panels</summary>
<description>The maximum size of icons in panels.</description>
</key>
<key name="panel-menu" enum="org.gnome.gnome-panel.icon-size"> <key name="panel-menu" enum="org.gnome.gnome-panel.icon-size">
<default>'24px'</default> <default>'24px'</default>
<summary>Icon size in the menus</summary> <summary>Icon size in the menus</summary>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment