1 diff -Naur activity-log-manager-0.9.7.orig/src/blacklist-dbus.vala activity-log-manager-0.9.7/src/blacklist-dbus.vala
2 --- activity-log-manager-0.9.7.orig/src/blacklist-dbus.vala 2015-07-17 02:38:04.290396888 +0000
3 +++ activity-log-manager-0.9.7/src/blacklist-dbus.vala 2015-07-17 02:38:33.883637191 +0000
8 - public async void find_events (string id, TreeIter iter, ListStore store)
9 + public async void find_events (string id, TreeIter iter, Gtk.ListStore store)
11 Event event = new Event();
12 event.manifestation = Zeitgeist.ZG.USER_ACTIVITY;
14 store.set_value(iter, 5, counter);
17 - public void get_count_for_app (string app_id, TreeIter iter, ListStore store) {
18 + public void get_count_for_app (string app_id, TreeIter iter, Gtk.ListStore store) {
19 find_events(app_id, iter, store);
22 diff -Naur activity-log-manager-0.9.7.orig/src/security-widget.vala activity-log-manager-0.9.7/src/security-widget.vala
23 --- activity-log-manager-0.9.7.orig/src/security-widget.vala 2015-07-17 02:38:04.290396888 +0000
24 +++ activity-log-manager-0.9.7/src/security-widget.vala 2015-07-17 02:38:33.950303649 +0000
27 private void set_up_ui () {
29 - var liststore_delay = new ListStore (2, typeof (string), typeof (int));
30 + var liststore_delay = new Gtk.ListStore (2, typeof (string), typeof (int));
32 liststore_delay.append (out iter);
33 liststore_delay.set (iter, 0, "1 second", 1, 0);
34 diff -Naur activity-log-manager-0.9.7.orig/src/unified-privacy-applications.vala activity-log-manager-0.9.7/src/unified-privacy-applications.vala
35 --- activity-log-manager-0.9.7.orig/src/unified-privacy-applications.vala 2015-07-17 02:38:04.290396888 +0000
36 +++ activity-log-manager-0.9.7/src/unified-privacy-applications.vala 2015-07-17 02:38:33.936970357 +0000
41 - public void get_count_for_app(string id, TreeIter iter, ListStore store) {
42 + public void get_count_for_app(string id, TreeIter iter, Gtk.ListStore store) {
43 this.blacklist_interface.get_count_for_app(id, iter, store);
47 private class ApplicationsTreeView : Gtk.Box {
49 private ApplicationBlacklist app_blacklist;
50 - private ListStore store;
51 + private Gtk.ListStore store;
52 private TreeView treeview;
54 HashTable<string, AppChooseInfo> blocked_apps;
59 - public ListStore liststore {
60 + public Gtk.ListStore liststore {
65 this.blocked_apps = blocked;
66 this.unblocked_apps = unblocked;
68 - this.store = new ListStore (TreeViewCols.N_COLS,
69 + this.store = new Gtk.ListStore (TreeViewCols.N_COLS,
74 private class AppSelectionTreeView : Gtk.Box {
76 private ApplicationBlacklist app_blacklist;
77 - private ListStore store;
78 + private Gtk.ListStore store;
79 private TreeView treeview;
86 - public ListStore liststore {
87 + public Gtk.ListStore liststore {
93 this.app_blacklist = app_blacklist;
95 - this.store = new ListStore (TreeViewCols.N_COLS,
96 + this.store = new Gtk.ListStore (TreeViewCols.N_COLS,
104 - public ListStore liststore {
105 + public Gtk.ListStore liststore {
107 return treeview.liststore;
109 diff -Naur activity-log-manager-0.9.7.orig/src/unified-privacy.vala activity-log-manager-0.9.7/src/unified-privacy.vala
110 --- activity-log-manager-0.9.7.orig/src/unified-privacy.vala 2015-07-17 02:38:04.290396888 +0000
111 +++ activity-log-manager-0.9.7/src/unified-privacy.vala 2015-07-17 02:38:33.886970514 +0000
115 private TreeView exception_list;
116 - private ListStore exception_list_store;
117 + private Gtk.ListStore exception_list_store;
119 private Switch record_button;
122 exception_vbox.pack_start (al2, false, false, 5);
124 // Exception TreeView
125 - this.exception_list_store = new ListStore (4,
126 + this.exception_list_store = new Gtk.ListStore (4,
127 typeof(string), // Full file path of application desktop file.
128 typeof(Gdk.Pixbuf?), // Pixbuf
129 typeof(string), // File basename or ApplicationName
131 // Add/Remove buttons
132 var exception_toolbar = new Toolbar();
133 exception_toolbar.toolbar_style = ToolbarStyle.ICONS;
134 - exception_toolbar.icon_size = 1;
135 + exception_toolbar.icon_size = Gtk.IconSize.MENU;
136 exception_toolbar.icon_size_set = true;
137 exception_toolbar.visible = true;