* mu-msg-view.c: stub implementation of action-signal handling

This commit is contained in:
Dirk-Jan C. Binnema 2011-01-13 21:43:18 +02:00
parent 28b832a9a2
commit 2e4a94d0d6
1 changed files with 10 additions and 0 deletions

View File

@ -92,6 +92,13 @@ get_header_widget (MuMsgView *self)
return self->_priv->_headers = mu_msg_header_view_new ();
}
static void
on_body_action_requested (MuMsgBodyView *body, const char* action,
MuMsgView *self)
{
g_printerr ("received request: %s\n", action);
}
static GtkWidget*
get_body_widget (MuMsgView *self)
@ -103,6 +110,9 @@ get_body_widget (MuMsgView *self)
gtk_container_add (GTK_CONTAINER(scrolledwin),
self->_priv->_body);
g_signal_connect (self->_priv->_body, "action-requested",
G_CALLBACK(on_body_action_requested), self);
return scrolledwin;
}