Show the welcome page in wizard inside a pannable.
[modest] / src / hildon2 / modest-platform.c
index 0223d15..de5d03f 100644 (file)
@@ -475,9 +475,9 @@ modest_platform_show_uri_popup (const gchar *uri)
                 * and/or might have security implications
                 * we still allow to copy the url though
                 */
-               if (!g_str_has_prefix (uri, "file:")) {                 
-               
-                       GSList *node;                   
+               if (!g_str_has_prefix (uri, "file:")) {
+
+                       GSList *node;
                        popup_info->actions = actions_list;
                        popup_info->uri = g_strdup (uri);
 
@@ -489,6 +489,7 @@ modest_platform_show_uri_popup (const gchar *uri)
                                action_name = hildon_uri_action_get_name (action);
                                translation_domain = hildon_uri_action_get_translation_domain (action);
                                menu_item = gtk_menu_item_new_with_label (dgettext(translation_domain, action_name));
+                               hildon_gtk_widget_set_theme_size (menu_item, MODEST_EDITABLE_SIZE);
                                g_object_set_data (G_OBJECT(menu_item), HILDON_OSSO_URI_ACTION, (gpointer)action_name);  /* hack */
                                g_signal_connect (G_OBJECT (menu_item), "activate", G_CALLBACK (activate_uri_popup_item),
                                                  popup_info);
@@ -1648,6 +1649,10 @@ modest_platform_on_new_headers_received (GList *URI_list,
                                            -1);
 
        /* Set the led pattern */
+       if (data->time)
+               notify_notification_set_hint_int32 (NOTIFY_NOTIFICATION (notification),
+                                                   "time", data->time);
+
        notify_notification_set_hint_int32 (NOTIFY_NOTIFICATION (notification),
                                            "dialog-type", 4);
        notify_notification_set_hint_string(NOTIFY_NOTIFICATION (notification),
@@ -2069,14 +2074,17 @@ modest_platform_run_certificate_confirmation_dialog (const gchar* server_name,
           example. With GTK_RESPONSE_HELP the view button is aligned
           to the left while the other two to the right */
        note = hildon_note_new_confirmation_add_buttons  (
-               NULL,
+               (GtkWindow *) win,
                question,
                _HL("wdgt_bd_yes"),     GTK_RESPONSE_OK,
                _HL("wdgt_bd_view"),          GTK_RESPONSE_APPLY,   /* abusing this... */
                _HL("wdgt_bd_no"), GTK_RESPONSE_CANCEL,
                NULL, NULL);
 
-       g_signal_connect (G_OBJECT(note), "response", 
+       modest_window_mgr_set_modal (modest_runtime_get_window_mgr (),
+                                    (GtkWindow *) note, (GtkWindow *) win);
+
+       g_signal_connect (G_OBJECT(note), "response",
                          G_CALLBACK(on_cert_dialog_response),
                          (gpointer) certificate);