Commit Graph

54 Commits

Author SHA1 Message Date
14f82dde34 Move EAlert* and e-xml-utils references from other part of the code to libevolution-utils. 2012-03-03 09:02:33 -05:00
23f5773903 Coding style and whitespace cleanup. 2012-02-20 10:04:25 -05:00
e64d6fe05c Miscellaneous cleanups. 2011-11-22 20:43:04 -05:00
5ddad03992 Remove Ctrl + l ( ) character from source files
From ccc980da1fd84ebfca25cf8caf9a5d62333099fc Mon Sep 17 00:00:00 2001
From: Paul Menzel <paulepanter@users.sourceforge.net>
Date: Wed, 28 Sep 2011 10:18:18 +0200
Subject: [PATCH] Remove Ctrl + l () character from source files

The following commits

        git show aac3f2c8
        git show 1510304c
        git show 13cabd9e
        git show 350a7a33
        git show 9b7cc54d
        git show e6972011
        git show 1d3a7938
        git show 934524b9
        git show b2954936
        git show a7f677b5
        git show 4369c400
        git show d509f47a
        git show a6d5818f
        git show c3876df7
        git show 4583098b
        git show 2831ada5
        git show 4e1bce59
        git show 1609f699
        git show 4e4c1676
        git show d6fade43

among others(?) introduced several occurrences of Ctrl + l (). Probably this was caused by the used editor.

These control characters can be searched for using the following command [1].

	$ git grep ^L

[1] http://unstableme.blogspot.com/2009/10/grep-and-print-control-characters-in.html
2011-09-29 21:12:10 +02:00
fcbbdfbd18 Coding style and whitespace cleanup. 2011-09-04 07:34:32 -04:00
8a186c3588 Coding style cleanups. 2011-05-08 13:37:20 -04:00
0109aa3a92 More whitespace cleanup. 2011-01-30 11:33:28 -05:00
1f17dab6b0 Move calendar preferences to the calendar module.
Continue replacing the use of calendar-config functions with GObject
property bindings to EShellSettings properties.
2010-11-04 14:19:50 -04:00
72797decc1 Giant leap towards GSEAL compliance. 2010-04-08 11:05:26 -04:00
fdd0b87471 Bug #347330 - Mark forgotten strings for translation 2010-04-02 13:23:48 +02:00
31204c9cc2 Port all error code to use GObject-ified EAlert / EAlertDialog
The changes are mainly including the e-alert-header.h header instead of just
e-alert.h.  This allows us to include e-alert.h in non-UI situations when
necessary.
2009-12-07 12:25:23 -06:00
c2ee0afbc8 Rename EError to EAlert to match general use better
The EError mechanism is used both for error dialogs as well as basic alerts or
user prompts, so we should give it a more general name which matches this use.

This patch also cleans up a few includes of e-alert.h (formerly e-error.h) that
were not actually being used.

