Commit Graph

1356 Commits

Author SHA1 Message Date
ba8f1f78f4 Add e_activity_handle_cancellation().
Convenience function for use in GAsyncReadyCallback functions.

This acknowledges the cancellation, so that the activity's description
changes from "(cancelling)" to "(cancelled)" and the description appears
crossed out in the UI for a moment before disappearing.
2011-05-11 12:59:29 -04:00
8a186c3588 Coding style cleanups. 2011-05-08 13:37:20 -04:00
bf5647aa47 MailFolderCache: Drop folder URI in "folder-changed" signal.
We already include a CamelStore and folder name string in the signal
arguments, so it's trivial to reconstruct the URI if it's needed.
2011-05-06 12:58:55 -04:00
65f2472d6a Remove e_get_account_by_source_url().
Function is no longer used, or wanted.
2011-05-06 11:35:16 -04:00
b8a932ae1e Fix compiler warnings.
Mostly dead assignments.
2011-05-03 10:45:46 -04:00
ae28ea4621 EMailShellView: Open the selected folder ourselves.
This one's a little involved:

 - EMailShellView now obtains a CamelFolder itself in response to
   EMFolderTree::folder-selected signals.  Uses EActivity to do so.

 - Revise EMFolderTree::folder-selected signal arguments to be more
   useful: emit a CamelStore object instead of a folder URI.

 - Also revise EMFolderTree::folder-activiated signal arguments the
   same way while we're at it.

 - Remove the "folder_uri" argument from e_mail_reader_set_folder().
   If you have a CamelFolder object you can obtain the URI string by
   calling camel_folder_get_uri().
2011-05-02 21:01:48 -04:00
18d8b5f73d Remove e_get_account_by_transport_url().
Function is no longer used, or wanted.
2011-05-02 16:09:12 -04:00
f52c1d20c6 e_get_account_by_uid(): Also handle CamelTransport UIDs.
Enhance e_get_account_by_uid() to also accept CamelTransport UIDs.

The convention we use to distinguish them is simple:

   Given an EAccount UID:

   - The CamelStore UID is the EAccount UID verbatim.

   - The CamelTransport UID is the EAccount UID + "-transport".

So just check for a "-transport" suffix and truncate it.
2011-05-02 12:45:55 -04:00
397aeade05 Adapt to CamelService changes. 2011-04-21 07:45:45 -04:00
37b3d691ca Bug 647708 - e_plugin_xml_prop() can return libxml2 allocated memory
Always copy the xmlChar property into GLib-allocated memory.
g_mem_is_system_malloc() has nothing to do with libxml2.
2011-04-18 19:19:39 -04:00
1347b66c5e Don't crash on missing EAlert definitions. 2011-04-13 11:00:37 -04:00
ea8326df3a Remove the profiler plugin.
This plugin was for developers, but no one uses it anymore.  Plus the
only profiling hooks left in Evolution were in the MessageList widget,
which performs fine.  There's better ways to collect profiling data
these days anyway (sysprof, systemtap, etc.).
2011-03-28 16:12:42 -04:00
ac5adbd8fb EAlertBar: Make warnings time out after 5 minutes
Warnings are generally meant for transient errors.  No need to leave
them up indefinitely.  Close them automatically if the user hasn't
responded after a reasonable period of time has elapsed.
2011-03-25 14:20:19 -04:00
15b5f206e0 Change the accelerator map file location.
From: $HOME/.gnome2/accels/evolution
  To: $XDG_CONFIG_HOME/evolution/accels

