Commit Graph

965 Commits

Author SHA1 Message Date
e4fa8fe104 Fix several types of pedantic compiler warnings. 2009-05-16 12:11:55 -04:00
68af3e6898 Add e_attachment_store_get_attachments(). 2009-05-14 12:55:33 -04:00
bbe6437d08 Bug 582585 – Crash when deleting multiple attachments from composed mail 2009-05-14 10:50:38 -04:00
00cf33a815 Bug 582144 – Evolution not showing proper attachment filename 2009-05-13 11:39:18 -04:00
f8c480420f Bug 440919 – Evolution can't attach "zero length" files 2009-05-12 21:43:37 -04:00
95a1645fc5 Fix a couple attachment drag-and-drop typos. 2009-05-05 22:58:58 -04:00
73e2332d84 Use 'Open with "$foo"' instead of 'Open in $foo...'
For better consistency with Nautilus.
2009-05-05 14:53:33 -04:00
f2767b2462 Bug 581454 – Move nautilus-sendto integration to Evolution 2009-05-05 14:53:33 -04:00
3a87c8d166 Fix an error extracting URIs from local attachments. 2009-05-04 23:32:41 -04:00
825f74be1c Another #include path fix. 2009-05-04 21:30:10 -04:00
94cba78ef8 Fix include paths. 2009-05-04 20:24:39 -04:00
1667030b3f Bug 574781 – Bad e-send-options.glade strings 2009-05-02 23:59:34 -04:00
d632fb33b3 Remove obsolete Glade files. 2009-05-02 22:46:21 -04:00
d523f10dfe Use Behdad's brilliant git.mk to generate .gitignore files. 2009-05-02 11:37:10 -04:00
71c5738707 Only #include specific libgnome[ui] headers; easier to track.
Stop including top-level libgnome[ui] headers -- <gnome.h>,
<libgnome/libgnome.h> and <libgnomeui/libgnomeui.h>.  Instead, include
specific header files so we can track them easier.

Also, remove several unshipped test programs.  Mostly ETable stuff.
2009-04-30 23:30:00 -04:00
4ce3d9c321 Bug 580892 – Kill libgnomeui/gnome-app and gnome-app-helper
The only remaining case is widgets/test/test-dropdown-button.c, but this
file will be removed when the kill-bonobo branch is merged.
2009-04-30 22:05:37 -04:00
c3191ec86b Bump the required GLib and GTK+ versions to latest stable.
We now require GLib >= 2.20 and GTK+ >= 2.16.  Also removed all
GLIB_CHECK_VERSION and GTK_CHECK_VERSION workarounds for older versions.
2009-04-30 15:42:04 -04:00
4449a34101 Commit the rest of the attachment UI rewrite
Oops, last commit only included the -new- files.
This also removes EExpander, which is no longer used.
2009-04-27 15:36:19 -04:00
e377ea5e61 Bug 516933 – Rewrite attachment UI
Rewrite the attachment UI to better utilize GIO and also to migrate from
GnomeIconList to GtkIconView.  This also introduces a "List View" option
similar to Nautilus, as well as the EAttachmentHandler framework for
extending attachment handling (may eventually replace EMFormatHook).

This commit also fixes a number of secondary attachment bugs:

Bug 311609 – new attachment bar should use regular gtk+ expander
Bug 314923 – Drag and Drop in attachment window is inconsistent and
             requires additional click
Bug 338179 – attachment saving ...
Bug 350364 – Action to get info about attachments
Bug 383047 – Viewing mail attachments
Bug 427235 – Can't copy attachment mime type string
Bug 454091 – Cannot save multiple attachments who have the same name
Bug 494629 – Rethink composer's attachment UI
Bug 553970 – Evolution ignores umask when saving attachments
Bug 577375 – mailto: and attach doesn't URL un-escape
2009-04-27 14:53:18 -04:00
8a072ffc7c GN-bug #572348 - Removed deprecated Gtk+ symbols
Some still left, because those gone in kill-bonobo branch.
2009-04-24 11:45:21 +02:00
e42f276527 Bug 577929 – Consolidate marshallers
Consolidate all marshalling specifications to e-util/e-marshal.list.
This reduces code duplication and makes it slightly easier to locate
unused marshallers.
2009-04-23 10:02:07 -04:00
ca0ac59661 BGO : 578685 : Copy string. Avoids SIGSEGV.
svn path=/trunk/; revision=37520
2009-04-13 10:34:42 +00:00
035c9fbfa8 ** Remove a bunch of juvenile comments. Source code should look
2009-04-12  Matthew Barnes  <mbarnes@redhat.com>

	** Remove a bunch of juvenile comments.  Source code should
	   look professional, even if some developers are not.


