~ilja-smoli/do/gtg

« back to all changes in this revision

Viewing changes to GTG/src/GTGAction.cs

  • Committer: Tomaž Muraus
  • Date: 2010-03-31 14:02:27 UTC
  • Revision ID: kami@k5-storitve.net-20100331140227-6n8x324143fv1zey
Tasks list is now updated after adding a new task using gnome-do.

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
                        
96
96
                protected Item[] TextItemPerform (ITextItem item)
97
97
                {
 
98
                        GTGTaskItemSource gtgItemSource = new GTGTaskItemSource();
98
99
                        string itemText = item.Text;
99
100
 
100
101
                        if (itemText.Length == 0)
153
154
                        
154
155
                        task.Title = itemText;
155
156
                        gtg.CreateTask(task);
 
157
                        gtgItemSource.UpdateItems();
156
158
                                
157
159
                        return null;
158
160
                }