Custom keyboard accelerator maps is a well-hidden feature these
days, especially in GNOME 3.  Not worth migrating the old file.
2011-03-25 11:41:55 -04:00
a09a95559e Fix alignment of extra widgets in EAlertDialogs.
Add e_alert_dialog_get_content_area(), which returns the GtkVBox
containing the primary and secondary labels.  Use this instead of
gtk_dialog_get_content_area() to maintain the dialog's left margin
beneath the image.
2011-03-24 16:50:19 -04:00
3df6594023 Fix build break after recent eds changes 2011-03-14 08:02:05 +01:00
c6fd77460f Coding style and whitespace cleanup. 2011-03-05 12:34:28 -05:00
9afe9af75c Fix incorrect use of ngettext from a patch for bug #635414 2011-02-28 12:29:47 +01:00
1301cf02ef Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedly 2011-02-25 16:20:41 +01:00
fcb29478f6 Coding style and whitespace cleanup. 2011-02-18 20:44:24 -05:00
1b25ab52f7 Bug #639483 - Category list includes weather information 2011-02-18 15:13:06 +01:00
23e3079db1 Slightly nicer EAlertDialog after move to gtk3 2011-02-15 19:19:41 +01:00
4b9ac3879d Fix few memory leaks 2011-02-14 19:15:36 +01:00
7a1677520d Remove NULL checks for GObject methods.
As of GLib 2.28 all GObject virtual methods, including constructed(),
are safe to chain up to unconditionally.  Remove unnecessary checks.
2011-02-12 12:54:08 -05:00
2c31a5bc23 Bug 641756 - Fix warnings from GCC 4.6
GCC learned how to find dead assignments.
2011-02-08 11:57:50 -05:00
0478e01708 Bug #641011 - Ugly appointment editing windows 2011-02-03 10:45:03 +01:00
0109aa3a92 More whitespace cleanup. 2011-01-30 11:33:28 -05:00
21ab8044da Coding style and whitespace cleanup. 2011-01-29 20:22:57 -05:00
9bd1641646 Various critical warnings about comp-editor-pages and date edit 2011-01-25 10:37:39 -05:00
20023b69fe Use latest gnome-desktop API 2011-01-25 10:28:26 -05:00
ba05584de5 Dialogs no longer have separators. 2011-01-25 10:28:26 -05:00
753c60fc67 Drop backward-compatibility cruft. 2011-01-25 10:28:26 -05:00
3cce94edcb Bug #634403 - Mails Label popup menu is not updated properly 2011-01-19 14:56:35 +01:00
d47adb5922 Fudge GtkScrollable for gtk2.
Yes, the GtkScrollable interface is implemented by more than just
GtkLayout, but it turns out GtkLayout is the only thing Evolution
uses the GtkScrollable API for on the gtk3 branch.
2011-01-14 14:58:30 -05:00
0af3ff804c Fudge gtk_widget_get_preferred_size() for gtk2.
Easy enough to fake gtk_widget_get_preferred_size() in gtk2 using
gtk_widget_size_request().  Reduces diff noise with gtk3 branch.
2011-01-14 14:58:29 -05:00
e605a2888b Disconnect signal handlers from actions in alert_dispose() 2010-12-21 13:09:27 +01:00
22b2d26d04 Free/busy meeting view doesn't work due to non-working extension 2010-12-06 14:23:20 +01:00
081ee1af21 Localize few strings with ngettext
Per request of bug #635414
2010-12-02 16:24:42 +01:00
b09b3e9cca Bug #633779 - GtkComboBoxText issues 2010-11-18 13:35:36 +01:00
80d11c3d35 Workaround crash when pasting nothing into html message composer 2010-11-09 13:31:01 +01: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
0ab70ad33c Add GBinding transform funcs for enum types.
We'll want to store enum settings by their nicknames.
2010-11-04 14:18:34 -04:00
a2e309c2a1 Rename CalUnits to EDurationType.
And move the definition to e-util-enums.h so we get a GType for it.
2010-11-04 14:18:34 -04:00
2d9910210e Bug #629479 - Runtime critical warnings from e-print.c 2010-11-02 10:16:11 +01:00
7d20b8fd5f Utilize the new ESourceSelector:primary-selection property. 2010-11-01 14:46:03 -04:00
ccc2b3a14b EActivity: Add an "alert-sink" property.
This is just for convenience, EActivity does not use this property.

Especially useful in async function callbacks when the operation
failed and now you have to do something useful with the GError.
2010-10-31 22:54:30 -04:00
82925c6be9 Pass an EAlertSink to e_alert_sink_submit_alert().
Passing a random GtkWidget and then searching its ancestors for an
EAlertSink turned out to be not as useful as I thought.  Most of the
time we know about and have access to the widget that implements
EAlertSink, so just pass it directly as an EAlertSink.
2010-10-31 22:54:30 -04:00
43814fe775 Bug 633172 - Folder->Subscriptions is always enabled 2010-10-29 19:54:45 -04:00
df5ff95999 Adapt branch for building with GTK+ 2.22. 2010-10-29 13:51:38 -04:00
2de2e7f12f Workaround GtkComboBoxText/GtkComboBoxEntry in .ui files 2010-10-27 21:43:25 +02:00