diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-01-29 06:36:03 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-01-30 22:02:11 +0800 |
commit | 8d85229f8fc9ff0e27b1f7790f61605c04337d7b (patch) | |
tree | 20d2dd06cc12df2fda95b3af7920a9e2e50cb997 /calendar/gui/e-memo-table.c | |
parent | 7c02582ae70e45d58bf0966d60e23b50f854a06a (diff) | |
download | gsoc2013-evolution-8d85229f8fc9ff0e27b1f7790f61605c04337d7b.tar.gz gsoc2013-evolution-8d85229f8fc9ff0e27b1f7790f61605c04337d7b.tar.zst gsoc2013-evolution-8d85229f8fc9ff0e27b1f7790f61605c04337d7b.zip |
Sidebar cleanups for Memos and Tasks.
Kill the EMemoTable::user-created signal and connect directly to
ECalModel::row-appended in e_memo_shell_view_private.c.
Same goes for tasks.
Diffstat (limited to 'calendar/gui/e-memo-table.c')
-rw-r--r-- | calendar/gui/e-memo-table.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/calendar/gui/e-memo-table.c b/calendar/gui/e-memo-table.c index 459fff3e15..24eded5223 100644 --- a/calendar/gui/e-memo-table.c +++ b/calendar/gui/e-memo-table.c @@ -84,7 +84,6 @@ enum { OPEN_COMPONENT, POPUP_EVENT, STATUS_MESSAGE, - USER_CREATED, LAST_SIGNAL }; @@ -125,14 +124,6 @@ memo_table_emit_status_message (EMemoTable *memo_table, g_signal_emit (memo_table, signal_id, 0, message, percent); } -static void -memo_table_emit_user_created (EMemoTable *memo_table) -{ - guint signal_id = signals[USER_CREATED]; - - g_signal_emit (memo_table, signal_id, 0); -} - /* Returns the current time, for the ECellDateEdit items. FIXME: Should probably use the timezone of the item rather than the current timezone, though that may be difficult to get from here. */ @@ -219,10 +210,6 @@ memo_table_set_model (EMemoTable *memo_table, memo_table->priv->model = g_object_ref (model); g_signal_connect_swapped ( - model, "row-appended", - G_CALLBACK (memo_table_emit_user_created), memo_table); - - g_signal_connect_swapped ( model, "cal-view-progress", G_CALLBACK (memo_table_model_cal_view_progress_cb), memo_table); @@ -1110,15 +1097,6 @@ memo_table_class_init (EMemoTableClass *class) e_marshal_VOID__STRING_DOUBLE, G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_DOUBLE); - - signals[USER_CREATED] = g_signal_new ( - "user-created", - G_TYPE_FROM_CLASS (class), - G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, - G_STRUCT_OFFSET (EMemoTableClass, user_created), - NULL, NULL, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE, 0); } static void |