[gnome-boxes/wip/props-ui-files: 4/12] props-page-widget: Add boolean reboot_required field
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/wip/props-ui-files: 4/12] props-page-widget: Add boolean reboot_required field
- Date: Thu, 18 Aug 2016 10:00:42 +0000 (UTC)
commit aa0f5f49c4c8f89dd0acc20520d8ea60e7ad2d40
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Jun 1 20:08:31 2016 +0100
props-page-widget: Add boolean reboot_required field
Similar to previous commit, this also duplicate an API of Property class
in preparation for dropping Property hierarchy in favor of new
PropertiesPageWidget hierarchy.
src/properties-page-widget.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/properties-page-widget.vala b/src/properties-page-widget.vala
index 357a431..6734f36 100644
--- a/src/properties-page-widget.vala
+++ b/src/properties-page-widget.vala
@@ -3,6 +3,7 @@ using Gtk;
private class Boxes.PropertiesPageWidget: Gtk.Box {
public bool empty;
+ public bool reboot_required;
private Gtk.Grid grid;
private List<Boxes.Property> properties;
@@ -83,7 +84,7 @@ private class Boxes.PropertiesPageWidget: Gtk.Box {
}
public bool flush_changes () {
- var reboot_required = false;
+ var reboot_required = this.reboot_required;
foreach (var property in properties) {
property.flush ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]