X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-account-view.c;h=7a828fb789938dc849c2011d9ea7d70f4bb1af8e;hb=3ddc19113ea89a4ec61a855f4856bde2143c4694;hp=488eb2ac01e366f16f937a47c5e02dac119cc434;hpb=a5db1fe7224c89bed97fe9a8135981a443e3f299;p=modest diff --git a/src/widgets/modest-account-view.c b/src/widgets/modest-account-view.c index 488eb2a..7a828fb 100644 --- a/src/widgets/modest-account-view.c +++ b/src/widgets/modest-account-view.c @@ -256,9 +256,9 @@ update_account_view (ModestAccountMgr *account_mgr, ModestAccountView *view) static void on_account_busy_changed(ModestAccountMgr *account_mgr, - const gchar *account_name, - gboolean busy, - ModestAccountView *self) + const gchar *account_name, + gboolean busy, + ModestAccountView *self) { GtkListStore *model = GTK_LIST_STORE(gtk_tree_view_get_model (GTK_TREE_VIEW(self))); GtkTreeIter iter; @@ -485,10 +485,11 @@ init_view (ModestAccountView *self) * * djcb: indeed, they have been removed for post-bora, i added the ifdefs... */ -#ifdef MODEST_HILDON_VERSION_0 +#ifdef MODEST_HAVE_HILDON0_WIDGETS g_object_set(G_OBJECT(self), "allow-checkbox-mode", FALSE, NULL); g_object_set(G_OBJECT(toggle_renderer), "checkbox-mode", FALSE, NULL); -#endif /*MODEST_HILDON_VERSION_0 */ +#endif /* MODEST_HAVE_HILDON0_WIDGETS */ + g_signal_connect (G_OBJECT(toggle_renderer), "toggled", G_CALLBACK(on_account_default_toggled), self);