On showing the check names "select contact" dialog, filter properly case.
[modest] / src / hildon2 / modest-platform.c
index 8bf47cc..e857ca9 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);
@@ -997,7 +998,7 @@ modest_platform_run_folder_common_dialog (GtkWindow *parent_window,
                                          gchar **folder_name,
                                          TnyFolderStore **parent)
 {
-       GtkWidget *accept_btn = NULL; 
+       GtkWidget *accept_btn = NULL;
        GtkWidget *dialog, *entry = NULL, *label_entry = NULL,  *label_location = NULL, *hbox;
        GtkWidget *account_picker = NULL;
        GList *buttons = NULL;
@@ -1604,10 +1605,12 @@ modest_platform_on_new_headers_received (GList *URI_list,
        app_in_foreground = hildon_program_get_is_topmost (hildon_program_get_instance ());
        screen_on = modest_window_mgr_screen_is_on (modest_runtime_get_window_mgr ());
 
-       /* If the screen is on and the app is in the
-          foreground we don't show anything */
-       if (screen_on && app_in_foreground)
+       /* If the screen is on and the app is in the foreground we
+          don't show anything, just play a chime */
+       if (screen_on && app_in_foreground) {
+               modest_platform_play_email_tone ();
                return;
+       }
 
        if (g_list_length (URI_list) == 0)
                return;
@@ -2939,6 +2942,7 @@ on_move_to_dialog_row_activated (GtkTreeView       *tree_view,
        } else {
                move_to_dialog_set_selected_folder_store (dialog, selected);
        }
+       g_object_unref (selected);
 }
 
 static void