aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-model.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2001-10-20 01:43:31 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2001-10-20 01:43:31 +0800
commit3e517a00308004b021cb5a02fa8ae17dfc30040f (patch)
treed98e620bd7c9e9e8131f07fc1cd09bfafc0c3c7a /calendar/gui/calendar-model.c
parentcc15e1dca6d00f6ec693c70117ed3bd48ec68291 (diff)
downloadgsoc2013-evolution-3e517a00308004b021cb5a02fa8ae17dfc30040f.tar.gz
gsoc2013-evolution-3e517a00308004b021cb5a02fa8ae17dfc30040f.tar.zst
gsoc2013-evolution-3e517a00308004b021cb5a02fa8ae17dfc30040f.zip
make it a public function
2001-10-19 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-model.c (calendar_model_set_status_message): make it a public function * gui/e-tasks.c (e_tasks_open): display progress messages (cal_opened_cb): clean up status bar messages * gui/gnome-cal.c (gnome_calendar_open): display progress messages (client_cal_opened_cb): clean up status bar messages svn path=/trunk/; revision=13796
Diffstat (limited to 'calendar/gui/calendar-model.c')
-rw-r--r--calendar/gui/calendar-model.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c
index cb152a5e6b..6b0dd31540 100644
--- a/calendar/gui/calendar-model.c
+++ b/calendar/gui/calendar-model.c
@@ -108,7 +108,6 @@ static void *calendar_model_initialize_value (ETableModel *etm, int col);
static gboolean calendar_model_value_is_empty (ETableModel *etm, int col, const void *value);
static char * calendar_model_value_to_string (ETableModel *etm, int col, const void *value);
static int remove_object (CalendarModel *model, const char *uid);
-static void set_status_message (CalendarModel *model, const char *message);
static void ensure_task_complete (CalComponent *comp,
time_t completed_date);
static void ensure_task_not_complete (CalComponent *comp);
@@ -1869,7 +1868,7 @@ query_query_done_cb (CalQuery *query, CalQueryDoneStatus status, const char *err
/* FIXME */
- set_status_message (model, NULL);
+ calendar_model_set_status_message (model, NULL);
if (status != CAL_QUERY_DONE_SUCCESS)
fprintf (stderr, "query done: %s\n", error_str);
@@ -1885,7 +1884,7 @@ query_eval_error_cb (CalQuery *query, const char *error_str, gpointer data)
/* FIXME */
- set_status_message (model, NULL);
+ calendar_model_set_status_message (model, NULL);
fprintf (stderr, "eval error: %s\n", error_str);
}
@@ -2008,7 +2007,7 @@ update_query (CalendarModel *model)
g_assert (priv->sexp != NULL);
real_sexp = adjust_query_sexp (model, priv->sexp);
- set_status_message (model, _("Searching"));
+ calendar_model_set_status_message (model, _("Searching"));
priv->query = cal_client_get_query (priv->client, real_sexp);
g_free (real_sexp);
@@ -2102,8 +2101,8 @@ remove_object (CalendarModel *model, const char *uid)
#define EVOLUTION_TASKS_PROGRESS_IMAGE "evolution-tasks-mini.png"
static GdkPixbuf *progress_icon[2] = { NULL, NULL };
-static void
-set_status_message (CalendarModel *model, const char *message)
+void
+calendar_model_set_status_message (CalendarModel *model, const char *message)
{
extern EvolutionShellClient *global_shell_client; /* ugly */
CalendarModelPrivate *priv;