[dconf-editor] Make update() private.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf-editor] Make update() private.
- Date: Sat, 26 Sep 2015 09:15:22 +0000 (UTC)
commit 1f58226608052a27de477d3201b807fe74555cd8
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Sat Sep 26 11:15:09 2015 +0200
Make update() private.
editor/dconf-window.vala | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/editor/dconf-window.vala b/editor/dconf-window.vala
index fc9dc4e..68bf568 100644
--- a/editor/dconf-window.vala
+++ b/editor/dconf-window.vala
@@ -74,7 +74,6 @@ class DConfWindow : ApplicationWindow
key_editor.set_transient_for (this);
key_editor.run ();
});
- key.value_changed.connect (() => { key_list_box_row.update (); });
return key_list_box_row;
}
else
@@ -252,9 +251,11 @@ private class KeyListBoxRowEditable : KeyListBoxRow
if (gettext_domain != null)
summary = dgettext (gettext_domain, summary);
key_info_label.label = summary.strip ();
+
+ key.value_changed.connect (() => { update (); });
}
- public void update ()
+ private void update ()
{
attr_list.change (Pango.attr_weight_new (key.is_default ? Pango.Weight.NORMAL : Pango.Weight.BOLD));
// TODO good?
key_name_label.set_attributes (attr_list);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]