From: Jose Dapena Paz Date: Tue, 15 Jan 2008 12:31:31 +0000 (+0000) Subject: * src/modest-ui-dimming-rules.c: X-Git-Tag: git_migration_finished~1805 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=83e0c548b9d02f1d989c9994542631e061850027;hp=7ac7623369da3b6aff179e50ea2c6b4ecb5c5612 * src/modest-ui-dimming-rules.c: * Change the dimming rule of editor remove attachments action to only dim if no attachments are selected (and then allowing to remove more than one attachment). Fixed NB#78873. pmo-trunk-r4039 --- diff --git a/src/modest-ui-dimming-rules.c b/src/modest-ui-dimming-rules.c index 34c4d53..d75b5cd 100644 --- a/src/modest-ui-dimming-rules.c +++ b/src/modest-ui-dimming-rules.c @@ -1566,7 +1566,7 @@ modest_ui_dimming_rules_on_editor_remove_attachment (ModestWindow *win, gpointer n_att_selected = tny_list_get_length (selected_attachments); g_object_unref (selected_attachments); - dimmed = (n_att_selected != 1); + dimmed = (n_att_selected < 1); } return dimmed;