aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r--calendar/gui/gnome-cal.c37
1 files changed, 37 insertions, 0 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index 417dd5d5a7..66d1c38d0f 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -326,6 +326,28 @@ gnome_calendar_class_init (GnomeCalendarClass *class)
"goto_date", 1,
G_TYPE_ENUM,
GNOME_CAL_GOTO_LAST_DAY_OF_WEEK);
+
+ /*Alt+Left/Right, go to the same day of the previous/next week*/
+ gtk_binding_entry_add_signal (binding_set,GDK_Left,
+ GDK_MOD1_MASK,
+ "goto_date",1,
+ G_TYPE_ENUM,
+ GNOME_CAL_GOTO_SAME_DAY_OF_PREVIOUS_WEEK);
+ gtk_binding_entry_add_signal (binding_set,GDK_KP_Left,
+ GDK_MOD1_MASK,
+ "goto_date",1,
+ G_TYPE_ENUM,
+ GNOME_CAL_GOTO_SAME_DAY_OF_PREVIOUS_WEEK);
+ gtk_binding_entry_add_signal (binding_set,GDK_Right,
+ GDK_MOD1_MASK,
+ "goto_date",1,
+ G_TYPE_ENUM,
+ GNOME_CAL_GOTO_SAME_DAY_OF_NEXT_WEEK);
+ gtk_binding_entry_add_signal (binding_set,GDK_KP_Right,
+ GDK_MOD1_MASK,
+ "goto_date",1,
+ G_TYPE_ENUM,
+ GNOME_CAL_GOTO_SAME_DAY_OF_NEXT_WEEK);
}
/* Callback used when the calendar query reports of an updated object */
@@ -1121,6 +1143,21 @@ gnome_calendar_goto_date (GnomeCalendar *gcal,
1, priv->zone);
need_updating = TRUE;
break;
+ case GNOME_CAL_GOTO_SAME_DAY_OF_PREVIOUS_WEEK:
+ priv->selection_start_time = time_add_day_with_zone (start_time,
+ -7, priv->zone);
+ priv->selection_end_time = time_add_day_with_zone (end_time,
+ -7,priv->zone);
+ need_updating = TRUE;
+ break;
+ case GNOME_CAL_GOTO_SAME_DAY_OF_NEXT_WEEK:
+ priv->selection_start_time = time_add_day_with_zone (start_time,
+ 7, priv->zone);
+ priv->selection_end_time = time_add_day_with_zone (end_time,
+ 7,priv->zone);
+ need_updating = TRUE;
+ break;
+
default:
break;
}
d class='commitgraph'>* Upgrade from 2.1.0 to 2.2.0.znerd2002-10-213-1099/+990 * Upgrade to 2.6 (with typo fix patch).kuriyama2002-10-213-6/+9 * Finally got enough diagnostic info. Fixes 44321. This is PORTREVISION=8,alane2002-10-211-1/+2 * Update to version v6.5akevlo2002-10-214-12/+18 * Update to version 1.13kevlo2002-10-214-6/+4 * Fix the plist in the case where esound support is built without libpanelmarcus2002-10-216-33/+39 * Stop abusing IPPORT_USERRESERVED. This fixes builds on 5.0.silby2002-10-211-0/+11 * Increment PORTVERSION to 4.7, as the Japanese manual page roff sourcekuriyama2002-10-211-1/+1 * Release all my ports.nsayer2002-10-2111-11/+11 * Partially fix build on -current. This is still broken due to an unzeroedkris2002-10-211-5/+10 * Rewrote installation procedure in Makefile since it wasn't quite right.alane2002-10-211-7/+10 * Fix build on -current (don't try and build with cc -traditional).kris2002-10-213-3/+24 * Fix build on -current (_exit() -> _exit(0))kris2002-10-211-1/+10 * Add gettext dependency to unbreak building this porttom2002-10-211-1/+1 * Update to 1.2b. This fixes bug 145579 in Bugzilla, the "forwardtrevor2002-10-214-34/+36 * note removal of Chatzillatrevor2002-10-212-12/+10 * Note removal of Chatzilla. Mention mail/news.trevor2002-10-212-2/+2 * Rewrite warning about using the same preferences with other browsers,trevor2002-10-212-12/+12 * Partially fix build on -current (remove duplicate declarations of thingskris2002-10-212-0/+25 * prettify after removal of Chatzillatrevor2002-10-212-2/+2 * Fix build on -current (#include <stdlib.h> for exit() prototype) andkris2002-10-212-3/+35 * Fix build on -current (catch up to <sys/disklabel.h> changes)kris2002-10-211-3/+11 * Fix build on -current (catch up to #include changes)kris2002-10-211-0/+2 * Partially fix build on -current (remove duplicate declarations fromkris2002-10-212-0/+42 * Add Alfred Perlstein's sendfile patches, as an optional knob.anders2002-10-214-0/+150 * Fix build on -current (_BSD_VA_LIST_ -> va_list)kris2002-10-211-0/+11 * Fix build on current (comment out bogus duplicate declarations)kris2002-10-212-4/+31 * Removed erroneous ${DESTDIR} that I put in Makefile pre-/post- targets.alane2002-10-2110-28/+26 * Fix build on -current (remove conflicting prototype for strsave() andkris2002-10-213-72/+68 * Add makeztxtkris2002-10-211-0/+1 * makeztxt is a simple command line program that takes a plain ASCII text filekris2002-10-2113-0/+124 * Whoops. Forgot to add the md5 checksums.mbr2002-10-2117-0/+34 * Neon and expat projects are missing in the official SRX643_00 branch.mbr2002-10-2117-34/+68 * Correct pathname to patchkris2002-10-211-1/+1 * Fix build on -current (#ifdef 0 -> #if 0)kris2002-10-211-0/+11 * Fix build on -current (machine/param.h -> sys/param.h)kris2002-10-211-0/+11 * Fix build on -current (move FILE * initializers from declaration to main())kris2002-10-214-0/+98 * Fix build on -current (#ifdef 0 -> #if 0)kris2002-10-212-0/+31 * Add NO_WERROR=1 to make warnings non-fatalkris2002-10-211-14/+13 * Fix build on -current (remove dependencies on obsolete system headers).kris2002-10-211-6/+5 * Fix build on -current (don't redefine __size_t; same code as in proftpd)kris2002-10-211-0/+11 * Fix build on -current and respect CC and CFLAGSkris2002-10-2110-144/+192 * Fix build on -current (expr -> expr --)kris2002-10-211-0/+11 * Fix build on -current (don't try and guess about the definition ofkris2002-10-214-0/+44 * Set CONFIG_SHELL in env so always use /bin/sh. This way results arealane2002-10-2112-21/+51 * Remove -fstrict-prototypes from CFLAGS, since this flag does not existkris2002-10-211-0/+11 * Update to 2.1.2.marcus2002-10-214-4/+4 * - Update to version 0.5.1wjv2002-10-214-7/+33 * Update to 1.32 point releasepat2002-10-216-48/+264 * Update to 6.0pat2002-10-213-134/+785 * gcc3 patches that I've had in my tree for far too long. I think itimp2002-10-211-0/+179 * jpgraph --> ports/graphics/jpgraphijliao2002-10-211-0/+1 * add jpgraph 1.8ijliao2002-10-216-0/+293 * Update to 0.8.2dinoex2002-10-213-4/+13 * fix and group MASTER_SITESdinoex2002-10-211-3/+3 * Dansguardian requires squid be running before it starts. This patchcy2002-10-213-2/+2 * remove an disfuntional MASTER_SITEdinoex2002-10-212-2/+0 * Remove an extra dirdinoex2002-10-201-0/+1 * Update to 1.5.0dinoex2002-10-205-5/+5 * strips sties from MASTER_SITE_TCLTKdinoex2002-10-201-4/+0 * reduce sasldb targetdinoex2002-10-202-18/+2 * update tls-install.shdinoex2002-10-204-38/+50 * Add a line for myself and a line for ftp.at.FreeBSD.orgarved2002-10-202-0/+2 * New port ogmtools version 0.9.51: Tools to extract from/get infolioux2002-10-2011-0/+155 * Fix build on -current (initialize FILE* variables in main() instead ofkris2002-10-201-0/+29 * Respect CC and fix build on -current (expr -> expr --)kris2002-10-201-0/+23 * Partially fix build on -current (move initialization of a FILE * fromkris2002-10-202-0/+22 * Mark IGNORE: a.out binaries cannot be built on 5.0 any longerkris2002-10-201-1/+7 * Respect CC and CFLAGS, and fix build on -current (use POSIX syntax forkris2002-10-202-5/+18 * pixelize --> ports/graphics/pixelizeijliao2002-10-201-0/+1 * add pixelize 0.9.2ijliao2002-10-206-0/+47 * Fix some of the build problems on -current. This is still brokenkris2002-10-202-8/+60 * Don't try and obtain a value from a void function (fix build on -current)kris2002-10-201-0/+11 * Don't treat warnings as errors: gcc 3.2 finds a lot more wrong withkris2002-10-202-2/+40 * Update port to version 1.01.olgeni2002-10-202-2/+2 * add WWWijliao2002-10-204-0/+8 * p5-Astro-Catalog --> ports/astro/p5-Astro-Catalogijliao2002-10-201-0/+1 * add p5-Astro-Catalog 1.8.1ijliao2002-10-206-0/+46 * s/Mozilla/Beonex/g ;-)trevor2002-10-201-1/+1 * Remove __FBSDID(), which breaks compilation of 4.x.sobomax2002-10-204-12/+0 * Update to 1.2a.sobomax2002-10-2018-237/+129 * Use the real FreeBSD SCM ID, not who knows who's.obrien2002-10-201-1/+1 * Update to 1.5.6.marcus2002-10-202-2/+2 * Update the weekly update check to be more selective.obrien2002-10-203-3/+3 * Remove trailing white space.obrien2002-10-201-2/+2 * Use ${MASTER_SITE_SOURCEFORGE} instead of hard-coded master site.archie2002-10-201-1/+2 * Fix the icon installation. Bump PORTREVISION.marcus2002-10-209-18/+18 * Fix the build on -current (patch-aa)jmz2002-10-203-21/+21 * Add missing USE_XLIB=yeskris2002-10-201-0/+1 * Respect CC and CFLAGS, and fix a bug involving use of uninitializedkris2002-10-203-0/+22 * * Upgrade to 5.0.b5.obraun2002-10-209-119/+311 * * Upgrade to 1.3.obraun2002-10-203-5/+8 * Remove non-existant (404) WWW reference, at maintainer's request.adamw2002-10-201-2/+0 * Added WRKSRC to fix build.obraun2002-10-201-0/+2 * - metalab.unc.edu, ftp.oit.unc.edu, and www.ibiblio.org point to the sameknu2002-10-201-2/+1 * p5-Net-Finger --> ports/net/p5-Net-Fingeradamw2002-10-201-0/+1 * add net/p5-Net-Fingeradamw2002-10-206-0/+34 * Fix -current build.jmz2002-10-202-24/+65 * Fix -current build.jmz2002-10-201-0/+19 * Upgrade to solarwolf 1.1nbm2002-10-204-63/+11 * Sign over maintainership to gnome@. gcalctool will be part of the GNOME 2.2marcus2002-10-201-1/+1 * Allow port to build under jdk11, now that jdk11's compat3x libraryadamw2002-10-201-1/+1 * p5-Astro-DSS --> ports/astro/p5-Astro-DSSijliao2002-10-201-0/+1 * add p5-Astro-DSS 1.6ijliao2002-10-206-0/+40 * p5-Astro-SIMBAD --> ports/astro/p5-Astro-SIMBADijliao2002-10-201-0/+1 * add p5-Astro-SIMBAD 1.9.3ijliao2002-10-206-0/+45 * Update xmedcon 0.8.1 -> 0.8.2adamw2002-10-204-11/+21 * p5-Astro-ADS --> ports/astro/p5-Astro-ADSijliao2002-10-201-0/+1 * add p5-Astro-ADS 1.20.4ijliao2002-10-206-0/+51 * Update to Vim 6.1 patchlevel 231obrien2002-10-202-3/+24 * USE_BZIP2obrien2002-10-204-2/+4 * Use MASTER_SITES_GCC.knu2002-10-205-11/+13 * Use MASTER_SITES_GCC.knu2002-10-2018-56/+37 * Add MASTER_SITE_GCC.knu2002-10-201-0/+6 * Mean to add SCM ID.obrien2002-10-201-0/+2 * Add a script to make auditing a network easier.obrien2002-10-203-0/+82 * Update to 1.0.22.marcus2002-10-203-2/+3 * Update to 2.4.26.marcus2002-10-204-58/+8 * fix build on stableijliao2002-10-201-1/+1 * o Update to snapshot 20021015lioux2002-10-202-4/+17 * Fix build on -CURRENT.marcus2002-10-201-2/+13 * Add a missing dependency on m4.marcus2002-10-202-0/+4 * Fix install on -CURRENT.marcus2002-10-202-2/+10 * Update to 1.4 Build 182lioux2002-10-208-8/+8 * Make the cdrecord portion of cdrtools compile. 5-CURRENT definesscottl2002-10-202-0/+22 * Updating portrevision, I said! DWIM!alane2002-10-201-1/+1 * Fixed Dirk Meyer's bug that the GTK m4 macro wasn't found. No PR, reportedalane2002-10-201-2/+2 * Upgrade to 2.2.4.kuriyama2002-10-194-12/+18 * Remove ghostscript-gnu-cjk.kuriyama2002-10-191-1/+0 * Remove obsoleted port.kuriyama2002-10-1923-2217/+0 * Support ja_JP.eucJP locale.kuriyama2002-10-192-20/+29 * Remove {ja,ko}-ghostscript-cjk.kuriyama2002-10-191-2/+0 * Remove obsoleted port.kuriyama2002-10-1912-151/+0 * Add ja-postgresql-tcltk.kuriyama2002-10-191-1/+1 * Rename to comply with porters handbook.roger2002-10-192-4/+4 * Remove japanese/postgresql7 (obsoleted by japanese/postgresql-tcktk).kuriyama2002-10-1924-1638/+1 * Update to slave of databases/postgresql7 after repocopy fromkuriyama2002-10-1922-1606/+187 * FreeBSD has still no getpwuid_r()mbr2002-10-1917-0/+255 * Patch is not needed anymore.mbr2002-10-1917-170/+0 * add missing dependencyijliao2002-10-191-0/+2 * Update to 2002.10.19.nork2002-10-192-2/+2 * Changed MD5 sum. Developer has just changed some lines in configure.in andobraun2002-10-191-1/+1 * Update to slffea 1.3kris2002-10-192-2/+2 * Add these paches $(cc) -> $(CC), ($CC) -> $(CXX) back. This is still notmbr2002-10-1968-0/+12818 * Revive this patch. They got it completly wrong a second time :P If youmbr2002-10-1917-0/+357 * patch-set_soenv.1 is not used anymore. Configure does now substitutembr2002-10-1934-4114/+391 * ELSE IF -> ELIFmbr2002-10-1917-17/+17 * Chase distfile location (moved to Old-Versions)kris2002-10-191-1/+1 * Update to the HEAD 2002.10.19 snapshot. This fixes some irritating bugs.sobomax2002-10-196-70/+84 * Distfile was repacked (no content changes, except they now have akris2002-10-192-2/+1 * Add back SSLtelnetkris2002-10-191-0/+1 * Define ant, and change PREFIX to LOCALBASE.mbr2002-10-1917-34/+51 * Re-add SSLtelnet, with patch (patch-an) to fix the security vulnerabilitykris2002-10-1921-0/+1765 * Don't (badly) rewrite CFLAGS, assume the user knows what he/she is doing.kris2002-10-191-0/+28 * Add a second md5 sum; distfile was repacked on master site with no changeskris2002-10-191-0/+1 * Fix dependency on wxgtkkris2002-10-191-1/+1 * Add `CONFIGURE_ARGS+=--disable-esd --disable-esdtest' in WITHOUT_ESOUNDsobomax2002-10-191-0/+2 * Update to 0.8.11.sobomax2002-10-192-2/+2 * Upgrade to 2.3.5.2.obraun2002-10-192-9/+3 * multivideo --> ports/graphics/multivideoijliao2002-10-191-0/+1 * Update to 1.3.26.marcus2002-10-1912-36/+56 * add multivideo 0.1.0ijliao2002-10-196-0/+50 * Update to 1.2.0.marcus2002-10-196-10/+10 * upgrade to 4.0.3ijliao2002-10-1912-16/+100 * This file did not belong here. Sorry to all concerned for the thrash.alane2002-10-191-91/+0 * Update to 0.188lioux2002-10-194-4/+4 * removed redundant PACKAGE_BUILDING testalane2002-10-199-36/+0 * Bump PORTREVISION to force the last change out, as bugs were severe accordingalane2002-10-199-9/+9 * Undefault keramik due to bugs.alane2002-10-199-36/+0 * Add necessary library dependencies.seanc2002-10-191-0/+3 * Installing to ${PREFIX}/linux-sun-jdk1.4.1. This port is nowznerd2002-10-191-1/+2 * Update to 2.0.3.2.marcus2002-10-192-2/+2 * Update to 2.0.1.marcus2002-10-193-39/+7 * Upgrade from 1.4.1 to 1.4.1_01.znerd2002-10-193-5/+5 * ELSEIF -> ELIFmbr2002-10-1917-17/+17 * "KEEP THIS LIST SORTED"knu2002-10-191-26/+26 * Re-add previously deleted files.mbr2002-10-191071-0/+90491 * First step to make this port working. Configure works and all patchesmbr2002-10-193077-138890/+66861 * * add 2 missing man pagesobraun2002-10-192-0/+3 * Not installing bin/ directory anymore. Only installingznerd2002-10-194-20/+8 * * Fix MASTER_SITESobraun2002-10-192-3/+2 * Upgrade to 1.3.2.obraun2002-10-192-2/+11 * . More XIM fixes for Japanese users (and presumably others with similarglewis2002-10-198-0/+256 * . Link the Netscape 4 plugin against libintl to avoid a runtime linkglewis2002-10-194-0/+60 * Fix MASTER_SITES.obraun2002-10-191-2/+1 * . Russian and Ukrainian font property files and appropriate build changes.glewis2002-10-1912-0/+1664 * Upgrade to 0.5.1.obraun2002-10-193-4/+55 * Upgrade to 2.4.0. The port now installs only a JAR fileznerd2002-10-196-4026/+3664 * Upgrade to 0.5.2.obraun2002-10-192-3/+4 * Upgrade to 1.6.obraun2002-10-192-13/+8 * Removed unnecessary settings.znerd2002-10-191-2/+0 * Upgrade to 0.95.obraun2002-10-193-4/+15 * Small style improvement.znerd2002-10-191-2/+3 * Upgrade to 0.4a.obraun2002-10-192-2/+2 * Installing only JAR file and documentation. Installing theseznerd2002-10-192-71/+41 * jakarta-commons-collections --> ports/java/jakarta-commons-collectionsznerd2002-10-191-0/+1 * New port: Jakarta Commons Collections.znerd2002-10-196-0/+128 * Update to 2.1nsayer2002-10-194-4/+8 * mod_webapp-apache2 --> ports/www/mod_webapp-apache2znerd2002-10-191-0/+1 * New port: mod_webapp for Apache 2.x.znerd2002-10-196-0/+87 * jakarta-commons-lang --> ports/java/jakarta-commons-langznerd2002-10-191-0/+1 * New port: Jakarta Commons Lang.znerd2002-10-196-0/+132 * Fix oaf-slay.marcus2002-10-192-0/+12 * Update to 0.3.2.knu2002-10-196-6/+6 * Made xincluder a build- instead of runtime-dependency.znerd2002-10-191-2/+2 * fix configure on -currentijliao2002-10-192-2/+2 * I don't offer any nmap files any longer.obrien2002-10-191-1/+0 * Fix two patches that I've forgot to update before committing.sobomax2002-10-193-9/+30 * Update to 1.10.2.sobomax2002-10-19