Commit Graph

2412 Commits

Author SHA1 Message Date
0bc6624005 Bug 698487 - Contact Editor's Image's file chooser must show only images files 2013-04-26 01:59:33 +02:00
fcd764d059 Bug 695477 - Crash in EContactListEditor 2013-03-11 10:58:19 -04:00
4ff90f2bfd Use EClientComboBox where appropriate.
Basically any place where we use both EClient and ESourceComboBox.
2013-03-01 18:16:07 -05:00
5fdcdbc785 EAddressbookModel: Listen to the cache for client readonly changes.
Change notifications for EClient's "readonly" property can come on any
thread.  Our "notify::readonly" signal handler immediately updates the
model's editable status, which triggers GTK+ calls, which can crash the
application if we're not in the correct thread.

Connect instead to EClientCache's "client-notify" signal, which is
always emitted from EClientCache's dedicated main loop context, and
happens to be the same main loop context that GTK+ uses.  It's also
less bookkeeping when the model's EBookClient gets replaced.
2013-02-25 09:27:35 -05:00
f5d1b8bc5a EAddressbookModel: Replace "registry" property with "client-cache".
Registry can still be accessed through e_client_cache_ref_registry(),
but we'll want to utilize the client cache as well.

e_addressbook_model_new() now takes an EClientCache instead of an
ESourceRegistry, and e_addressbook_model_get_registry() is replaced
by e_addressbook_model_get_client_cache().
2013-02-25 09:27:35 -05:00
0beee88d10 Bug 694460 - 'Email' section toggle button in contact editor has incorrect name 2013-02-24 19:12:31 -05:00
33bbdaa50b Coding style and whitespace cleanup. 2013-02-23 22:24:59 -05:00
ab88c78d56 Correct label for "Country:" textbox in Work section on
"Mailing Address" tab of contact editor

https://bugzilla.gnome.org/show_bug.cgi?id=692020
2013-02-22 14:43:49 +01:00
c3ea33df61 EAddressbookSelector: Inherit from EClientSelector.
Use e_client_selector_get_client() to obtain an EClient.
2013-02-18 14:19:34 -05:00
9714a4bbf1 Defer "backend-died" alerts to EShell. 2013-02-16 18:57:09 -05:00
269149baf5 Add mnemonic widgets for title and suffix comboboxes
https://bugzilla.gnome.org/show_bug.cgi?id=692720
2013-02-08 11:41:23 +01:00
763081aa86 Fix up error handling around e_book/cal_client_connect_finish(). 2013-01-30 12:45:55 -05:00
e583928e04 Use e_book_client_connect().
Instead of e_client_utils_open_new() and e_book_client_new().
2013-01-30 08:37:15 -05:00
41edc5515b Contact's print doesn't decode QP encoded email addresses 2013-01-22 17:06:53 +01:00
8e2902eefc Bump GDK_VERSION_MIN_REQUIRED to GDK_VERSION_3_2.
Clean up resulting deprecation warnings, which were all related to
GtkOrientable consolidation (e.g. gtk_hbox_new() -> gtk_box_new()).
2013-01-19 19:08:01 -05:00
d545bdb78c Avoid deprecated libedataserver APIs.
I forgot to include this in 3.7.4, but no matter.
2013-01-15 09:43:40 -05:00
6aeb10160e Bug #691640 - Distinguish the word "Title" for translation 2013-01-14 20:51:22 +01:00
9ac0364b4c Bug #691134 - Only autocompleted name is added to a contact list 2013-01-11 11:00:05 +01:00
268b609f9d Bug #691134 - New contact lists always saved to a default book 2013-01-08 22:15:38 +01:00
79f9fe7f77 e-config: Remove unused functions.
e_config_add_skip_check()
e_config_class_remove_factory()
e_config_create_window()
e_config_page_get()
e_config_page_next()
e_config_page_prev()
e_config_set_page_is_finish()

Also remove E_CONFIG_ASSISTANT and all the assistant support therein.
2012-12-16 18:07:54 -05:00
bed06d9ec3 Move the contact map widgets to addressbook/gui/widgets.
Move the supporting widgets for the contact maps feature alongside
EABContactDisplay.  Removing them from libeutil helps isolate our usage
of libchamplain so it's not imposed on the entire application, and even
3rd party software.  That libchamplain is an optional dependency only
further complicates the matter.

Ideally I'd like to somehow isolate this feature in an extension module,
but we currently lack sufficient hooks for such an extension.  So this
arrangement will have to suffice for now.
2012-12-12 14:33:47 -05:00
d09d8de870 Consolidate base utility libraries into libeutil.
Evolution consists of entirely too many small utility libraries, which
increases linking and loading time, places a burden on higher layers of
the application (e.g. modules) which has to remember to link to all the
small in-tree utility libraries, and makes it difficult to generate API
documentation for these utility libraries in one Gtk-Doc module.

Merge the following utility libraries under the umbrella of libeutil,
and enforce a single-include policy on libeutil so we can reorganize
the files as desired without disrupting its pseudo-public API.

   libemail-utils/libemail-utils.la
   libevolution-utils/libevolution-utils.la
   filter/libfilter.la
   widgets/e-timezone-dialog/libetimezonedialog.la
   widgets/menus/libmenus.la
   widgets/misc/libemiscwidgets.la
   widgets/table/libetable.la
   widgets/text/libetext.la

