[gnome-boxes] app-window: Default value for view_type property
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] app-window: Default value for view_type property
- Date: Mon, 21 Sep 2015 17:57:14 +0000 (UTC)
commit 95b03d66ad92b153a2a27858c7b4ab914e7e3dee
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Sep 21 18:49:39 2015 +0100
app-window: Default value for view_type property
src/app-window.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/app-window.vala b/src/app-window.vala
index d2d20fc..5ad8c83 100644
--- a/src/app-window.vala
+++ b/src/app-window.vala
@@ -98,7 +98,7 @@ private class Boxes.AppWindow: Gtk.ApplicationWindow, Boxes.UI {
[GtkChild]
private ListView list_view;
- public ViewType view_type { get; set; }
+ public ViewType view_type { get; set; default = ViewType.ICON; }
public ICollectionView view {
get {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]