[latexila] Build View: special icon for parent BuildMsg
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Build View: special icon for parent BuildMsg
- Date: Sun, 31 Jul 2011 00:07:54 +0000 (UTC)
commit e49cb9a3626c6319ad97f592557d538f4b40144e
Author: SÃbastien Wilmet <swilmet src gnome org>
Date: Sun Jul 31 01:39:17 2011 +0200
Build View: special icon for parent BuildMsg
src/build_view.vala | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/src/build_view.vala b/src/build_view.vala
index 6d4d981..8e2698c 100644
--- a/src/build_view.vala
+++ b/src/build_view.vala
@@ -277,7 +277,14 @@ public class BuildView : HBox
while (cur_node != null)
{
TreeIter iter = append_single_message (partition_id, cur_node.data);
- append_messages (iter, cur_node);
+
+ // the node contains children
+ if (cur_node.children != null)
+ {
+ _store.set (iter, BuildInfo.ICON, "completion_choice", -1);
+ append_messages (iter, cur_node);
+ }
+
cur_node = cur_node.next_sibling ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]