~ubuntu-branches/debian/squeeze/tasks/squeeze

« back to all changes in this revision

Viewing changes to src/hildon/hildon-tasks.c

  • Committer: Bazaar Package Importer
  • Author(s): Ross Burton, Loic Minier
  • Date: 2008-02-20 17:24:42 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20080220172442-rso0p0yngsf414dy
Tags: 0.13-1
[ Loic Minier ]

* New upstream release.
* Bump up Standards-Version to 3.7.3.
* Rework to build a Hildon flavour of the package.
  - New binary package tasks-hildon; add conflicts with tasks and update
    descriptions; add install file; this package must be the first in the
    control file as to permit the dbg symbols for the standard tasks package
    to be in tasks-dbg instead of the tasks-hildon ones.
  - Add build hooks for configure, build, and install to add flavour /
    package specific rules and configure flags.
  - Build-dep on libhildon-1-dev, libdbus-1-dev, libhildonmime-dev for the
    Hildon flavour.
* Add explicit Copyright statement to debian/copyright.
* Use ${binary:Version} instead of ${Source-Version}; build-dep on dpkg-dev
  >= 1.13.19.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Original Copyright (C) 2007 OpenedHand Ltd
 
2
 * Copyright (C) 2007 OpenedHand Ltd.
3
3
 * Derived from gtk/main.c.
4
 
 * Derivations (C) Rob Bradford <rob@o-hand.com> 2007
 
4
 * Authored by: Rob Bradford <rob@o-hand.com>
5
5
 *
6
6
 * This program is free software; you can redistribute it and/or modify it under
7
7
 * the terms of the GNU General Public License as published by the Free Software
24
24
#include <glib/gi18n.h>
25
25
#include <gtk/gtk.h>
26
26
 
27
 
#include <osso-uri.h>
28
 
#include <hildon-widgets/hildon-program.h>
 
27
#include <hildon-uri.h>
 
28
#include <hildon/hildon-program.h>
29
29
 
30
30
#include <libkoto/ical-util.h>
31
31
#include <libkoto/koto-category-group.h>
52
52
{
53
53
  GError *error = NULL;
54
54
 
55
 
  if (!osso_uri_open (url, NULL, &error)) {
 
55
  if (!hildon_uri_open (url, NULL, &error)) {
56
56
    g_warning ("Cannot open URL: %s", error->message);
57
57
    g_error_free (error);
58
58
  }
246
246
    g_warning (G_STRLOC ": cannot get iterator for path");
247
247
    return;
248
248
  }
249
 
  gtk_tree_model_get (model, &iter, COLUMN_ICAL, &task, -1);
 
249
  gtk_tree_model_get (model, &iter, COLUMN_TASK, &task, -1);
250
250
 
251
251
  edit_task (task);
252
252
 
293
293
 
294
294
  gtk_tree_model_filter_convert_iter_to_child_iter (GTK_TREE_MODEL_FILTER (filter), &real_iter, &iter);
295
295
  
296
 
  koto_task_store_set_done (KOTO_TASK_STORE (task_store), &real_iter, TRUE);
 
296
  koto_task_store_set_done (KOTO_TASK_STORE (task_store), &real_iter, TRUE, NULL);
297
297
}
298
298
 
299
299
/*
350
350
 
351
351
  gtk_tree_model_get (model, iter,
352
352
                      COLUMN_DONE, &done,
353
 
                      COLUMN_ICAL, &task,
 
353
                      COLUMN_TASK, &task,
354
354
                      -1);
355
355
  
356
356
  if (done) {