[dconf-editor] Disable bookmarks and hamburger buttons on search.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf-editor] Disable bookmarks and hamburger buttons on search.
- Date: Thu, 30 Nov 2017 15:34:55 +0000 (UTC)
commit 693e90c870f8ad67d77189dea6a47a0b43d35929
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Thu Nov 30 16:34:10 2017 +0100
Disable bookmarks and hamburger buttons on search.
editor/dconf-editor.ui | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/editor/dconf-editor.ui b/editor/dconf-editor.ui
index 1c859b6..eea6e47 100644
--- a/editor/dconf-editor.ui
+++ b/editor/dconf-editor.ui
@@ -30,6 +30,7 @@
<property name="visible">True</property>
<property name="valign">center</property>
<property name="focus-on-click">False</property>
+ <property name="sensitive" bind-source="search-toggle" bind-property="active"
bind-flags="sync-create|invert-boolean"/>
<accelerator key="F10" signal="clicked"/> <!-- TODO report bug: property binding has to be
defined before accelerator -->
<signal name="clicked" handler="on_menu_button_clicked"/>
<style>
@@ -54,7 +55,7 @@
</packing>
</child>
<child>
- <object class="GtkToggleButton">
+ <object class="GtkToggleButton" id="search-toggle">
<property name="visible">True</property>
<property name="valign">center</property>
<property name="active" bind-source="search_bar" bind-property="search-mode-enabled"
bind-flags="bidirectional">False</property>
@@ -88,6 +89,7 @@
<property name="valign">center</property>
<property name="focus-on-click">False</property>
<property name="schema-id">ca.desrt.dconf-editor.Settings</property>
+ <property name="sensitive" bind-source="search-toggle" bind-property="active"
bind-flags="sync-create|invert-boolean"/>
<signal name="clicked" handler="on_menu_button_clicked"/>
<signal name="request_path" handler="request_path"/>
<!-- <accelerator key="B" signal="activate" modifiers="GDK_CONTROL_MASK"/> TODO -->
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]