Add inactive background color adjustment in prefs
This commit is contained in:
parent
6551dba9dc
commit
272328c82d
|
@ -340,6 +340,11 @@
|
||||||
<property name="step-increment">0.10</property>
|
<property name="step-increment">0.10</property>
|
||||||
<property name="page-increment">0.20</property>
|
<property name="page-increment">0.20</property>
|
||||||
</object>
|
</object>
|
||||||
|
<object class="GtkAdjustment" id="adjustment8">
|
||||||
|
<property name="upper">1</property>
|
||||||
|
<property name="step-increment">0.10</property>
|
||||||
|
<property name="page-increment">0.20</property>
|
||||||
|
</object>
|
||||||
<object class="GtkAdjustment" id="adjustment_cellheight">
|
<object class="GtkAdjustment" id="adjustment_cellheight">
|
||||||
<property name="lower">1</property>
|
<property name="lower">1</property>
|
||||||
<property name="upper">2</property>
|
<property name="upper">2</property>
|
||||||
|
@ -887,7 +892,7 @@
|
||||||
<property name="spacing">36</property>
|
<property name="spacing">36</property>
|
||||||
<property name="homogeneous">True</property>
|
<property name="homogeneous">True</property>
|
||||||
<child>
|
<child>
|
||||||
<!-- n-columns=3 n-rows=6 -->
|
<!-- n-columns=3 n-rows=7 -->
|
||||||
<object class="GtkGrid" id="grid3">
|
<object class="GtkGrid" id="grid3">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can-focus">False</property>
|
<property name="can-focus">False</property>
|
||||||
|
@ -906,7 +911,7 @@
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left-attach">0</property>
|
<property name="left-attach">0</property>
|
||||||
<property name="top-attach">3</property>
|
<property name="top-attach">4</property>
|
||||||
<property name="width">3</property>
|
<property name="width">3</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
|
@ -960,7 +965,7 @@
|
||||||
<property name="can-focus">True</property>
|
<property name="can-focus">True</property>
|
||||||
<property name="halign">baseline</property>
|
<property name="halign">baseline</property>
|
||||||
<property name="hexpand">True</property>
|
<property name="hexpand">True</property>
|
||||||
<property name="adjustment">adjustment7</property>
|
<property name="adjustment">adjustment8</property>
|
||||||
<property name="round-digits">2</property>
|
<property name="round-digits">2</property>
|
||||||
<property name="digits">2</property>
|
<property name="digits">2</property>
|
||||||
<property name="draw-value">False</property>
|
<property name="draw-value">False</property>
|
||||||
|
@ -1030,7 +1035,7 @@
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left-attach">0</property>
|
<property name="left-attach">0</property>
|
||||||
<property name="top-attach">5</property>
|
<property name="top-attach">6</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
|
@ -1046,7 +1051,7 @@
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left-attach">1</property>
|
<property name="left-attach">1</property>
|
||||||
<property name="top-attach">5</property>
|
<property name="top-attach">6</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
|
@ -1064,7 +1069,7 @@
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left-attach">2</property>
|
<property name="left-attach">2</property>
|
||||||
<property name="top-attach">5</property>
|
<property name="top-attach">6</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
|
@ -1081,7 +1086,7 @@
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left-attach">2</property>
|
<property name="left-attach">2</property>
|
||||||
<property name="top-attach">4</property>
|
<property name="top-attach">5</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
|
@ -1097,7 +1102,7 @@
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left-attach">1</property>
|
<property name="left-attach">1</property>
|
||||||
<property name="top-attach">4</property>
|
<property name="top-attach">5</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
|
@ -1109,7 +1114,52 @@
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left-attach">0</property>
|
<property name="left-attach">0</property>
|
||||||
<property name="top-attach">4</property>
|
<property name="top-attach">5</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="label35">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="label" translatable="yes">Unfocused terminal background color</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left-attach">0</property>
|
||||||
|
<property name="top-attach">3</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="inactive_bg_color_offset_value_label">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="label" translatable="yes">100%</property>
|
||||||
|
<property name="justify">right</property>
|
||||||
|
<property name="width-chars">5</property>
|
||||||
|
<property name="max-width-chars">5</property>
|
||||||
|
<property name="xalign">1</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left-attach">1</property>
|
||||||
|
<property name="top-attach">3</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkScale" id="inactive_bg_color_offset">
|
||||||
|
<property name="width-request">100</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">True</property>
|
||||||
|
<property name="hexpand">True</property>
|
||||||
|
<property name="adjustment">adjustment7</property>
|
||||||
|
<property name="round-digits">2</property>
|
||||||
|
<property name="digits">2</property>
|
||||||
|
<property name="draw-value">False</property>
|
||||||
|
<property name="value-pos">bottom</property>
|
||||||
|
<signal name="value-changed" handler="on_inactive_bg_color_offset_value_changed" swapped="no"/>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left-attach">2</property>
|
||||||
|
<property name="top-attach">3</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
@ -3721,12 +3771,12 @@
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkVBox" id="vbox124">
|
<object class="GtkVBox" id="vbox124">
|
||||||
<child>
|
<property name="can-focus">False</property>
|
||||||
|
<child>
|
||||||
<object class="GtkEntry" id="keybindingsearchentry">
|
<object class="GtkEntry" id="keybindingsearchentry">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can-focus">True</property>
|
<property name="can-focus">True</property>
|
||||||
<property name="has-focus">False</property>
|
<property name="placeholder-text">filter keybindings</property>
|
||||||
<property name="placeholder_text">filter keybindings</property>
|
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="expand">False</property>
|
<property name="expand">False</property>
|
||||||
|
@ -3734,68 +3784,73 @@
|
||||||
<property name="position">0</property>
|
<property name="position">0</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
|
||||||
<object class="GtkScrolledWindow" id="scrolledwindow1">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">True</property>
|
|
||||||
<property name="vadjustment">adjustment4</property>
|
|
||||||
<property name="hscrollbar-policy">never</property>
|
|
||||||
<property name="shadow-type">in</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkTreeView" id="keybindingtreeview">
|
<object class="GtkScrolledWindow" id="scrolledwindow1">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can-focus">True</property>
|
<property name="can-focus">True</property>
|
||||||
<property name="has-focus">True</property>
|
<property name="vadjustment">adjustment4</property>
|
||||||
<property name="model">KeybindingsListStore</property>
|
<property name="hscrollbar-policy">never</property>
|
||||||
<property name="headers-clickable">False</property>
|
<property name="shadow-type">in</property>
|
||||||
<property name="search-column">0</property>
|
|
||||||
<child internal-child="selection">
|
|
||||||
<object class="GtkTreeSelection" id="treeview-selection4"/>
|
|
||||||
</child>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkTreeViewColumn" id="treeviewcolumn1">
|
<object class="GtkTreeView" id="keybindingtreeview">
|
||||||
<property name="title" translatable="yes">Name</property>
|
<property name="visible">True</property>
|
||||||
<child>
|
<property name="can-focus">True</property>
|
||||||
<object class="GtkCellRendererText" id="cellrenderertext10"/>
|
<property name="has-focus">True</property>
|
||||||
<attributes>
|
<property name="model">KeybindingsListStore</property>
|
||||||
<attribute name="text">0</attribute>
|
<property name="headers-clickable">False</property>
|
||||||
</attributes>
|
<property name="search-column">0</property>
|
||||||
|
<child internal-child="selection">
|
||||||
|
<object class="GtkTreeSelection" id="treeview-selection4"/>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkTreeViewColumn" id="treeviewcolumn2">
|
|
||||||
<property name="title" translatable="yes">Action</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkCellRendererText" id="cellrenderertext11"/>
|
<object class="GtkTreeViewColumn" id="treeviewcolumn1">
|
||||||
<attributes>
|
<property name="title" translatable="yes">Name</property>
|
||||||
<attribute name="text">1</attribute>
|
<child>
|
||||||
</attributes>
|
<object class="GtkCellRendererText" id="cellrenderertext10"/>
|
||||||
</child>
|
<attributes>
|
||||||
</object>
|
<attribute name="text">0</attribute>
|
||||||
</child>
|
</attributes>
|
||||||
<child>
|
</child>
|
||||||
<object class="GtkTreeViewColumn" id="treeviewcolumn3">
|
</object>
|
||||||
<property name="title" translatable="yes">Keybinding</property>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkCellRendererAccel" id="cellrendereraccel1">
|
<object class="GtkTreeViewColumn" id="treeviewcolumn2">
|
||||||
<property name="editable">True</property>
|
<property name="title" translatable="yes">Action</property>
|
||||||
<property name="accel-mode">other</property>
|
<child>
|
||||||
<signal name="accel-cleared" handler="on_cellrenderer_accel_cleared" object="KeybindingsListStore" swapped="yes"/>
|
<object class="GtkCellRendererText" id="cellrenderertext11"/>
|
||||||
<signal name="accel-edited" handler="on_cellrenderer_accel_edited" object="KeybindingsListStore" swapped="yes"/>
|
<attributes>
|
||||||
|
<attribute name="text">1</attribute>
|
||||||
|
</attributes>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkTreeViewColumn" id="treeviewcolumn3">
|
||||||
|
<property name="title" translatable="yes">Keybinding</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkCellRendererAccel" id="cellrendereraccel1">
|
||||||
|
<property name="editable">True</property>
|
||||||
|
<property name="accel-mode">other</property>
|
||||||
|
<signal name="accel-cleared" handler="on_cellrenderer_accel_cleared" object="KeybindingsListStore" swapped="yes"/>
|
||||||
|
<signal name="accel-edited" handler="on_cellrenderer_accel_edited" object="KeybindingsListStore" swapped="yes"/>
|
||||||
|
</object>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="accel-key">2</attribute>
|
||||||
|
<attribute name="accel-mods">3</attribute>
|
||||||
|
</attributes>
|
||||||
|
</child>
|
||||||
</object>
|
</object>
|
||||||
<attributes>
|
|
||||||
<attribute name="accel-key">2</attribute>
|
|
||||||
<attribute name="accel-mods">3</attribute>
|
|
||||||
</attributes>
|
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
|
||||||
</object>
|
|
||||||
<packing>
|
<packing>
|
||||||
<property name="position">3</property>
|
<property name="position">3</property>
|
||||||
</packing>
|
</packing>
|
||||||
|
|
Loading…
Reference in New Issue