gint retval;
const gchar *infostring=g_strconcat("Please enter the password for ", account_name, ".", NULL);
-
passdialog = gtk_dialog_new_with_buttons("MyDialog",
NULL,
GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT,
NULL);
break;
case GTK_RESPONSE_CANCEL:
- g_message("Dann halt nich!\n");
+ /* FIXME:
+ * What happens, if canceled?"
+ */
break;
}
ModestTnyAccountStorePrivate *priv;
gchar *val;
- g_message (__FUNCTION__);
+ g_message (__FUNCTION__);
g_return_val_if_fail (account, NULL);
MODEST_ACCOUNT_PASSWORD,
NULL);
if (!val || strlen(val)==0)
- {
- g_message("Key vor Aufruf: %s", key);
- /* g_signal_emit (G_OBJECT(self), signals[PASSWORD_REQUESTED_SIGNAL], 0, key); */
- g_signal_emit (G_OBJECT(self), signals[PASSWORD_REQUESTED_SIGNAL], 0, key);
+ {
+ /* FIXME:
+ * append the prompt to the emitted signal,
+ * so the password dialog shows the prompt supplied by the caller of this function.
+ */
+ g_signal_emit (G_OBJECT(self), signals[PASSWORD_REQUESTED_SIGNAL], 0,
+ key);
}
}
-ModestAccountMgr *modest_tny_account_store_get_accout_mgr(ModestTnyAccountStore *self)
+ModestAccountMgr
+*modest_tny_account_store_get_accout_mgr(ModestTnyAccountStore *self)
{
ModestTnyAccountStorePrivate *priv;
g_return_val_if_fail (self, NULL);