aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-11-25 22:20:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-11-25 22:20:19 +0800
commit7a086cbcd0592e4c133c5761c65fa291b6d05d04 (patch)
tree2325d4f2a30b4fe60686096f1247bed88a93344f
parent643851bf598b4f903af96ef41aae259b886ae1af (diff)
downloadgsoc2013-evolution-7a086cbcd0592e4c133c5761c65fa291b6d05d04.tar.gz
gsoc2013-evolution-7a086cbcd0592e4c133c5761c65fa291b6d05d04.tar.zst
gsoc2013-evolution-7a086cbcd0592e4c133c5761c65fa291b6d05d04.zip
BugĀ 602799 - "Mark for Follow Up" menu item glitches
-rw-r--r--mail/e-mail-reader.c25
-rw-r--r--ui/evolution-mail.ui2
2 files changed, 26 insertions, 1 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index 847ffd2aa0..f70b32af6a 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -1582,6 +1582,14 @@ static EPopupActionEntry mail_reader_popup_entries[] = {
NULL,
"mail-delete" },
+ { "mail-popup-flag-clear",
+ NULL,
+ "mail-flag-clear" },
+
+ { "mail-popup-flag-completed",
+ NULL,
+ "mail-flag-completed" },
+
{ "mail-popup-flag-for-followup",
N_("Mark for Follo_w Up..."),
"mail-flag-for-followup" },
@@ -2124,6 +2132,21 @@ mail_reader_update_actions (EMailReader *reader)
action = e_mail_reader_get_action (reader, action_name);
gtk_action_set_sensitive (action, sensitive);
+ action_name = "mail-flag-clear";
+ sensitive = enable_flag_clear;
+ action = e_mail_reader_get_action (reader, action_name);
+ gtk_action_set_sensitive (action, sensitive);
+
+ action_name = "mail-flag-completed";
+ sensitive = enable_flag_completed;
+ action = e_mail_reader_get_action (reader, action_name);
+ gtk_action_set_sensitive (action, sensitive);
+
+ action_name = "mail-flag-for-followup";
+ sensitive = enable_flag_for_followup;
+ action = e_mail_reader_get_action (reader, action_name);
+ gtk_action_set_sensitive (action, sensitive);
+
action_name = "mail-forward";
sensitive = have_an_account && any_messages_selected;
action = e_mail_reader_get_action (reader, action_name);
@@ -2727,7 +2750,7 @@ e_mail_reader_check_state (EMailReader *reader)
can_clear_flags = TRUE;
tag = camel_message_info_user_tag (
info, "completed-on");
- if (tag != NULL && *tag != '\0')
+ if (tag == NULL || *tag == '\0')
can_flag_completed = TRUE;
} else
can_flag_for_followup = TRUE;
diff --git a/ui/evolution-mail.ui b/ui/evolution-mail.ui
index 0964971b83..f2c162c387 100644
--- a/ui/evolution-mail.ui
+++ b/ui/evolution-mail.ui
@@ -101,6 +101,8 @@
<menuitem action='mail-popup-mark-junk'/>
<menuitem action='mail-popup-mark-notjunk'/>
<menuitem action='mail-popup-flag-for-followup'/>
+ <menuitem action="mail-popup-flag-clear"/>
+ <menuitem action="mail-popup-flag-completed"/>
<menu action='mail-label-menu'>
<menuitem action='mail-label-none'/>
<separator/>
12-110/+36 * - Update to 4.56.jmelo2006-06-015-15/+27 * - Update to 0.9.6pav2006-05-319-54/+83 * Mark BROKEN on 4.xerwin2006-05-301-0/+4 * - Update to 0.2.4apav2006-05-303-8/+7 * - Update to 4.1.6apav2006-05-304-7/+8 * - Update to 0.0.4apav2006-05-304-8/+20 * Update to 1.25lth2006-05-292-4/+10 * Update to 1.02skv2006-05-292-4/+4 * devel/pkgconfig -> devel/pkg-configmezz2006-05-281-1/+1 * Add aircrack-ng 0.5, aircrack-ng is the next generation of aircrack.clsung2006-05-275-0/+64 * Update to 2.3.1.lawrance2006-05-276-8/+28 * Fix packing listhq2006-05-271-0/+1 * - Grant maintainershippav2006-05-261-1/+1 * - Update to 1.3mnag2006-05-252-4/+4 * - Change dependencies reflecting update in graphics/ImageMagickmnag2006-05-241-2/+2 * - Update to bsd.java.mk 2.0hq2006-05-243-35/+41 * BROKEN on 7.x: Does not compilekris2006-05-221-1/+7 * Update to 0.10.2krion2006-05-192-4/+4 * Add py-twistedSNMP: Twisted Python framework for doing SNMP stuffsat2006-05-165-0/+151 * Update to Nagios Plugins 1.4.3:pav2006-05-1515-234/+214 * Take over maintainership by agreement with anders@.des2006-05-151-1/+1 * Update to 3.33.tobez2006-05-132-4/+4 * Remove USE_REINPLACE from all categories starting with Nedwin2006-05-1246-49/+0 * Bugfix with tarball rerolloed.itetcu2006-05-122-3/+4 * Update to 0.0.15.itetcu2006-05-112-4/+4 * Chase gmp library and bump PORTREVISION.ale2006-05-101-2/+2 * - USE_RC_SUBR= filename instead of "yes", this simplies Makefileclsung2006-05-0812-67/+22 * nagiosgraph is an application to collect performance data from nagiospav2006-05-075-0/+86 * - Update to 0.0.14pav2006-05-073-12/+21 * - Update to 2.3mnag2006-05-076-12/+24 * Update to 3.32.tobez2006-05-022-6/+6 * - Update to 2.5.1mnag2006-04-303-98/+27 * - Add --zero-delay optionmnag2006-04-305-8/+51 * Fix critical typo:-(.nork2006-04-292-2/+2 * Update to 1.12erwin2006-04-2610-708/+161 * fix file to patcholiver2006-04-261-2/+2 * - Update to 1.2.4.20060412pav2006-04-2612-90/+280 * The start script assumes that group name == user name. This goes wrongoliver2006-04-242-1/+24 * Fix WWW line.krion2006-04-231-1/+1 * BROKEN: Does not compilekris2006-04-231-0/+2 * Update to 0.10.1krion2006-04-222-6/+5 * - add nettop-0.2.3leeym2006-04-215-0/+65 * Don't send arp reply to sender if the arp request queriesnork2006-04-202-6/+17 * - Update to 4.55mnag2006-04-184-27/+48 * Set PORTDOCS, forgot when addedgarga2006-04-181-2/+4 * PySNMP is fully functional SNMP v.1 engine (BER encoders/decodersgarga2006-04-175-0/+88 * PySNMP is fully functional SNMP v.1 engine (BER encoders/decodersgarga2006-04-175-0/+588 * Set CONFLICTS to recently added py-snmp4garga2006-04-171-0/+2 * PySNMP is fully functional SNMP v.1 engine (BER encoders/decodersgarga2006-04-175-0/+404 * Change maintainer email address.cperciva2006-04-161-1/+1 * - Fix df(1) output in query_unix_partitions.plsem2006-04-164-1/+22 * Important bugfixes:pav2006-04-162-0/+206 * - Update to 2.2pav2006-04-166-12/+12 * Reset markp due to lack of response to email and maintainer-timeouts.linimon2006-04-152-2/+2 * Update to 2.0.8lth2006-04-155-8/+33 * Add an unofficial Google Map support.novel2006-04-135-2/+59 * Fix 'make index'mr2006-04-081-6/+2 * Improved choparp.nork2006-04-083-4/+95 * - Mark broken on 4.Xpav2006-04-042-2/+14 * - Update to 1.02pav2006-04-0211-179/+336 * Nagcon is a console application interfacing to Nagios 2.0 which givespav2006-04-026-0/+63 * - Update check_snmp_counter to 0.6 and check_snmp_if to 0.6pav2006-04-023-23/+17 * - Update to 0.9pav2006-04-023-11/+9 * - Retire net-mgmt/nfdump-develpav2006-04-027-155/+0 * - Update to 1.5pav2006-04-026-9/+67 * - Make ARPDIR configurablepav2006-04-022-5/+18 * - Unbreak: install into www/nagios instead share/nagiospav2006-04-023-9/+16 * - Reset longterm inactive maintainerpav2006-04-021-1/+1 * - Update to 0.40pav2006-04-022-3/+4 * - Update to 1.2pav2006-04-023-7/+14 * - Update to 0.4.10pav2006-04-026-28/+35 * - Update to 1.0.9.1pav2006-04-023-32/+5 * - Update to 0.06pav2006-04-012-7/+7 * Add net-mgtm/p5-Net-IP-Resolver 0.01, a Perl module to resolve IPs to atobez2006-03-285-0/+48 * Add net-mgmt/p5-Net-IP-Match-XS 0.03, a Perl module to efficiently matchtobez2006-03-285-0/+50 * - Update to 1.018mnag2006-03-242-5/+5 * - Update to 2.0.6garga2006-03-234-6/+26 * Update to 0.10.0krion2006-03-232-4/+4 * - Update libstatgrab to 0.13tdb2006-03-201-1/+2 * Reset maintainer at his request due to current lack of FreeBSD time.linimon2006-03-193-3/+3 * - Update MASTER_SITES, WWWpav2006-03-192-11/+7 * Update to 1.47skv2006-03-162-5/+4 * Update to 0.10.0rc3krion2006-03-162-5/+4 * Drop maintainership.novel2006-03-161-1/+1 * - Update to 1.2.3mnag2006-03-158-30/+52 * - Cacti developers has modified one of oficial patches.sem2006-03-143-6/+6 * Bump PORTREVISION on glib12/gtk12 consumer ports to ease the upgrade path.ade2006-03-073-3/+3 * Fix build.krion2006-02-251-0/+1 * Conversion to a single libtool environment.ade2006-02-2321-73/+68 * Update to 0.17:vd2006-02-212-5/+4 * - Update to 1.2ehaupt2006-02-212-11/+32 * Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.dougb2006-02-2116-16/+5 * Update to 0.10.0rc2 version.krion2006-02-202-5/+5 * - Add bwm-ng:tdb2006-02-204-0/+43 * - Preserve modified config filemnag2006-02-205-32/+46 * - Update to 1.2mnag2006-02-193-6/+8 * Do not install harmless, but unnecessary dependencies.tobez2006-02-181-4/+4 * Add net-mgmt/rubygem-snmp:brooks2006-02-165-0/+517 * Remove mrtg lock and pid files before starting daemon.demon2006-02-161-0/+7 * - Update to 2.0.5ehaupt2006-02-155-33/+14 * - update to 1.053ehaupt2006-02-152-6/+5 * upgrade to 0.51edwin2006-02-134-4/+26 * Update to 2.0.4.lawrance2006-02-127-79/+33 * Reset maintainership to ports@ after ~4 months without any response to anynetchild2006-02-121-1/+1 * Update to 2.0 release.demon2006-02-104-10/+8 * Update to 2.13.2.demon2006-02-083-23/+6 * Add bsnmpd and snmpd to REQUIRE section so mrtg daemon starts afterdemon2006-02-081-1/+1 * - Update to 4.51tdb2006-02-063-13/+14 * Install rcNG script to run mrtg in daemon mode.demon2006-02-064-0/+91 * Chase expat shlib version update.linimon2006-02-041-1/+2 * - Update to 1.1barner2006-02-022-5/+5 * SHA256ifyedwin2006-02-0150-0/+56 * BROKEN: Does not installkris2006-01-292-0/+4 * Quench @dirrm warningkris2006-01-261-1/+1 * Suddently net-snmp does not use this directory anymore.arved2006-01-261-0/+1 * - Use OPTIONS and add an optional gpsmap support [1]novel2006-01-262-24/+35 * SHA256ifyedwin2006-01-244-5/+16 * SHA256ifyedwin2006-01-2452-0/+53 * Don't run swig, it is not necessary.arved2006-01-241-0/+12 * Fix build on 5.xerwin2006-01-232-14/+4 * Add SHA256 to my ports.vd2006-01-231-0/+1 * SHA256ifyedwin2006-01-232-0/+2 * BROKEN when WITHOUT_NLS: Does not build without gettextkris2006-01-231-0/+1 * Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-225-8/+8 * Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-22