projects
/
beifahrer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cc4db6b
)
Show name in lift list
author
Philipp Zabel
<philipp.zabel@gmail.com>
Fri, 28 May 2010 16:50:47 +0000
(18:50 +0200)
committer
Philipp Zabel
<philipp.zabel@gmail.com>
Fri, 28 May 2010 16:50:47 +0000
(18:50 +0200)
src/lift-list-window.vala
patch
|
blob
|
history
diff --git
a/src/lift-list-window.vala
b/src/lift-list-window.vala
index
6cf87c3
..
82e731e
100644
(file)
--- a/
src/lift-list-window.vala
+++ b/
src/lift-list-window.vala
@@
-57,7
+57,7
@@
public class LiftListWindow : StackableWindow {
selection.set_mode (SelectionMode.SINGLE);
// Source and destination column
selection.set_mode (SelectionMode.SINGLE);
// Source and destination column
- route_column = new TreeViewColumn.with_attributes ("Route", new CellRendererText (), "text", 0);
+ route_column = new TreeViewColumn.with_attributes ("Route", new CellRendererText (), "markup", 0);
route_column.set_reorderable (false);
route_column.set_sizing (TreeViewColumnSizing.AUTOSIZE);
route_column.set_expand (true);
route_column.set_reorderable (false);
route_column.set_sizing (TreeViewColumnSizing.AUTOSIZE);
route_column.set_expand (true);
@@
-154,8
+154,10
@@
public class LiftListWindow : StackableWindow {
store.@get (iter, 5, out lift2);
if (lift2 == null)
continue;
store.@get (iter, 5, out lift2);
if (lift2 == null)
continue;
- if (lift2.description == null)
+ if (lift2.description == null) {
yield adac.update_lift_details (lift2);
yield adac.update_lift_details (lift2);
+ store.@set (iter, 0, lift2.city_from + " - " + lift2.city_to + "\n<small>" + lift2.name + "</small>");
+ }
} while (store.iter_next (ref iter));
}
} while (store.iter_next (ref iter));
}