svn path=/trunk/; revision=37514
2009-04-12 05:58:10 +00:00
c577088913 Reviewed by Milan Crha <mcrha@redhat.com> Reviewed by Matthew Barnes
2009-04-07  Takao Fujiwara  <takao.fujiwara@sun.com>

	Reviewed by Milan Crha  <mcrha@redhat.com>
	Reviewed by Matthew Barnes  <mbarnes@redhat.com>

	* Fixes bug #537530

	* misc/e-attachment-bar.c (update):
	Use g_filename_to_utf8 for attachment filenames.


svn path=/trunk/; revision=37497
2009-04-07 11:34:29 +00:00
dcda926ed8 Removed the string marked for translation.
svn path=/trunk/; revision=37390
2009-03-09 04:41:19 +00:00
60f4e2fdef Fixes #342446
svn path=/trunk/; revision=37383
2009-03-08 15:57:20 +00:00
82d5ac92da ** Fix for bug #559027
2009-02-25  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #559027

	* e-dateedit.c: (on_date_entry_focus_out):
	Do not set date for 'None' value.


svn path=/trunk/; revision=37323
2009-02-25 10:44:12 +00:00
547e40879a ** Fix for bug #404232
2009-02-12  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #404232

	* addressbook/gui/widgets/e-addressbook-view.c: (search_activated):
	Rebuild view immediately for an advanced search too.

	* widgets/misc/e-filter-bar.c: (rule_advanced_response): Emit signal after
	search bar text is set, thus the text will not be empty, which
	is considered as "no search" these days.


