From ddae78720c0cdc7984cc50e41a0db99368244e3d Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Sun, 12 Nov 2000 18:53:08 +0000 Subject: Clear the rdate and exrule lists from the component if we are setting a 2000-11-12 Federico Mena Quintero * gui/event-editor.c (recur_to_comp_object): Clear the rdate and exrule lists from the component if we are setting a simple recurrence. (recur_to_comp_object): Set the exdate list here instead of in dialog_to_comp_object(). (preview_recur): New function to tag the recurrence preview calendar based on the information from the dialog box. (fill_exception_widgets): Fill the exception widgets here; moved over from fill_widgets(). (fill_recurrence_widgets): Call preview_recur(). Also, call fill_exception_widgets() first of all. (recurrence_type_toggled_cb): Call preview_recur(). (recur_interval_selection_done_cb): Likewise. (recur_ending_selection_done_cb): Likewise. (recurrence_exception_add_cb): Likewise. (recurrence_exception_modify_cb): Likewise. (recurrence_exception_delete_cb): Likewise. (date_changed_cb): Likewise. (recur_interval_value_changed_cb): Likewise, new function. * gui/tag-calendar.[ch]: New files with utilities for tagging calendars. mark.[ch] should go away some day. * gui/tag-calendar.c (tag_calendar): Moved over from gnome_calendar_tag_calendar(). Take in a CalClient instead of a GnomeCalendar. Added API docs. (tag_calendar_by_comp): New function to tag a calendar based on a single calendar component instead of a whole client. * gui/gnome-cal.c (initial_load): Use tag_calendar_by_client(). (obj_updated_cb): Likewise. (obj_removed_cb): Likewise. (gnome_calendar_on_date_navigator_date_range_changed): Likewise. (editor_closed_cb): Free the closure. (destroy_editor_cb): Renamed from free_uid(). Do not free the UID; just unref the event editor. Our destroy handler to it will free things properly. This will also cause the corresponding calendar client to be unrefed. (editor_closed_cb): Use a flag on the GnomeCalendar to decide whether to remove the editor from the hash table. This is sort of icky. * gui/calendar-model.c (obj_updated_cb): If the object is new, we have to use e_table_model_row_inserted(), not row_changed(). Thanks to JP Rosevear for reporting this. * gui/Makefile.am (evolution_calendar_SOURCES): Added tag-calendar.[ch] to the list of sources. svn path=/trunk/; revision=6547 --- .../gui/component/ldap-server-dialog.glade.h | 6 ++-- .../component/select-names/select-names.glade.h | 8 +++--- .../e-contact-editor-confirm-delete.glade.h | 6 ++-- addressbook/gui/contact-editor/fulladdr.glade.h | 11 +++----- addressbook/gui/widgets/alphabet.glade.h | 32 ++-------------------- 5 files changed, 16 insertions(+), 47 deletions(-) (limited to 'addressbook/gui') diff --git a/addressbook/gui/component/ldap-server-dialog.glade.h b/addressbook/gui/component/ldap-server-dialog.glade.h index c99dfa3cb5..aa42511b90 100644 --- a/addressbook/gui/component/ldap-server-dialog.glade.h +++ b/addressbook/gui/component/ldap-server-dialog.glade.h @@ -1,11 +1,11 @@ /* - * Translatable strings file generated by Glade. - * Add this file to your project's POTFILES.in. + * Translatable strings file generated by extract-ui. + * Add this file to your project's POTFILES.in * DO NOT compile it as part of your application. */ gchar *s = N_("Description:"); gchar *s = N_("LDAP Server:"); +gchar *s = N_("Name:"); gchar *s = N_("Port Number:"); gchar *s = N_("Root DN:"); -gchar *s = N_("Name:"); diff --git a/addressbook/gui/component/select-names/select-names.glade.h b/addressbook/gui/component/select-names/select-names.glade.h index 1cb9702956..6ef09ad7c2 100644 --- a/addressbook/gui/component/select-names/select-names.glade.h +++ b/addressbook/gui/component/select-names/select-names.glade.h @@ -1,10 +1,10 @@ /* - * Translatable strings file generated by Glade. - * Add this file to your project's POTFILES.in. + * Translatable strings file generated by extract-ui. + * Add this file to your project's POTFILES.in * DO NOT compile it as part of your application. */ -gchar *s = N_("Select Names"); gchar *s = N_("Find..."); -gchar *s = N_("Select name from List:"); gchar *s = N_("Message Recipients"); +gchar *s = N_("Select Names"); +gchar *s = N_("Select name from List:"); diff --git a/addressbook/gui/contact-editor/e-contact-editor-confirm-delete.glade.h b/addressbook/gui/contact-editor/e-contact-editor-confirm-delete.glade.h index 7168db0a5c..8eb13c9818 100644 --- a/addressbook/gui/contact-editor/e-contact-editor-confirm-delete.glade.h +++ b/addressbook/gui/contact-editor/e-contact-editor-confirm-delete.glade.h @@ -1,9 +1,7 @@ /* - * Translatable strings file generated by Glade. - * Add this file to your project's POTFILES.in. + * Translatable strings file generated by extract-ui. + * Add this file to your project's POTFILES.in * DO NOT compile it as part of your application. */ -gchar *s = N_("Are you sure you want\n" - "to delete this contact?"); gchar *s = N_("Delete Contact?"); diff --git a/addressbook/gui/contact-editor/fulladdr.glade.h b/addressbook/gui/contact-editor/fulladdr.glade.h index 7db13fcf4d..f2a6e153f9 100644 --- a/addressbook/gui/contact-editor/fulladdr.glade.h +++ b/addressbook/gui/contact-editor/fulladdr.glade.h @@ -1,17 +1,14 @@ /* - * Translatable strings file generated by Glade. - * Add this file to your project's POTFILES.in. + * Translatable strings file generated by extract-ui. + * Add this file to your project's POTFILES.in * DO NOT compile it as part of your application. */ +gchar *s = N_("Address _2:"); gchar *s = N_("Check Address"); +gchar *s = N_("Countr_y:"); gchar *s = N_("_Address:"); gchar *s = N_("_City:"); gchar *s = N_("_PO Box:"); -gchar *s = N_("Address _2:"); gchar *s = N_("_State/Province:"); -gchar *s = N_("USA"); -gchar *s = N_("Canada"); -gchar *s = N_("Finland"); gchar *s = N_("_ZIP Code:"); -gchar *s = N_("Countr_y:"); diff --git a/addressbook/gui/widgets/alphabet.glade.h b/addressbook/gui/widgets/alphabet.glade.h index 2448eeb4fc..7b037bced4 100644 --- a/addressbook/gui/widgets/alphabet.glade.h +++ b/addressbook/gui/widgets/alphabet.glade.h @@ -1,34 +1,8 @@ /* - * Translatable strings file generated by Glade. - * Add this file to your project's POTFILES.in. + * Translatable strings file generated by extract-ui. + * Add this file to your project's POTFILES.in * DO NOT compile it as part of your application. */ -gchar *s = N_("window2"); gchar *s = N_("123"); -gchar *s = N_("a"); -gchar *s = N_("b"); -gchar *s = N_("c"); -gchar *s = N_("d"); -gchar *s = N_("e"); -gchar *s = N_("f"); -gchar *s = N_("g"); -gchar *s = N_("h"); -gchar *s = N_("i"); -gchar *s = N_("j"); -gchar *s = N_("k"); -gchar *s = N_("l"); -gchar *s = N_("m"); -gchar *s = N_("n"); -gchar *s = N_("o"); -gchar *s = N_("p"); -gchar *s = N_("q"); -gchar *s = N_("r"); -gchar *s = N_("s"); -gchar *s = N_("t"); -gchar *s = N_("u"); -gchar *s = N_("v"); -gchar *s = N_("w"); -gchar *s = N_("x"); -gchar *s = N_("y"); -gchar *s = N_("z"); +gchar *s = N_("window2"); -- cgit v1.2.3