aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/folder-browser.c16
2 files changed, 13 insertions, 8 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index bc4656abd9..4a111df44f 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
+
+ * folder-browser.c: Deactivate the Print right-click menu option
+ if the message isn't loaded. Fixes bug #10346.
+
2001-10-28 <NotZed@Ximian.com>
* mail-vfolder.c (mail_vfolder_rename_uri): Implemented.
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 1fb9b046ef..a210a98280 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -1444,7 +1444,7 @@ static EPopupMenu context_menu[] = {
{ N_("_Open"), NULL, GTK_SIGNAL_FUNC (open_msg), NULL, 0 },
{ N_("_Edit as New Message..."), NULL, GTK_SIGNAL_FUNC (resend_msg), NULL, CAN_RESEND },
{ N_("_Save As..."), NULL, GTK_SIGNAL_FUNC (save_msg), NULL, 0 },
- { N_("_Print"), NULL, GTK_SIGNAL_FUNC (print_msg), NULL, 0 },
+ { N_("_Print"), NULL, GTK_SIGNAL_FUNC (print_msg), NULL, SELECTION_SET },
E_POPUP_SEPARATOR,
@@ -1509,7 +1509,7 @@ on_right_click (ETree *tree, gint row, ETreePath path, gint col, GdkEvent *event
int i;
char *mlist = NULL;
GtkMenu *menu;
-
+
if (fb->folder != sent_folder) {
enable_mask |= CAN_RESEND;
hide_mask |= CAN_RESEND;
@@ -1519,20 +1519,20 @@ on_right_click (ETree *tree, gint row, ETreePath path, gint col, GdkEvent *event
enable_mask |= SELECTION_SET;
} else {
char *mname, *p, c, *o;
-
- mname = header_raw_check_mailing_list(&((CamelMimePart *)fb->mail_display->current_message)->headers);
+
+ mname = header_raw_check_mailing_list (&((CamelMimePart *)fb->mail_display->current_message)->headers);
/* Escape the mailing list name before showing it */
if (mname) {
- mlist = alloca(strlen(mname)+2);
+ mlist = alloca (strlen (mname)+2);
p = mname;
o = mlist;
while ((c = *p++)) {
- if (c=='_')
- *o++='_';
+ if (c == '_')
+ *o++ = '_';
*o++ = c;
}
*o = 0;
- g_free(mname);
+ g_free (mname);
}
}
s='deletions'>-3/+3 * Replace #!/usr/bin/perl with ${PERL}. Bump PORTREVISION.hrs2007-09-281-1/+4 * Dominic is a new dad, and will be too busy for a while to work on ports.linimon2007-09-241-2/+1 * new port: x11-fonts/fonts-indicedwin2007-09-245-0/+63 * Update to 2.20ahze2007-09-194-283/+4 * - Update X.org ports to 7.3.flz2007-09-1415-11/+29 * Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.linimon2007-09-081-7/+1 * - Update to 2.7sat2007-09-042-4/+4 * - Reduce dependencies[1].hrs2007-09-023-11/+19 * Update to 2.19ahze2007-08-063-8/+4 * Add a missing dependency on docbook-410 when building fontconfig withmarcus2007-07-291-0/+1 * - Set --mandir and --infodir in CONFIGURE_ARGS if the configure scriptrafan2007-07-232-2/+0 * - Drop maintainershippav2007-07-162-2/+2 * Update to 2.18ahze2007-07-043-6/+10 * Compile with FONTCACHE by default as before Xorg 7 and add WITHOUT_XFS_CACHElesi2007-07-031-1/+9 * Update to 1.0.3.lesi2007-07-033-5/+5 * Update to 1.0.1.lesi2007-07-033-5/+5 * - Update to 2.6sat2007-06-292-6/+5 * Update to 2.17ahze2007-06-282-4/+4 * Update to 2.16ahze2007-06-262-5/+4 * Update to release 3, to make fetchable again.thierry2007-06-022-5/+5 * Clenup share/X11 directory upon deinstall.lesi2007-05-311-0/+1 * move from X11BASE to LOCALBASEoliver2007-05-271-2/+2 * Fix the build of x11-fonts/xmbdfed with gcc42.keramida2007-05-271-0/+10 * LIBERATION font software consists of TrueType-OpenType formatted font softwarethierry2007-05-266-0/+94 * . change the prefix (/usr/X11 -> %{LOCALBASE}) at the configuration file; [1]bsam2007-05-236-18/+27 * Clean up pkg-message a bit:marck2007-05-232-11/+3 * Remove; moved to x11-fonts/encodingspav2007-05-205-113/+0 * - Welcome X.org 7.2 \o/.flz2007-05-20314-2445/+3860 * - Update to 2.5sat2007-04-152-4/+4 * Sync fontconfig with the fd.o git repository to fix a bug rendering DejaVumarcus2007-04-142-1/+81 * - update to 0.41leeym2007-04-062-4/+4 * - Update to 2.4sat2007-04-042-4/+10 * - Correct pkg-plist for newer fontconfigrafan2007-04-022-1/+1 * - Change my email.stas2007-03-281-1/+1 * Portlint:mezz2007-03-271-1/+1 * Include bsd.port.pre.mk before checking OPTIONS. Thanks my mentor fordryice2007-03-261-3/+5 * - fix plistdryice2007-03-262-2/+22 * Do not install config file as these fonts will automatically be loadedmarcus2007-03-252-8/+2 * - Fix plistpav2007-03-221-0/+1 * - Revert my previous commit; it was totally boguspav2007-03-221-1/+0 * - Fix plist for reference portpav2007-03-211-0/+1 * Presenting GNOME 2.18 for FreeBSD. GNOME 2.18 is a departure from recent GNOMEmarcus2007-03-1916-62/+1610 * Adding port x11-fonts/p5-Font-TTFMetrics, a Perl module for parsing TTF files.aaron2007-03-195-0/+50 * - Take maintainershipmiwi2007-03-121-1/+1 * - fc-match: Add 's' to getopt pattern, so -s is recognizedpav2007-03-102-1/+12 * update to 0.8.0dryice2007-03-072-6/+6 * Update to 2.15ahze2007-02-262-4/+4 * - Update to 2.3sat2007-02-163-14/+4 * - Update to 2.2sat2007-02-092-4/+4 * - remove unavailable WWW from pkg-descdryice2007-02-042-2/+1 * - Remove support for xfree86-3pav2007-02-035-39/+9 * Use libtool port instead of included version to avoid objformat a.out botchkris2007-02-012-0/+2 * Use libtool port instead of included version to avoid a.out objformat botchkris2007-01-301-0/+1 * Update to 2.14ahze2007-01-282-5/+5 * This is a port of te_IN fonts. Fonts like Pothana2000 and Vemana fontsmiwi2007-01-256-0/+62 * Add port x11-fonts/fntsample:sat2007-01-225-0/+56 * Update to 2.13ahze2006-12-302-4/+4 * Update to 0.6.12ehaupt2006-12-202-5/+5 * - Respect X11BASErafan2006-12-071-4/+4 * - Update to 2.12ahze2006-11-203-11/+6 * Change my email address to farrokhi@ in all ports that I maintain.farrokhi2006-11-081-1/+1 * - Update to 2.11ahze2006-11-022-4/+4 * - Pass maintainership to submittermiwi2006-11-013-4/+4 * Disable the CJK patchset as it is no longer needed after the recentmarcus2006-11-012-9/+6 * Disable the cjk patch, same with freetype2, it doesn't build.mezz2006-10-171-5/+5 * Chase the GNOME X11BASE to LOCALBASE move, and fix the build with themarcus2006-10-142-5/+5 * Presenting GNOME 2.16.1 for FreeBSD. This release represents a massivemarcus2006-10-142-6/+10 * Chase the new site.thierry2006-09-253-10/+9 * The author's page disapeared: host the distfile untill it will come back.thierry2006-09-031-2/+3 * NO_CDROM and NO_PACKAGE are not appropriate; use RESTRICTED insteadkris2006-09-031-2/+1 * NO_PACKAGE is not appropriate; use RESTRICTED instead. Mark BROKEN sincekris2006-09-031-1/+2 * - Use ../etc/fonts/conf.d mechanism for font configpav2006-08-296-36/+32 * Add junicode, a unicode font for medievalists (Latin, IPA and Runic).ehaupt2006-08-285-0/+63 * Commit my own version of DESTDIR-introduction recovery and modify themi2006-08-252-3/+6 * - Unbreakmiwi2006-08-211-5/+3 * - Update to 2.9ahze2006-08-212-4/+4 * - Update maintainer addressesmiwi2006-08-201-1/+1 * BROKEN: Does not buildkris2006-08-181-0/+2 * Fix after DESTDIR support was added.erwin2006-08-091-4/+3 * - Upgrade to 1.16;thierry2006-08-044-75/+16 * Update to 0.40erwin2006-08-013-60/+63 * - Update to 3.0.9itetcu2006-07-1910-33/+285 * - Unbreakmiwi2006-07-192-3/+5 * Note to self: first coffee, then commit.erwin2006-07-181-0/+0 * Readd the empty fonts.alias.cyberbit which is here in preparation forerwin2006-07-181-0/+0 * Remove fonts.alias stuffs.maho2006-07-184-9/+1 * - Update to 2.8ahze2006-07-172-4/+4 * Mark as broken: fails to deinstall cleanly.linimon2006-07-171-0/+2 * Remove zero-sized files.erwin2006-07-111-0/+0 * 1. Upgrade linux infrostructure ports from FC3 to FC4.bsam2006-07-109-45/+48 * - Update to 4.20garga2006-07-074-353/+359 * Add manu-gothic, an old german blackletter handwriting (suetterlin) font.miwi2006-06-295-0/+55 * - Update to 2.7ahze2006-06-202-4/+4 * - Update PORTVERSION to correct 0.38.1aaron2006-06-191-2/+2 * Use the correct mtree when you change the prefix, for example:mezz2006-06-122-0/+12 * Update MASTER_SITESmiwi2006-06-081-1/+2 * Remove MAN3PREFIX and assign over to perl.erwin2006-06-061-2/+1 * Remove expired leaf ports:vd2006-06-057-1301/+0 * Correct it, don't use USE_X_PREFIX that cause the circle dependency loop.mezz2006-06-011-1/+1 * - Add header in these *-reference ports.mezz2006-06-012-5/+11 * Add BUILD_DEPENDS to make pinityhat happy.delphij2006-05-311-0/+3 * Update to 0.7.0 (the version goes backward since the old versiondelphij2006-05-294-26/+40 * devel/pkgconfig -> devel/pkg-configmezz2006-05-281-1/+1 * Replace mastersite diedache2006-05-212-5/+5 * Chase DISTFILES and make fetchable again.thierry2006-05-212-6/+6 * - Update to 2.6ahze2006-05-192-4/+4 * - Add pkg-descrahze2006-05-181-0/+3 * portlint:mezz2006-05-161-4/+4 * Don't run fc-cache, we're using the fonts of the X server and the nativenetchild2006-05-136-36/+12 * Remove USE_REINPLACE from categories starting with Xedwin2006-05-135-5/+0 * Move the fontconfig programming reference to the fontconfig-reference port.jylefort2006-05-124-277/+162 * - Remove CVS tags and blank lines from distinfo file in unmaintained portssem2006-05-081-1/+0 * Mark as deprecated (+expiry), it is not needed.netchild2006-05-021-0/+3 * - Make sure that /usr/X11R6/lib/X11/fonts is only listed once in fonts.conf.jylefort2006-05-021-4/+5 * - convert to use bsd.linux-rpm.mk (get rid of include of linux-gtk/Makefile) [1]netchild2006-05-0217-124/+1324 * - update to 1.19leeym2006-04-282-5/+5 * Assume maintainership from ports@.olgeni2006-04-201-1/+1 * - Update to 2.5ahze2006-04-172-4/+4 * Reset petef due to no response to email. We hope to see him back sometime.linimon2006-04-151-1/+1 * - Update to 2.4.1ahze2006-04-102-4/+4 * - Upgrade to 20060126;thierry2006-03-285-17/+29 * Fix the build when docbook-utils is installed.marcus2006-03-271-0/+1 * Fix file permissions.olgeni2006-03-271-0/+3 * An x11 font designed to be small yet easily read.pav2006-03-276-0/+65 * Fix MASTER_SITES.olgeni2006-03-271-1/+1 * Assume maintainership from ports@.olgeni2006-03-271-1/+1 * Use NO_BUILD.olgeni2006-03-271-0/+1 * Add fc-cache handling.olgeni2006-03-272-0/+6 * - Update to 2.4ahze2006-03-203-5/+6 * - Fix MASTER_SITESgarga2006-03-161-1/+1 * Bump PORTREVISION on glib12/gtk12 consumer ports to ease the upgrade path.ade2006-03-071-1/+1 * Post libtool-conversion fixupsade2006-02-261-1/+1 * Conversion to a single libtool environment.ade2006-02-236-22/+12 * Update to 0.11, where buffer overrun is fixed.yoichi2006-02-234-9/+9 * - Add more MASTER_SITESgarga2006-02-232-14/+17 * - Update to 2.3-1ahze2006-02-212-5/+6 * Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.dougb2006-02-211-2/+1 * Update to 0.38.1erwin2006-02-192-4/+5 * Update firefly patch sites.marcus2006-02-151-1/+3 * Reset maintainership to ports@ after ~4 months without any response to anynetchild2006-02-121-1/+1 * FarsiWeb.ir has released the first standard set of Unicode Persian fonts everpav2006-02-085-0/+57 * Since fontconfig by default generates font cache files in directories wherelesi2006-02-072-0/+7 * Take care of font cache files on installation and uninstallation of port:lesi2006-02-0710-0/+53 * Don't install empty fonts.dir in fonts/local.lesi2006-02-072-2/+1 * Since fontconfig by default generates font cache files in directories wherelesi2006-02-062-0/+7 * Take care of font cache files on installation and uninstallation of port:lesi2006-02-0612-2/+46 * Remove USE_REINPLACE to pacify portlint.marcus2006-02-031-1/+0 * Since we look in X11BASE for fonts, make sure we explicitly clean upmarcus2006-02-032-2/+4 * Chase shlib bump of libexpat.kuriyama2006-01-311-1/+2 * SHA256ify (manually checked)edwin2006-01-242-4/+6 * SHA256ifyedwin2006-01-2431-0/+32 * - Update to 2.2ahze2006-01-232-4/+4 * Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-2218-27/+27 * Fixups after removal of separate mtree file for X_WINDOW_SYSTEM=XOrg case.lesi2006-01-222-7/+1 * Upgrade to X.Org 6.9.0 release.lesi2006-01-2217-65/+66 * [maintainer] change maintainer mail addressedwin2006-01-111-1/+1 * - Switch distfiles to zippav2006-01-082-28/+31 * Hash with SHA-256.trevor2006-01-081-0/+1 * Make rc script require ldconfig so font server starts properly on systemslesi2006-01-062-2/+3 * i[NEW PORT] x11-fonts/freefont-ttf: GPL'd UCS fonts in serif, sans, and monoedwin2005-12-218-0/+537 * - Update to 2.1ahze2005-12-194-41/+97 * - Add WITH_CJK patchespav2005-12-184-6/+18 * Drop maintainership for ports which I sadly no longer havebms2005-12-131-1/+1 * This is a collection of greek TTF fonts licensed under GPL.pav2005-12-116-0/+102 * [maintainer] x11-fonts/gentium -- upgrade to 1.0.2edwin2005-12-0512-174/+136 * Update to 0.37erwin2005-12-022-4/+4 * Remove dead mastersites per distfile survey.linimon2005-11-301-4/+0 * Add SHA256maho2005-11-281-0/+8