[gnome-boxes/wip/props-ui-files: 9/16] 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: 9/16] props-page-widget: Add boolean reboot_required field
- Date: Fri, 15 Jul 2016 14:55:14 +0000 (UTC)
commit 4286e3040e023ee695ef0944e084d320ebfc62d5
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]