[dconf-editor] Allow to override default widgets states.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf-editor] Allow to override default widgets states.
- Date: Mon, 14 Jan 2019 13:47:13 +0000 (UTC)
commit 3116612276df2cda68ee0eeff922439f85db4ec9
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Jan 14 14:36:48 2019 +0100
Allow to override default widgets states.
That way, an application using BaseWindow can display
a window title in the headerbar center on large size.
editor/base-headerbar.vala | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/editor/base-headerbar.vala b/editor/base-headerbar.vala
index e533218..98263f1 100644
--- a/editor/base-headerbar.vala
+++ b/editor/base-headerbar.vala
@@ -245,6 +245,11 @@ private class BaseHeaderBar : NightTimeAwareHeaderBar, AdaptativeWidget
if (is_not_requested_mode (default_mode_id, requested_mode_id, ref _this.default_mode_on))
return;
+ _this.set_default_widgets_default_states (_this);
+ }
+
+ protected virtual void set_default_widgets_default_states (BaseHeaderBar _this)
+ {
_this.set_default_widgets_states (/* title_label text or null */ null,
/* show go_back_button */ false,
/* show ltr_left_separator */ false,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]