This also merges libedataserverui from the Evolution-Data-Server module,
since Evolution is its only consumer nowadays, and I'd like to make some
improvements to those APIs without concern for backward-compatibility.

And finally, start a Gtk-Doc module for libeutil.  It's going to be a
project just getting all the symbols _listed_ much less _documented_.
But the skeletal structure is in place and I'm off to a good start.
2012-12-12 14:33:43 -05:00
ab3f65a15e Address couple issues found by a Coverity scan 2012-11-30 15:30:45 +01:00
d52ad1054d Add a GdkDevice parameter to gnome_canvas_item_grab().
GnomeCanvas will stash the GdkDevice and reuse it in the subsequent
gnome_canvas_item_ungrab() call.
2012-11-29 18:15:35 -05:00
d2fb5ee1a8 Avoid using GdkEventButton directly in certain places.
Prefer dealing with GdkEvent pointers and using accessor functions like
gdk_event_get_button().

This is complicated by the fact that some GtkWidget method declarations
still use GdkEventButton pointers, and synthesizing button events pretty
much requires direct GdkEventButton access.  But GDK seems to be nudging
itself toward sealing the GdkEvent union.  Likely to happen in GDK4.

Mainly clean up signal handlers and leave method overrides alone for now.
2012-11-29 13:24:24 -05:00
c073de6c4c Bug #687360 - Crash on quit in gtk_style_context_get_valist() 2012-11-29 14:22:19 +01:00
2c4ae5e768 Coding style and whitespace cleanup. 2012-11-10 15:54:43 -05:00
75595d233b Bug #683877 - No more contextual menus for links 2012-11-08 17:27:37 +01:00
e1807b3155 Bug #317153 - Contact editor too large for small screens 2012-10-29 22:53:15 +01:00
e9749faddd Bug #679862 - Do not use ENameSelectorEntry in .ui files 2012-08-21 14:31:56 +02:00
c85109fc32 Coding style and whitespace cleanup. 2012-08-19 14:17:55 -04:00
a456ef68fd Bug #680666 - Contacts/Tasks/Memos preview pane does not follow theme colors 2012-08-02 11:11:41 +02:00
f77a83e875 Display local contact photos in EContactEditor's EImageChooser
Some contacts have photos stored locally as files. Until now
EContactEditor displayed thumbnail of contact photo in EImageChooser
only if the photo was embedded in the vCard as data. This patch
adds support for dispalying thumbnails of photos stored in local files
to indicate that the contact has a picture set.
2012-06-27 14:18:39 +02:00
2a86155e71 Bug #674427 - Crash when formatting contact in addressbook 2012-06-27 14:18:39 +02:00
255e052904 Fix displaying photos in contacts preview
EContactPhoto URIs are already escaped, but WebKit escapes it again, so images
are not displayed sometimes. Unescaping the URI before writing it to the HTML
fixes to problem.
2012-06-27 14:18:38 +02:00
cc8bf823ec Coding style and whitespace cleanup. 2012-06-24 20:31:43 -04:00
f960fd2dff Reduce usage of g_type_class_peek_parent().
G_DEFINE_TYPE macros define a static "parent_class" variable.
2012-06-24 20:31:42 -04:00
7cbdc483cc all: don't set draw_background to FALSE on EText 2012-06-18 10:27:01 -04:00
6c05b09be1 Do not call g_object_notify() when property didn't change 2012-06-18 15:35:44 +02:00
031c40a517 Bug #764467 - URL popup shows all Copy options 2012-06-18 13:42:39 +02:00
2a4a12c470 Move EBookSourceConfig to /widgets/misc.
EBookSourceConfig drags in no additional dependencies, and allows us to
delay publishing a libevolution-addressbook.so since 3rd party packages
will need to subclass EBookSourceConfig.

The address book source code will need to be flattened into a single
library before we could publish a libevolution-addressbook.so anyway.
That would be a good thing to do regardless -- Evolution has way too
many internal libraries -- but it's out of scope at the moment.
2012-06-14 13:40:11 -04:00
2a39437ee9 Adapt to single-include E-D-S libraries. 2012-06-03 15:14:03 -04:00
571e5e17f8 Adapt addressbook/gui/widgets to the new ESource API. 2012-06-02 23:00:39 -04:00
b99b09e457 Adapt addressbook/gui/merging to the new ESource API. 2012-06-02 23:00:39 -04:00
7e8696ec5b Adapt EContactListEditor to the new ESource API. 2012-06-02 23:00:39 -04:00
1642c226cd Adapt EContactEditor to the new ESource API. 2012-06-02 23:00:39 -04:00
2a2933ec5c Add ESourceConfig widget.
Base class for building address book and calendar configuration dialogs.
2012-06-02 23:00:38 -04:00
ceea3a0a1f Reduce diff noise with 'account-mgmt' branch.
One last time.
2012-06-02 16:52:01 -04:00
885cb6c050 Remove tooltip_markup from .ui
As it turns out, it's not actually required.
2012-05-18 18:56:13 +02:00
dfb3a6b6ed Mark forgotten tooltip strings as translatable 2012-05-15 21:12:02 +02:00