Merge lp:~henning-wehrmann/conky-manager/conky-manager into lp:conky-manager

Proposed by heng
Status: Needs review
Proposed branch: lp:~henning-wehrmann/conky-manager/conky-manager
Merge into: lp:conky-manager
Diff against target: 74 lines (+7/-7)
3 files modified
src/EditThemeWindow.vala (+5/-5)
src/EditWidgetWindow.vala (+1/-1)
src/SettingsWindow.vala (+1/-1)
To merge this branch: bzr merge lp:~henning-wehrmann/conky-manager/conky-manager
Reviewer Review Type Date Requested Status
Tony George Pending
Review via email: mp+255939@code.launchpad.net

Description of the change

Changed ListStore to Gtk.ListStore to avoid ambiguity and build on vala 0.28.0

To post a comment you must log in.

Unmerged revisions

133. By heng

changed ListStore to Gtk.ListStore to avoid ambiguity

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/EditThemeWindow.vala'
2--- src/EditThemeWindow.vala 2014-07-13 18:02:09 +0000
3+++ src/EditThemeWindow.vala 2015-04-13 10:43:20 +0000
4@@ -107,7 +107,7 @@
5 (cell as Gtk.CellRendererText).text = type;
6 });
7
8- ListStore store = new ListStore(1, typeof(string));
9+ Gtk.ListStore store = new Gtk.ListStore(1, typeof(string));
10 TreeIter iter;
11 store.append(out iter);
12 store.set (iter, 0, _("None"));
13@@ -166,7 +166,7 @@
14 (cell as Gtk.CellRendererText).text = type;
15 });
16
17- store = new ListStore(1, typeof(string));
18+ store = new Gtk.ListStore(1, typeof(string));
19 foreach(string option in App.bg_scaling){
20 store.append(out iter);
21 store.set (iter, 0, option);
22@@ -266,7 +266,7 @@
23
24 private void cell_widget_enable_toggled (string path){
25 TreeIter iter;
26- ListStore model = (ListStore)tv_widget.model;
27+ Gtk.ListStore model = (Gtk.ListStore)tv_widget.model;
28 bool enabled;
29
30 model.get_iter_from_string (out iter, path);
31@@ -276,7 +276,7 @@
32 }
33
34 private void tv_widget_refresh(){
35- ListStore model = new ListStore(2, typeof(bool), typeof(ConkyRC));
36+ Gtk.ListStore model = new Gtk.ListStore(2, typeof(bool), typeof(ConkyRC));
37
38 var list = new Gee.ArrayList<string>();
39
40@@ -357,7 +357,7 @@
41
42 string txt = "";
43
44- ListStore model = (ListStore)tv_widget.model;
45+ Gtk.ListStore model = (Gtk.ListStore)tv_widget.model;
46 TreeIter iter;
47 bool enabled;
48 ConkyRC rc;
49
50=== modified file 'src/EditWidgetWindow.vala'
51--- src/EditWidgetWindow.vala 2014-07-01 15:03:15 +0000
52+++ src/EditWidgetWindow.vala 2015-04-13 10:43:20 +0000
53@@ -114,7 +114,7 @@
54
55 //populate
56 TreeIter iter;
57- ListStore model = new Gtk.ListStore (2, typeof (string), typeof (string));
58+ Gtk.ListStore model = new Gtk.ListStore (2, typeof (string), typeof (string));
59 model.append (out iter);
60 model.set (iter,0,_("Top Left"),1,"top_left");
61 model.append (out iter);
62
63=== modified file 'src/SettingsWindow.vala'
64--- src/SettingsWindow.vala 2014-07-01 15:03:15 +0000
65+++ src/SettingsWindow.vala 2015-04-13 10:43:20 +0000
66@@ -227,7 +227,7 @@
67 }
68
69 private void tv_folders_refresh(){
70- ListStore model = new ListStore(1, typeof(string));
71+ Gtk.ListStore model = new Gtk.ListStore(1, typeof(string));
72 TreeIter iter;
73 foreach (string path in folder_list_user){
74 model.append(out iter);

Subscribers

People subscribed via source and target branches