[dconf-editor] Minor cleaning.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf-editor] Minor cleaning.
- Date: Mon, 1 Aug 2016 22:55:56 +0000 (UTC)
commit 0df4fb99e307b5dc555d769c067248c1e2bf0cd7
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Tue Aug 2 00:55:41 2016 +0200
Minor cleaning.
editor/dconf-window.vala | 17 ++++++-----------
1 files changed, 6 insertions(+), 11 deletions(-)
---
diff --git a/editor/dconf-window.vala b/editor/dconf-window.vala
index c8e1cb3..cb4f310 100644
--- a/editor/dconf-window.vala
+++ b/editor/dconf-window.vala
@@ -61,7 +61,7 @@ class DConfWindow : ApplicationWindow
{
add_action_entries (action_entries, this);
- behaviour_changed_handler = settings.changed ["behaviour"].connect (invalidate_popovers);
+ behaviour_changed_handler = settings.changed ["behaviour"].connect
(registry_view.invalidate_popovers);
set_default_size (settings.get_int ("window-width"), settings.get_int ("window-height"));
if (settings.get_boolean ("window-is-maximized"))
@@ -208,14 +208,9 @@ class DConfWindow : ApplicationWindow
}
/*\
- * *
+ * * Path changing
\*/
- private void invalidate_popovers ()
- {
- registry_view.invalidate_popovers ();
- }
-
[GtkCallback]
private void request_path (string full_name)
{
@@ -223,10 +218,6 @@ class DConfWindow : ApplicationWindow
registry_view.request_path (full_name);
}
- /*\
- * * Action entries
- \*/
-
public void update_hamburger_menu ()
{
GLib.Menu section;
@@ -258,6 +249,10 @@ class DConfWindow : ApplicationWindow
info_button.set_menu_model ((MenuModel) menu);
}
+ /*\
+ * * Action entries
+ \*/
+
private void reset ()
{
registry_view.reset (false);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]