aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorTomas Ogren <stric@ing.umu.se>1999-02-16 06:40:43 +0800
committerTomas Ă–gren <stric@src.gnome.org>1999-02-16 06:40:43 +0800
commite701ad14c74a29ce2dfb033b36a08706fe7aee9c (patch)
tree9aff05a242b9773c73d268ee4e87ecb17f967475 /calendar/gui
parent77a4da633987f49c8b9b4cb9c9ac8e5e3f82c778 (diff)
downloadgsoc2013-evolution-e701ad14c74a29ce2dfb033b36a08706fe7aee9c.tar.gz
gsoc2013-evolution-e701ad14c74a29ce2dfb033b36a08706fe7aee9c.tar.zst
gsoc2013-evolution-e701ad14c74a29ce2dfb033b36a08706fe7aee9c.zip
Made a private copy of what localtime() returns, to be able to keep the
1999-02-15 Tomas Ogren <stric@ing.umu.se> * goto.c: Made a private copy of what localtime() returns, to be able to keep the data after more calls to localtime(). svn path=/trunk/; revision=669
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/goto.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/calendar/gui/goto.c b/calendar/gui/goto.c
index 0dd0a3f22e..cc86616d31 100644
--- a/calendar/gui/goto.c
+++ b/calendar/gui/goto.c
@@ -254,12 +254,12 @@ goto_dialog (GnomeCalendar *gcal)
GtkWidget *hbox;
GtkWidget *w;
GtkWidget *days;
- struct tm *tm;
+ struct tm tm;
gnome_calendar = gcal;
current_index = -1;
- tm = localtime (&gnome_calendar->current_display);
+ memcpy(&tm, localtime (&gnome_calendar->current_display), sizeof(tm));
goto_win = gnome_dialog_new (_("Go to date"),
GNOME_STOCK_BUTTON_CANCEL,
@@ -282,17 +282,17 @@ goto_dialog (GnomeCalendar *gcal)
* month_item to be created.
*/
- days = create_days (tm->tm_mday, tm->tm_mon, tm->tm_year + 1900);
+ days = create_days (tm.tm_mday, tm.tm_mon, tm.tm_year + 1900);
/* Year */
- w = create_year (tm->tm_year + 1900);
+ w = create_year (tm.tm_year + 1900);
gtk_box_pack_start (GTK_BOX (vbox), w, FALSE, FALSE, 0);
gtk_widget_show (w);
/* Month */
- w = create_months (tm->tm_mon);
+ w = create_months (tm.tm_mon);
gtk_box_pack_start (GTK_BOX (vbox), w, FALSE, FALSE, 0);
gtk_widget_show (w);
olution/commit/mail?h=RELEASE_1_0_1&id=b0d5e599ce5f3b0f8a2695588a95805e19fadb79'>Don't make the key url:item if we have the url, just make it url. ThisJeffrey Stedfast2001-07-265-30/+14 * Don't make the key url:item if we have the url, just make it url. ThisJeffrey Stedfast2001-07-263-62/+73 * Make it so Enter always opens the message in another window.Peter Williams2001-07-262-6/+6 * Now take a CamelService parameter (as passed by Camel). Allows us to havePeter Williams2001-07-266-5/+61 * Now takes a check_supported gboolean argument saying whether or not toJeffrey Stedfast2001-07-263-9/+25 * Initialize `me' to NULL. (forward_attached): If we are only forwarding aJeffrey Stedfast2001-07-262-12/+44 * Initialize `me' to NULL.Jeffrey Stedfast2001-07-263-12/+16 * Um, write the HTML signature settings in the right place. Whoops.Peter Williams2001-07-252-2/+7 * If we're the last row and we're deleting, select the previous message, notJason Leach2001-07-252-2/+14 * Pass the O_TRUNC flag to open so that we don't leave trailing garbage atJeffrey Stedfast2001-07-253-39/+48 * oops, we had a possible NULL value passed to a strcmpJeffrey Stedfast2001-07-251-1/+3 * fixed a typoJeffrey Stedfast2001-07-251-1/+1 * Fix for bug #5174.Jeffrey Stedfast2001-07-252-2/+8 * Match the prefix for the "remember_passphrase" setting with where it'sJason Leach2001-07-252-8/+15 * check_specials if this is an application/pgp type as well.Jeffrey Stedfast2001-07-252-1/+4 * When dumping the CamelURL to a string, hide all the params.Jeffrey Stedfast2001-07-252-10/+15 * Do a case-insensitive comparison. (mail_generate_reply): Only resort toJeffrey Stedfast2001-07-257-49/+86 * get_boolean_with_default for the "Mark as read" timeout, notJason Leach2001-07-252-2/+7 * Don't display "(0 unsent)" if the outbox is empty.Peter Williams2001-07-252-2/+5 * Set up the local trash in the folder cache.Peter Williams2001-07-252-0/+8 * Make the error reporting a little but more descriptive.Peter Williams2001-07-242-2/+7 * Add new label widgets with a message that SSL isn't supported.Peter Williams2001-07-245-8/+70 * Dont call notifyResult here if we've just launched a thread to do theNot Zed2001-07-242-13/+17 * Go back to calling mail_msg_free here. (mail_msg_destroy): Remove theNot Zed2001-07-243-8/+31 * Oops. Uncomment this code since Trow fixed GtkHTML to actually have thisJeffrey Stedfast2001-07-242-1/+4 * Fixed the "Read" to be Read in the glade file per menesis' request.Jeffrey Stedfast2001-07-246-5/+94 * fixed my fix to compileJeffrey Stedfast2001-07-241-2/+2 * If the source and destination folders are the same, just mark the uids asJeffrey Stedfast2001-07-242-4/+21 * Carefully check for NULL everywhere, and do the right thing if the messageJon Trowbridge2001-07-242-2/+24 * [Bug #5225: No UI way to mark as unimportant]Jason Leach2001-07-245-6/+49 * Add an extra @type arg to the xferFolder and removeFolder methods inEttore Perazzoli2001-07-232-1/+22 * Add a `user_creatable' property to folder types and make componentsEttore Perazzoli2001-07-222-3/+8 * Change this back to the "evolution:/local/Inbox" URI.Jason Leach2001-07-212-1/+6 * Don't let the user remove vtrash folders.Peter Williams2001-07-212-0/+8 * Fix DanW's fix. Pass the right arguments to mail_msg_destroy.Peter Williams2001-07-214-6/+41 * er, unbroke changelogJeffrey Stedfast2001-07-211-1/+0 * Don't expunge the source folder if we have a cache.Jeffrey Stedfast2001-07-214-11/+18 * Use mail_msg_destroy rather than mail_msg_free, so the cancellationDan Winship2001-07-212-1/+7 * Update this evolution:/local/ URI to evolution:/Local Folders/ to go alongJason Leach2001-07-202-1/+7 * Fix #4605: "Save Image as" should be "Save Image as...".Jason Leach2001-07-202-2/+7 * Set the vertical scrolling policy for the mail display to AUTOMATIC, onlyJason Leach2001-07-204-6/+18 * In camel:Peter Williams2001-07-203-13/+56 * remove something notzed didn't mean to commitDan Winship2001-07-201-1/+1 * remvoed register/start/end etc code.Not Zed2001-07-195-318/+41 * partial checkin before completing the changesNot Zed2001-07-196-127/+137 * Remove this prototype for a function that was removed long ago.Jason Leach2001-07-192-4/+6 * [Simplifying how default account is stored and used internally, fixesJason Leach2001-07-197-82/+89 * Do what was suggested in #4596.Jeffrey Stedfast2001-07-193-32/+32 * Add GTK_WIDGET to the charset picker. Reportedly prevent a craash forPeter Williams2001-07-192-1/+4 * Typo fix. Later: And actually fix the typo.Peter Williams2001-07-182-1/+2 * Typo fix.Peter Williams2001-07-182-1/+5 * Setup the auto-receive here instead.Jeffrey Stedfast2001-07-183-2/+11 * Reset the autoreceive when necessary.Iain Holmes2001-07-183-0/+8 * Fix for last change: hide the entire widget, not just the entry.Jason Leach2001-07-183-4/+10 * Fix to correctly handle text/uri-lists that contain more than a singleJeffrey Stedfast2001-07-183-53/+74 * Make the Path: entry into a GnomeFileEntry so you get a nice "Browse..."Jason Leach2001-07-182-24/+40 * Cleaned up a bit. (handle_multipart_encrypted): Replace the encrypted partJeffrey Stedfast2001-07-183-19/+26 * Make a nicer delete account dialogIain Holmes2001-07-182-6/+11 * Use CAMEL_VTRASH_NAME.Jeffrey Stedfast2001-07-187-21/+28 * Use g_strcasecmp() when looking for a Trash folder - it may be lowercaseJeffrey Stedfast2001-07-172-8/+20 * Use g_strcasecmp() when looking for a Trash folder - it may be lowercaseJeffrey Stedfast2001-07-174-28/+39 * Let VTrash folders accept/export the same dnd types as normal folders.Jeffrey Stedfast2001-07-172-20/+26 * prototype outbox_folder so we can check if a folder is it.Peter Williams2001-07-172-4/+23 * Use our own display_style member instead of the global setting.Peter Williams2001-07-178-10/+44 * DUH. No need to update every folder if we set the folder browser to NULL.Peter Williams2001-07-162-5/+11 * Call mail_autoreceive_setup() so that any changes to the list of accountsJeffrey Stedfast2001-07-162-0/+9 * Merged mine and Peter's entries.Jeffrey Stedfast2001-07-142-6/+6 * Segfault prevention here if no uid is currently loaded.Peter Williams2001-07-142-6/+8 * Segfault prevention here if we lose the race withPeter Williams2001-07-142-1/+5 * New function. If a vfolder in our list gets finalized, NULL outPeter Williams2001-07-132-0/+28 * Updated to reflect changes in the filter API by passing in the providedJeffrey Stedfast2001-07-132-0/+19 * Updated to reflect changes in the filter API by passing in the providedJeffrey Stedfast2001-07-132-45/+64 * Fix the importers if you try to import into an already existing directoryIain Holmes2001-07-132-20/+38 * Force-hide all deleted messages before expunging. (expunged_folder):Jeffrey Stedfast2001-07-132-25/+50 * Only blank the mail display if the message being viewed is one of those toJason Leach2001-07-132-1/+14 * Should be saving the 'identity_html_signature' andJason Leach2001-07-132-2/+9 * no longer need to set a my address propertyJP Rosevear2001-07-122-17/+15 * Set the CLIPBOARD selection as well as the primary selection so thatFederico Mena Quintero2001-07-112-3/+30 * [Bug #4305: Make the automatic mark-as-read timer optional]Jason Leach2001-07-117-14/+63 * OopsJP Rosevear2001-07-111-1/+2 * Cosmetic patch - replace our defines with the e-popup onesJP Rosevear2001-07-111-0/+2 * TypoJP Rosevear2001-07-113-10/+11 * Took the logic of whether or not to make the attachment header out of thePeter Williams2001-07-114-22/+108 * extra dist the news filesJP Rosevear2001-07-112-1/+12 * Use bonobo_config_set_string_wrapper. (mail_config_write): Same.Jeffrey Stedfast2001-07-112-61/+42 * Make sure that the reply-to addr i non-NULL before trying to add it to theJeffrey Stedfast2001-07-112-5/+11 * fix typo so it compilesJP Rosevear2001-07-102-1/+5 * Handle application/pgp using the text/plain handler.Jeffrey Stedfast2001-07-102-24/+24 * Handle application/pgp using the text/plain handler.Jeffrey Stedfast2001-07-106-93/+207 * Update to pass in the `remember' argument when creating a new pgp context.Jeffrey Stedfast2001-07-103-6/+12 * Update to pass in the `remember' argument when creating a new pgp context.Jeffrey Stedfast2001-07-107-67/+136 * Check for an exception and print it. Call done anyway.Peter Williams2001-07-102-1/+14 * Some NULL protection for our strings: pgp_key, html_signature, smime_key.Peter Williams2001-07-103-4/+25 * g_strdup the result of g_get_home_dir since this variable will get free'dDan Winship2001-07-102-1/+4 * Use gnome_vfs_mime_get_short_list_applications rather thanDan Winship2001-07-104-38/+83 * Change html_signature stuff over to bonobo-config -- someone forgot to doPeter Williams2001-07-102-4/+8 * Gave up and got rid of dm. Just replaced it with d(g_message()) and setPeter Williams2001-07-092-39/+48 * Deleted (as opposed to #if 0) (get_folder_info): Changed to assume it hasPeter Williams2001-07-092-53/+42 * Check for new_uid != NULL here before strcmping.Christopher James Lahey2001-07-082-1/+6 * Only install the segv_redirect handler if SEGV's handler is not currentlyDan Winship2001-07-072-7/+16 * Made this handle being given a row that's outside the range better.Christopher James Lahey2001-07-072-4/+14 * Removed old CVS conflict marker.Jon Trowbridge2001-07-071-1/+0 * [Fix bug #1100, default account is stored strangely]Jason Leach2001-07-072-17/+50 * add a NULL check since that is a valid return.Larry Ewing2001-07-072-1/+10 * Prevent infinite recursion when viewing attachments that we can't /Peter Williams2001-07-072-5/+20 * Freeze and Thaw the folder.Jeffrey Stedfast2001-07-073-7/+13 * Mark the messages as Seen also. (folder_browser_class_init): Create anJeffrey Stedfast2001-07-074-149/+220 * Don't free the psd here -- it will be freed on the "destroy" signal.Peter Williams2001-07-074-8/+18 * Select the very next message after deleting, not the next undeleted (itJason Leach2001-07-075-11/+45 * Fix obvious bug in previous bugfix: Pass "fb" to check_for_fb_match() soDan Winship2001-07-072-1/+8 * Change the folder right-click "Properties..." menu item handling soEttore Perazzoli2001-07-062-1/+25 * Add a checkbox for prompting when sending a message with an empty subject.Jeffrey Stedfast2001-07-065-37/+82 * Okay, apparently I was wrong. Oh well. (mail_config_set_thread_list): FixJeffrey Stedfast2001-07-062-10/+23 * And kill these stupid files. Aaar.Peter Williams2001-07-062-308/+0 * Remove the ridiculuous relic known as test-mail. Clean up a bit.Peter Williams2001-07-062-23/+3 * Formatting fix on ChangeLog (ie I Forgot To Save The File Before Committing Y...Peter Williams2001-07-051-0/+2 * Add mail folder cache hookups.Peter Williams2001-07-052-0/+6 * Clear the shell view label if mailer loses focus.Peter Williams2001-07-053-4/+25 * set "pixname" value only if pixbuf was loaded successfully. OtherwiseGediminas Paulauskas2001-07-052-0/+6 * Revert Sam's changes.Jeffrey Stedfast2001-07-052-3/+15 * Replace value in config->preview_hash when it already exists. Old codeSam Creasey2001-07-042-1/+8 * Unset the message being displayed when expunging. This makes expungedJoe Shaw2001-07-042-0/+7 * If msg is NULL, fetch the message and requeue a mail_reply call. Fixes bugJoe Shaw2001-07-042-1/+20 * Use a better GHashTable technique that will hopefully solve some bugs andJeffrey Stedfast2001-07-042-78/+67 * Split make_string into these. (update_idle): Use (name and status) insteadPeter Williams2001-07-042-40/+52 * Finish off #809 by committing the menu and right click thingies forJacob Leach2001-07-042-1/+5 * use bonobo-conf everywhereDietmar Maurer2001-07-041-359/+391 * Compile fixes. #include errno.h and gnome-dialog-utils.h.Peter Williams2001-07-042-4/+10 * Forgot to save thisPeter Williams2001-07-041-2/+4 * Prevent folders from appearing to have -1 new messages. Prevent nonactivePeter Williams2001-07-045-22/+123 * Rename some of the widgets in the news config to not conflict with theDan Winship2001-07-042-2/+8 * Use mkdtemp if we have it, else use mktemp but make the code safer than itJeffrey Stedfast2001-07-043-6/+27 * Hide the URL passwd, auth, and params. (folder_browser_copy): Same.Jeffrey Stedfast2001-07-032-2/+10 * Don't pass a dirty exception to camel_folder_sync. Fixes an IMAP filteringDan Winship2001-07-032-1/+7 * Added an MailAccountEditorNews, for NNTP configuratuion. Based onSam Creasey2001-07-03