[dconf-editor] Disallow (un)bookmarking in search mode.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf-editor] Disallow (un)bookmarking in search mode.
- Date: Mon, 11 Dec 2017 12:48:07 +0000 (UTC)
commit 9aa64584a94646c0de02a0895ad9e77b6dd7134b
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Dec 11 13:47:50 2017 +0100
Disallow (un)bookmarking in search mode.
editor/dconf-window.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/editor/dconf-window.vala b/editor/dconf-window.vala
index 27c4a7e..3f231d2 100644
--- a/editor/dconf-window.vala
+++ b/editor/dconf-window.vala
@@ -482,12 +482,16 @@ class DConfWindow : ApplicationWindow
bookmarks_button.clicked ();
return true;
case "d":
+ if (bookmarks_button.sensitive == false)
+ return true;
if (info_button.active)
info_button.active = false;
browser_view.discard_row_popover ();
bookmarks_button.set_bookmarked (true);
return true;
case "D":
+ if (bookmarks_button.sensitive == false)
+ return true;
if (info_button.active)
info_button.active = false;
browser_view.discard_row_popover ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]