GCallback callback);
static void setup_menu (ModestAccountsWindow *self);
+static void modest_accounts_window_show_toolbar (ModestWindow *self,
+ gboolean show_toolbar);
+
typedef struct _ModestAccountsWindowPrivate ModestAccountsWindowPrivate;
struct _ModestAccountsWindowPrivate {
modest_window_class->zoom_minus_func = on_zoom_minus_plus_not_implemented;
modest_window_class->zoom_plus_func = on_zoom_minus_plus_not_implemented;
+ modest_window_class->show_toolbar_func = modest_accounts_window_show_toolbar;
modest_window_class->disconnect_signals_func = modest_accounts_window_disconnect_signals;
}
}
+static void
+modest_accounts_window_show_toolbar (ModestWindow *self,
+ gboolean show_toolbar)
+{
+ /* Empty implementation, this view does not show any
+ toolbar */
+}
self);
/* Mail Operation Queue */
- priv->queue_change_handler = g_signal_connect (G_OBJECT (modest_runtime_get_mail_operation_queue ()),
- "queue-changed",
- G_CALLBACK (on_queue_changed),
- self);
-
+ priv->queue_change_handler =
+ g_signal_connect (G_OBJECT (modest_runtime_get_mail_operation_queue ()),
+ "queue-changed",
+ G_CALLBACK (on_queue_changed),
+ self);
}
static void
ModestMailOperation *mail_op,
ModestMailOperationQueueNotification type,
ModestHeaderWindow *self)
-{
+{
ModestHeaderWindowPrivate *priv;
priv = MODEST_HEADER_WINDOW_GET_PRIVATE (self);
/* If this operations was created by another window, do nothing */
if (!modest_mail_operation_is_mine (mail_op, G_OBJECT(self)))
- return;
+ return;
if (type == MODEST_MAIL_OPERATION_QUEUE_OPERATION_ADDED) {
priv->sighandlers = modest_signal_mgr_connect (priv->sighandlers,
"operation-finished");
}
}
-