https://bugzilla.gnome.org/show_bug.cgi?id=602963
2009-11-30 13:33:04 -06:00
463aff5ebb port calendar/ to the new EError API
https://bugzilla.gnome.org/show_bug.cgi?id=602963
2009-11-30 13:32:22 -06:00
8a2c780085 Bug #550025 - Add error dialogs for Meetings 2009-11-26 11:19:51 +01:00
fad4af8a3d Prefer GLib basic types over C types. 2009-05-28 12:13:23 -04:00
6f5464f34c Remove trailing whitespace, again. 2009-05-28 12:13:22 -04:00
ceb57eb3a8 Fixes bug 498712 (bnc) - deleting meetings sometimes does not work properly. 2009-05-21 14:12:04 +05:30
044925165f License changes from GPL to LGPL
svn path=/trunk/; revision=36440
2008-09-24 09:12:38 +00:00
434bc25ed6 ** Fixes bug #546892
2008-08-11  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #546892

	* e-util/e-icon-factory.c (e_icon_factory_get_image):
	Kill this function.  Use gtk_image_new_from_icon_name().

	* e-util/e-icon-factory.c (e_icon_factory_get_icon_list):
	Kill this function.  Use gtk_window_set_icon_name().

	* widgets/misc/e-activity-handler.c:
	* widgets/misc/e-task-widget.c:
	Purge the GdkPixbuf arguments from the API.  We've been ignoring
	them since the spinner icon was added.

	* addressbook/gui/contact-editor/e-contact-editor-fullname.c:
	* addressbook/gui/contact-editor/e-contact-editor-im.c:
	* addressbook/gui/contact-editor/e-contact-editor-address.c:
	* calendar/gui/alarm-notify/alarm-notify-dialog.c:
	* calendar/gui/dialogs/alarm-dialog.c:
	* calendar/gui/dialogs/alarm-list-dialog.c:
	* calendar/gui/dialogs/cal-attachment-select-file.c:
	* calendar/gui/dialogs/changed-comp.c:
	* calendar/gui/dialogs/delete-error.c:
	* calendar/gui/dialogs/select-source-dialog.c:
	* mail/mail-send-recv.c:
	* mail/message-tag-followup.c:
	* widgets/misc/e-combo-button.c:
	* widgets/misc/e-info-label.c:
	* widgets/misc/e-url-entry.c:
	* widgets/misc/e-task-widget.c:
	Prefer gtk_window_set_icon_name() over gtk_window_set_icon_list().

	* addressbook/gui/contact-editor/e-contact-editor-im.c:
	* calendar/gui/dialogs/event-page.c:
	* calendar/gui/e-timezone-entry.c:
        * e-util/e-gui-utils.c:
        * e-util/e-popup.c:
	* plugins/import-ics-attachments/icsimporter.c:
	* plugins/itip-formatter/itip-view.c:
	* mail/em-folder-browser.c:
	* mail/em-format-html-display.c:
	* mail/mail-send-recv.c:
	* mail/message-tag-followup.c:
	Prefer gtk_image_new_from_icon_name() over e_icon_factory_get_image().

	* calendar/gui/alarm-notify/alarm-queue.c:
	* plugins/mail-notification/mail-notification.c:
	Prefer gtk_status_icon_set_from_icon_name() over
	gtk_status_icon_set_from_pixbuf().

	* addressbook/gui/component/addressbook-view.c:
	* calendar/gui/e-calendar-table.c:
	* calendar/gui/e-calendar-view.c:
	* calendar/gui/e-memo-table.c:
	* mail/mail-mt.c:
	e_activity_handler_operation_started() no longer takes a GdkPixbuf.
	It was ignoring the pixbuf anyway ever since we added a spinner icon.