svn path=/trunk/; revision=37253
2009-02-12 11:09:31 +00:00
51dba6bd0c ** Disable debug macros (#define d(x) x) throughout. (#569638)
2009-01-31  Matthew Barnes  <mbarnes@redhat.com>

	** Disable debug macros (#define d(x) x) throughout.  (#569638)


svn path=/trunk/; revision=37202
2009-02-01 01:18:42 +00:00
01d647401b Patch from Behnam Esfahbod - Fix for bug #342446 (Use localized digits in the calendar widget).
svn path=/trunk/; revision=37186
2009-01-30 09:14:05 +00:00
2b820fc4e2 New convenience function calls gtk_show_uri() and displays an error dialog
2009-01-11  Matthew Barnes  <mbarnes@redhat.com>

	* e-util/e-util.c (e_show_uri):
	New convenience function calls gtk_show_uri() and displays an
	error dialog if the URI cannot be shown.

	* addressbook/gui/widgets/eab-contact-display.c
	(eab_uri_popup_link_open), (on_link_clicked):
	* calendar/gui/e-cal-component-preview (on_link_clicked):
	* calendar/gui/e-cal-component-memo-preview (on_link_clicked):
	* calendar/gui/e-memo-table.c (open_url_cb):
	* calendar/gui/dialogs/comp-editor.c (open_attachment):
	* composer/e-msg-composer.c (msg_composer_link_clicked):
	* mail/em-folder-view.c (emfv_format_link_clicked):
	* mail/em-popup.c (emp_uri_popup_link_open):
	* plugins/mailing-list-actions/mailing-list-actions.c
	(emla_list_action_do):
	* shell/e-shell-window-commands.c (command_open_faq):
	* widgets/misc/e-attachment-bar.c (eab_icon_clicked_cb):
	* widgets/misc/e-url-entry.c (button_clicked_cb):
	Call e_show_uri() instead of gnome_url_show().

	* e-util/e-error.c (ee_response):
	Call e_display_help() instead of gnome_url_show().

	* mail/em-config.c:
	* mail/em-menu.c:
	Remove unneeded #include <libgnome/gnome-url.h>


svn path=/trunk/; revision=37037
2009-01-11 13:55:04 +00:00
b20c8370f1 Remove unneeded #include <libgnomeui/gnome-app.h>. Remove unneeded
2009-01-10  Matthew Barnes  <mbarnes@redhat.com>

	* addressbook/gui/component/addressbook-view.c:
	* addressbook/gui/contact-editor/e-contact-editor.h:
	* addressbook/gui/contact-editor/e-contact-quick-add.c:
	* addressbook/gui/contact-editor/eab-editor.h:
	* addressbook/gui/contact-list-editor/e-contact-list-editor.h:
	* mail/mail-autofilter.c:
	Remove unneeded #include <libgnomeui/gnome-app.h>.
	Remove unneeded #include <libgnomeui/gnome-app-helper.h>

	* calendar/gui/calendar-commands.c:
	* calendar/gui/e-cell-date-edit-text.c:
	* calendar/gui/e-itip-control.c:
	* calendar/gui/memos-control.c:
	* calendar/gui/print.c:
	* calendar/gui/tasks-control.c:
	* widgets/misc/test-dropdown-button.c:
	Remove unneeded #include <libgnomeui/gnome-stock-icons.h>.

	* calendar/gui/alarm-notify/alarm-queue.c:
	* calendar/gui/dialogs/cal-attachment-select-file.c:
	* calendar/gui/dialogs/cancel-comp.c:
	* calendar/gui/dialogs/changed-comp.c:
	* calendar/gui/dialogs/delete-error.c:
	* calendar/gui/dialogs/recur-comp.c:
	* calendar/gui/e-itip-control.c:
	* calendar/gui/print.c:
	Remove unneeded #include <libgnomeui/gnome-uidefs.h>.


svn path=/trunk/; revision=37035
2009-01-11 03:34:52 +00:00
75a0cef3ca ** Fixes bug #567281
2009-01-10  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #567281

	* calendar/gui/calendar-commands.c:
	* calendar/gui/e-cell-date-edit-text.c:
	* widgets/misc/e-cell-date-edit.c:
	* widgets/misc/e-cell-percent.c:
	Remove unneeded #include <libgnomeui/gnome-messagebox.h>.


svn path=/trunk/; revision=37033
2009-01-11 00:24:57 +00:00
97e48e3524 ** Fixes bug #567276
2009-01-10  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #567276

	* addressbook/gui/widgets/e-addressbook-view.c:
	* addressbook/printing/test-print.c:
	* calendar/gui/calendar-commands.c:
	* calendar/gui/control-factory.c:
	* calendar/gui/e-itip-control.c:
	* calendar/gui/gnome-cal.c:
	* calendar/gui/goto.c:
	* calendar/gui/memos-control.c:
	* calendar/gui/print.c:
	* calendar/gui/tasks-control.c:
	* calendar/gui/alarm-notify/alarm-queue.c:
	* calendar/gui/dialogs/schedule-page.c:
	* widgets/menus/gal-view-menus.c:
	Remove unneeded #include <libgnomeui/gnome-dialog-util.h>.

	* calendar/gui/calendar-config.c:
	* calendar/gui/calendar-config.h:
	Removed unused function calendar_config_check_timezone_set().

	* widgets/misc/test-color.c:
	We don't ship this.  Remove it.


svn path=/trunk/; revision=37030
2009-01-10 23:41:27 +00:00
150e238dab ** Fixes bug #567285
2009-01-10  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #567285

	* mail/mail-autofilter.c:
	* widgets/misc/e-activity-handler.c:
	* widgets/misc/e-dropdown-button.c:
	Remove unneeded #include <libgnomeui/gnome-popup-menu.h>.


svn path=/trunk/; revision=37027
2009-01-10 22:09:28 +00:00
607ce3802e Reviewed by Matthew Barnes <mbarnes@redhat.com>
2009-01-09  Takao Fujiwara  <takao.fujiwara@sun.com>

	Reviewed by Matthew Barnes  <mbarnes@redhat.com>

	* Fix for bug #566011

	* addressbook/gui/component/Makefile.am:
	* addressbook/gui/component/addressbook-component.c
	(addressbook_component_class_init):
	Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and
	add bindtextdomain().

	* calendar/gui/Makefile.am:
	* calendar/gui/calendar-component.c (calendar_component_class_init):
	* calendar/gui/dialogs/comp-editor.c:
	* calendar/gui/memos-component.c (memos_component_class_init):
	* calendar/gui/tasks-component.c (tasks_component_class_init):
	Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and
	add bindtextdomain().

	* composer/e-composer-header-table.c:
	* composer/e-composer-private.h:
	Include <glib/gi18n-lib.h> instead of <glib/gi18n.h>.

	* mail/mail-component.c (mail_component_class_init):
	Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and
	add bindtextdomain().

	* shell/e-user-creatable-items-handler.c
	(e_user_creatable_items_handler_class_ini):
	Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and
	add bindtextdomain().

	* widgets/misc/e-charset-picker.c:
	* widgets/misc/e-signature-combo-box.c:
	Include <glib/gi18n-lib.h> instead of <glib/gi18n.h>.


svn path=/trunk/; revision=37021
2009-01-09 07:36:29 +00:00
8977778ec4 ** Fix for bug #556303
2008-12-10  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #556303

	* e-attachment-bar.c: (eab_icon_clicked_cb):
	Check whether attachment has a body already before accessing it.


svn path=/trunk/; revision=36861
2008-12-10 10:50:59 +00:00
14ed95aaaf ** Fix for bug #563669
2008-12-09  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #563669

	* addressbook/gui/component/ldap-config.glade:
	* addressbook/printing/e-contact-print.glade:
	* mail/mail-config.glade:
	* filter/filter.glade:
	* widgets/misc/e-send-options.glade:
	* calendar/gui/dialogs/recurrence-page.glade:
	* calendar/gui/dialogs/alarm-dialog.glade:
	* calendar/gui/dialogs/event-page.glade:
	* calendar/gui/dialogs/task-details-page.glade:
	* calendar/gui/dialogs/cal-prefs-dialog.glade:
	* calendar/gui/alarm-notify/alarm-notify.glade:
	* calendar/gui/goto-dialog.glade:
	Use zero GtkSpinButton's PageSize, as Gtk+ requires.


svn path=/trunk/; revision=36855
2008-12-09 12:53:32 +00:00
585ed6226b Only include the toplevel GTK+ header.
2008-10-30  Matthew Barnes  <mbarnes@redhat.com>

	* addressbook/gui/contact-editor/test-editor.c:
	* addressbook/gui/widgets/e-minicard-label.c:
	* addressbook/gui/widgets/e-minicard-view-widget.c:
	* addressbook/gui/widgets/test-reflow.c:
	* calendar/gui/control-factory.c:
	* calendar/gui/e-calendar-table.c:
	* calendar/gui/e-week-view-event-item.c:
	* calendar/gui/weekday-picker.c:
	* e-util/e-icon-factory.c:
	* shell/importer/evolution-importer-client.h:
	* shell/importer/intelligent.c:
	* shell/test/evolution-test-component.c:
	* widgets/menus/gal-view-menus.c:
	* widgets/misc/e-activity-handler.c:
	* widgets/table/e-table-config-field.h:
	Only include the toplevel GTK+ header.


svn path=/trunk/; revision=36699
2008-10-30 16:52:23 +00:00
df55bc8beb License Changes
svn path=/trunk/; revision=36693
2008-10-29 10:44:21 +00:00
e3230aaa65 Re-factor spinner usage
svn path=/trunk/; revision=36671
2008-10-21 09:54:26 +00:00
d636d0ead7 License changes.
svn path=/trunk/; revision=36641
2008-10-17 16:46:27 +00:00
13d7c4e4cb License changes
svn path=/trunk/; revision=36591
2008-10-10 12:59:06 +00:00
77ff19dd83 ** Fix for bug #554418
2008-10-01  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #554418

	* e-util/e-util.h: (e_util_guess_mime_type):
	* e-util/e-util.c: (e_util_guess_mime_type): Guess mime_type based on
	the file content only when permitted by the caller, otherwise
	check based on the filename only, where it fallbacks if file
	content guess fails.

	* mail/em-utils.c: (em_utils_snoop_type):
	* mail/em-popup.c: (emp_standard_menu_factory):
	Guess mime_type based on the filename only.

	* composer/e-msg-composer.c: (handle_uri),
	(e_msg_composer_add_inline_image_from_file): Guess mime_type based
	on the file content, if failed, then on the filename.

	* widgets/misc/e-attachment.c: (attachment_guess_mime_type):
	Allow guessing mime_type based on the file content.

	* calendar/gui/dialogs/comp-editor.c: (set_attachment_list):
	* calendar/gui/e-cal-popup.c: (ecalp_standard_menu_factory):
	Allow/disallow guessing of the mime_type based on the file content.


svn path=/trunk/; revision=36529
2008-10-01 12:29:46 +00:00
3b318d5cbf Change License from GPL to LGPL.
svn path=/trunk/; revision=36520
2008-10-01 09:24:41 +00:00
1f8187e8da Change License from GPL to LGPL.
svn path=/trunk/; revision=36502
2008-09-30 15:19:23 +00:00
0679411d0e ** Fix for bug #530716
2008-09-29  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #530716

	* mail/mail-session.c: (user_message_response), (user_message_exec),
	(user_message_response_free): Differentiate between response
	with valid message pointer and with one already freed.

	* widgets/misc/e-activity-handler.c: (error_cleanup): GtkDialog errors close
	by the response message, not as other widgets, because creator
	of the dialog waits for that signal and takes care of the widget.


svn path=/trunk/; revision=36473
2008-09-29 10:07:12 +00:00
bfc8b8784d License changes from GPL to LGPL
svn path=/trunk/; revision=36465
2008-09-29 08:36:04 +00:00
762ac32d75 Change License from GPL to LGPL
svn path=/trunk/; revision=36443
2008-09-24 11:02:48 +00:00
f9f3b67162 Change license from GPL to LGPL
svn path=/trunk/; revision=36381
2008-09-19 06:02:55 +00:00