svn path=/trunk/; revision=35958
2008-08-11 17:04:32 +00:00
abda2bda85 updated novell copyright notices (left others alone)
svn path=/trunk/; revision=35665
2008-06-20 22:26:57 +00:00
4503c052d0 ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
2008-06-06  Matthew Barnes  <mbarnes@redhat.com>

	** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
	   GTK_DISABLE_SINGLE_INCLUDES defined.  (#536637)


svn path=/trunk/; revision=35606
2008-06-06 15:12:53 +00:00
9e4fcb29cf ** Remove trailing whitespace from source code.
2007-11-14  Matthew Barnes  <mbarnes@redhat.com>

	** Remove trailing whitespace from source code.


svn path=/trunk/; revision=34537
2007-11-14 22:04:21 +00:00
8e47917e8c Update FSF address in header comments (#469886). Patch from Tobias
2007-09-02  Matthew Barnes  <mbarnes@redhat.com>

	* Update FSF address in header comments (#469886).
	  Patch from Tobias Mueller.


svn path=/trunk/; revision=34151
2007-09-02 04:19:22 +00:00
3e8006805f 2007-08-23 mcrha Fix for bug #329746
svn path=/trunk/; revision=34078
2007-08-23 16:08:09 +00:00
cba3097cad ** Fixes bug #419524
2007-03-20  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #419524

	* Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>.

	* e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list):
	* mail/em-migrate.c (emm_setup_initial):
	* shell/e-component-registry.c (query_components):
	* shell/e-shell-settings-dialog.c (load_pages):
	* shell/e-shell-window-commands.c (command_quick_reference):
	* tools/killev.c (main):
	Use g_get_language_names() instead of gnome_i18n_get_language_list().

	* e-util/e-util.c: Remove e_gettext().

	* e-util/Makefile.am: Remove e-i18n.h.


svn path=/trunk/; revision=33319
2007-03-20 17:23:58 +00:00
9c6bce4c37 Fixes #332101
svn path=/trunk/; revision=32902
2006-10-16 18:15:43 +00:00
998f971fb8 Added retract support.
svn path=/trunk/; revision=31759
2006-04-03 08:36:50 +00:00
d21d923423 broken pipes are soo fun
svn path=/trunk/; revision=31452
2006-02-08 13:06:24 +00:00
36811e6195 moved e-error to e-util/
2005-05-16  Not Zed  <NotZed@Ximian.com>

        * moved e-error to e-util/

svn path=/trunk/; revision=29363
2005-05-16 06:13:14 +00:00
7dfee05355 Make calendar-errors.xml.h and install the xml file.
2004-05-25  Jeffrey Stedfast  <fejj@novell.com>

	* Makefile.am: Make calendar-errors.xml.h and install the xml
	file.

	* calendar-errors.xml: New error definitions file.

	* gui/gnome-cal.c (backend_died_cb): Use e-error

	* gui/e-tasks.c (backend_died_cb): Use e-error

	* gui/dialogs/send-comp.c (send_component_dialog): Use e-error

	* gui/dialogs/save-comp.c (save_component_dialog): Use e-error

	* gui/dialogs/delete-comp.c (delete_component_dialog): Use e-error

	* gui/dialogs/cancel-comp.c (cancel_component_dialog): Use e-error

svn path=/trunk/; revision=26084
2004-05-25 20:41:32 +00:00
f037405595 Fixes: #57472
2004-05-25  Trent Lloyd  <lathiat@bur.st>

	Fixes: #57472

	* gui/dialogs/alarm-options.c:
	* gui/dialogs/calendar-setup.c:
	* gui/dialogs/cancel-comp.c:
	* gui/dialogs/changed-comp.c:
	* gui/dialogs/delete-comp.c:
	* gui/dialogs/delete-error.c:
	* gui/dialogs/save-comp.c:
	* gui/dialogs/select-source-dialog.c:
	* gui/dialogs/send-comp.c
	* gui/dialogs/url-editor-dialog.c:
	- Add include of e-icon-factory.h
	- Set icon on window to be calendar/tasks icon rather than mail icon

svn path=/trunk/; revision=26073
2004-05-25 09:09:33 +00:00
7c70ddcc35 Use ngettext for handling plural forms throughout (fixes bug 53464).
svn path=/trunk/; revision=25168
2004-03-24 00:18:02 +00:00
678779afb8 See #51567 use "gtk_dialog_add_buttons" to change the response_id of
2004-02-13  Bruce Tao  <bruce.tao@sun.com>

        See #51567
        * gui/dialogs/delete-comp.c (delete_component_dialog):
        use "gtk_dialog_add_buttons" to change the response_id of button
        "YES" and "NO".

svn path=/trunk/; revision=24719
2004-02-12 09:44:47 +00:00
fb0dddb43d Revert William McCann's patch of 2003-12-19 until we can get consistent
2004-01-12  JP Rosevear <jpr@ximian.com>

	* Revert William McCann's patch of 2003-12-19 until we can get
	consistent across all of evolution

svn path=/trunk/; revision=24177
2004-01-12 21:19:09 +00:00
fb8be1c3e2 Remove separators from dialogs. Use frame style recommended by the HIG.
2003-12-19  William Jon McCann  <mccann@jhu.edu>

        * gui/dialogs/task-page.c (source_changed_cb):
        * gui/dialogs/send-comp.c (send_component_dialog):
        * gui/dialogs/save-comp.c (save_component_dialog):
        * gui/dialogs/recur-comp.c (recur_component_dialog):
        * gui/dialogs/event-page.c (source_changed_cb):
        * gui/dialogs/delete-error.c (delete_error_dialog):
        * gui/dialogs/delete-comp.c (delete_component_dialog):
        * gui/dialogs/changed-comp.c (changed_component_dialog):
        * gui/dialogs/cancel-comp.c (cancel_component_dialog):
        * gui/dialogs/alarm-options.glade:
        * gui/dialogs/alarm-page.glade:
        * gui/dialogs/cal-prefs-dialog.glade:
        * gui/dialogs/e-delegate-dialog.glade:
        * gui/dialogs/event-page.glade:
        * gui/dialogs/new-calendar.glade:
        * gui/dialogs/new-task-list.glade:
        * gui/dialogs/recurrence-page.glade:
        * gui/dialogs/task-details-page.glade:
        * gui/dialogs/task-page.glade:
        * gui/tasks-control.c (confirm_purge):
        * gui/tasks-component.c (delete_task_list_cb)
        (rename_task_list_cb, setup_create_ecal):
        * gui/goto-dialog.glade:
        * gui/e-cal-model-tasks.c (show_geo_warning):
        * gui/comp-editor-factory.c (cal_opened_cb):
        * gui/calendar-component.c (delete_calendar_cb)
        (rename_calendar_cb, setup_create_ecal, delete_calendar_cb):
        * gui/calendar-commands.c (purge_cmd):
        Remove separators from dialogs.  Use frame style recommended
        by the HIG.

svn path=/trunk/; revision=23989
2003-12-19 17:49:02 +00:00
0a13b57295 Remove a bunch of gal includes that are no longer needed
2003-11-20  JP Rosevear <jpr@ximian.com>

	* Remove a bunch of gal includes that are no longer needed

svn path=/trunk/; revision=23457
2003-11-20 15:11:40 +00:00
200606f928 Various changes to merge in evolution-data-server reliance.
svn path=/trunk/; revision=23206
2003-11-07 05:52:24 +00:00
d5ce44bd78 Fix an unused variable
* gui/alarm-notify/alarm-queue.c (on_dialog_obj_updated_cb): Fix
	an unused variable

	* gui/calendar-commands.c (purge_cmd): Fix warnings.

	* gui/calendar-config.h: s/confirm_expunge/confirm_purge/ to match
	the actual functions

	* gui/control-factory.c: add some missing #includes

	* gui/dialogs/delete-comp.c (delete_component_dialog): Fix a
	warning

	* gui/e-itip-control.c (write_label_piece): Remove unused variable.

	* gui/print.c (print_calendar): Remove unused variable
	(print_comp): Likewise.

	* gui/tasks-control.c (confirm_purge): Fix warnings.
	(print_tasks): Remove unused variable.

svn path=/trunk/; revision=21905
2003-07-23 15:05:03 +00:00
64ee2a607b added a GtkWindow argument for callers to specify the parent window.
2003-06-27  Rodrigo Moya <rodrigo@ximian.com>

	* gui/dialogs/send-comp.[ch] (send_component_dialog):
	* gui/dialogs/cancel-comp.[ch] (cancel_component_dialog): added a
	GtkWindow argument for callers to specify the parent window.

	* gui/dialogs/changed-comp.[ch] (changed_component_dialog): added
	'parent' argument and use GtkMessageDialog instead of
	gnome_question_dialog.

	* gui/e-calendar-table.c (e_calendar_table_delete_selected):
	* gui/e-day-view.c (e_day_view_delete_event_internal,
	  e_day_view_on_cut, e_day_view_finish_long_event_resize,
	  e_day_view_finish_resize, e_day_view_on_editting_stopped,
	  e_day_view_on_top_canvas_drag_data_received, selection_received):
	* gui/e-week-view.c (e_week_view_delete_event_internal,
	  e_week_view_on_cut, e_week_view_on_editing_stopped,
	  selection_received):
	* gui/dialogs/event-editor.c (cancel_meeting_cmd):
	* gui/dialogs/task-editor.c (cancel_task_cmd):
	* gui/dialogs/comp-editor.c (delete_cmd, obj_removed_cb): pass the parent window to
	the *_component_dialog() functions.

	* gui/dialogs/delete-comp.c (delete_component_dialog): use the 'widget'
	argument to get the parent window for the dialog.

svn path=/trunk/; revision=21684
2003-06-29 19:33:42 +00:00
3cf26e43e2 Mainly making all views use PangoLayouts for text. When drawing a
2003-01-25  Hans Petter Jansson  <hpj@ximian.com>

	Mainly making all views use PangoLayouts for text. When drawing a
	PangoLayout, the draw offset is the top left corner of the layout,
	not the text's baseline. Keep this in mind when viewing the
	changes. I'll be brief about the exact changes, since they speak
	better for themselves.

	* gui/e-day-view-time-item.c (e_day_view_time_item_get_column_width):
	Use Pango.
	(e_day_view_time_item_draw): Use Pango.

	* gui/e-day-view-top-item.c (e_day_view_top_item_draw): Use Pango.
	(e_day_view_top_item_draw_long_event): Add some FIXME text so we can
	see when this is being used. Is it in use at all?

	* gui/e-day-view.c: No longer specify an explicit X font string for
	the large font. Use the main font, and change the point size.
	(e_day_view_init): Use Pango.
	(e_day_view_style_set): Use Pango. Comment out the gdk_font setting
	for the drag text items for now.

	* gui/e-day-view.h: Use Pango.

	* gui/e-week-view-event-item.c (e_week_view_draw_time): Use Pango.

	* gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
	Use Pango.

	* gui/e-week-view-titles-item.c (e_week_view_titles_item_draw):
	Use Pango.

	* gui/e-week-view.c: No longer specify an explicit X font string for
	the small font. Use the main font, and change the point size.
	(e_week_view_init): Use Pango.
	(e_week_view_destroy): Use Pango.
	(get_string_width): Implemented for convenience.
	(get_digit_width): Implemented for convenience.
	(e_week_view_style_set): Use Pango.
	(e_week_view_recalc_cell_sizes): Use Pango.
	(e_week_view_get_time_string_width): Use Pango.

	* gui/e-week-view.h: Use Pango.

	Following are some random UTF-8 fixes and a crash fix.

	* gui/itip-utils.c (comp_description): Use g_locale_to_utf8 ().

	* gui/dialogs/comp-editor.c (make_title_from_comp): Return a
	UTF-8 string.

	* gui/dialogs/alarm-page.c (alarm_page_set_summary): Pass UTF-8
	directly to GTK.

	* gui/dialogs/delete-comp.c (delete_component_dialog): Ditto.

	* gui/dialogs/meeting-page.c (meeting_page_fill_widgets): Ditto.
	(meeting_page_construct): Ditto.

	* gui/dialogs/recurrence-page.c (recurrence_page_set_summary): Ditto.

	* gui/dialogs/event-editor.c (event_editor_finalize): Fix crash caused
	by gtk_object_destroy()-ing a non-GtkObject.

svn path=/trunk/; revision=19628
2003-01-26 01:42:05 +00:00
bc01d3ac62 Changed e_messagebox -> gtk_messagedialog.
2002-11-22  Not Zed  <NotZed@Ximian.com>

        * gui/dialogs/delete-comp.c (delete_component_dialog): Changed
        e_messagebox -> gtk_messagedialog.

svn path=/trunk/; revision=18903
2002-11-24 23:19:21 +00:00
55434d9467 converted to BonoboObject.
2002-11-07  Rodrigo Moya <rodrigo@ximian.com>

	* cal-client/query-listener.[ch]: converted to BonoboObject.

	* gui/dialogs/comp-editor-util.c (parse_contact_string): use glib's
	g_utf8_strchr.

	* gui/dialogs/delete-comp.c: removed non-existant headers. Use
	GtkStock instead of GnomeStock.

	* gui/dialogs/e-delegate-dialog.c: converted to BonoboActivation.
	(e_delegate_dialog_construct): adapted to changes in glade_xml_new.

svn path=/trunk/; revision=18632
2002-11-07 16:18:38 +00:00
f3c4424cca Use an EMessageBox instead of a gnome_dialog_question so that the label
2001-10-30  Federico Mena Quintero  <federico@ximian.com>

	* gui/dialogs/delete-comp.c (delete_component_dialog): Use an
	EMessageBox instead of a gnome_dialog_question so that the label
	gets line breaking.  Fixes bug #11260.

2001-10-29  Federico Mena Quintero  <federico@ximian.com>

	Fix bug #13649.

	* gui/calendar-config.c
	(calendar_config_get_use_default_reminder): New function.
	(calendar_config_set_use_default_reminder): New function.
	(calendar_config_get_default_reminder_interval): New function.
	(calendar_config_set_default_reminder_interval): New function.
	(calendar_config_get_default_reminder_units): New function.
	(calendar_config_set_default_reminder_units): New function.
	(config_read): Get the options for default reminders.
	(calendar_config_write): Set the options for default reminders.

	* gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_show_config):
	Set the default reminder widgets from the config values.
	(cal_prefs_dialog_update_config): Set the config values from the
	widgets.

	* gui/comp-util.c (cal_comp_event_new_with_defaults): New
	function; creates a VEVENT component with the default alarm.

	* gui/e-day-view.c (e_day_view_key_press): Use
	cal_comp_event_new_with_defaults ();

	* gui/e-week-view.c (e_week_view_key_press): Likewise.
	* gui/calendar-model.c (calendar_model_append_row): Likewise.
	* gui/comp-editor-factory.c (get_default_component): Likewise.
	* gui/gnome-cal.c (gnome_calendar_new_appointment_for): Likewise.

	* cal-util/cal-component.c (ensure_alarm_properties_cb): Ensure we
	have a DESCRIPTION property.
	(cal_component_commit_sequence): Ensure we have the mandatory
	alarm properties.

svn path=/trunk/; revision=14446
2001-10-30 09:25:24 +00:00
54634a1357 Delete appointments with empty summaries. Fixes Ximian bug #780.
2001-10-27  Federico Mena Quintero  <federico@ximian.com>

	* gui/e-day-view.c (e_day_view_on_editing_stopped): Delete
	appointments with empty summaries.  Fixes Ximian bug #780.

	* gui/e-week-view.c (e_week_view_on_editing_stopped): Likewise.

	* gui/dialogs/delete-comp.c (delete_component_dialog): Added an
	argument to specify whether we unconditionally want single
	components to be considered as not having a summary.

	* gui/comp-util.c (cal_comp_confirm_delete_empty_comp): New
	function.

	* gui/misc.[ch]: New files with miscellaneous utility functions;
	moved string_is_empty() over from calendar-model.c.

	* gui/calendar-model.c: Use the string_is_empty()
	function from misc.c.

	* gui/Makefile.am (evolution_calendar_SOURCES): Added misc.[ch] to
	the list of sources.

svn path=/trunk/; revision=14233
2001-10-27 22:13:20 +00:00
7ba9607966 Fixing the license text.
svn path=/trunk/; revision=14214
2001-10-27 17:38:13 +00:00
3c4c88c974 Warning fixes courtesy of Chris Lahey <clahey@ximian.com>.
2001-09-25  Federico Mena Quintero  <federico@ximian.com>

	Warning fixes courtesy of Chris Lahey <clahey@ximian.com>.

	* gui/e-itip-control.c (write_html): Warning fixes.  Also, don't
	strdup() more than necessary.

	* gui/e-meeting-time-sel.c (e_meeting_time_selector_refresh_cb):
	Warning fixes.

	* gui/itip-utils.c (itip_addresses_get): Warning fixes.

	* gui/print.c (print_day_background): Warning fixes.

	* gui/dialogs/alarm-options.c (alarm_to_aalarm_widgets): Warning
	fixes.
	(alarm_to_palarm_widgets): Likewise.

	* gui/dialogs/delete-comp.c: #include "../calendar-config.h"

svn path=/trunk/; revision=13120
2001-09-25 21:12:41 +00:00
54141f67b7 Fixes bug #2830.
2001-09-18  Federico Mena Quintero  <federico@ximian.com>

	Fixes bug #2830.

	* gui/calendar-config.c (calendar_config_get_confirm_delete): New
	function.
	(calendar_config_set_confirm_delete): New function.
	(config_read): Get the default value for the ConfirmDelete option.
	(calendar_config_write): Set the value of ConfirmDelete.

	* gui/dialogs/delete-comp.c (delete_component_dialog): Handle the
	configuration option for confirmation.

	* gui/dialogs/cal-prefs-dialog.c (CalPrefsDialogPrivate): Added
	the fields for the Other page.
	(get_widgets): Handle the new widgets.
	(cal_prefs_dialog_show_config): Likewise.
	(cal_prefs_dialog_update_config): Likewise.

svn path=/trunk/; revision=12953
2001-09-18 20:56:38 +00:00
98c32c5c11 Fix bug #2829.
2001-05-18  Federico Mena Quintero  <federico@ximian.com>

	Fix bug #2829.

	* gui/dialogs/delete-comp.c (delete_component_dialog): Allow the
	caller to specify whether just one or many components are to be
	deleted.

	* gui/e-calendar-table.c (tasks_popup_one): Popup menu definition
	for when one and only one task is selected.
	(tasks_popup_many): Likewise, for more than one task.
	(e_calendar_table_on_right_click): Do not create a structure for
	the closure data; we can simply pass the cal_table.  Use a
	different menu depending on the number of selected tasks.
	(mark_as_complete_cb): Renamed; now iterates over the selected
	rows.
	(delete_selected_components): New function to delete all the
	selected components.
	(delete_cb): Adjusted for delete_component_dialog().
	(open_task): New function, simply open a CalComponent in the task
	editor.
	(open_task_by_row): Renamed; use open_task().

	* gui/e-week-view.c (e_week_view_on_delete_appointment): Updated
	for delete_component_dialog().

	* gui/e-day-view.c (e_day_view_on_delete_appointment): Likewise.

svn path=/trunk/; revision=9886
2001-05-19 03:05:25 +00:00
69dfa6b30b Display fixes, thanks to Kjartan for finding these.
2001-04-11  Gediminas Paulauskas <menesis@delfi.lt>

	Display fixes, thanks to Kjartan for finding these.

	* gui/event-editor.c: use simple (not e_utf8_) gtk_clist_append for
	strings which are never in utf-8.
	* dialogs/delete-comp.c (delete_component_dialog): convert only
	summary from utf-8 to gtk charset. Translated values are in correct
	craset already.

svn path=/trunk/; revision=9219
2001-04-11 01:20:10 +00:00
5393a574bf <gnome.h> trimming to reduce compilation time. Ditto. Ditto. Ditto. Ditto.
2001-01-25  Federico Mena Quintero  <federico@ximian.com>

	* cal-util/timeutil.c: <gnome.h> trimming to reduce compilation time.
	* gui/dialogs/task-editor.c: Ditto.
	* gui/dialogs/cal-prefs-dialog.c: Ditto.
	* gui/dialogs/save-comp.c: Ditto.
	* gui/dialogs/delete-comp.c: Ditto.
	* gui/calendar-commands.c: Ditto.
	* gui/calendar-model.c: Ditto.

svn path=/trunk/; revision=7880
2001-01-28 18:50:24 +00:00