aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-misc-utils.h
Commit message (Collapse)AuthorAgeFilesLines
* Bug 540362: [webkit-composer] Use webkit for composerTomas Popela2014-06-091-0/+3
| | | | Merge wip/webkit-composer branch into master.
* Properly disconnect signal handlers added with e_signal_connect_notify*()Milan Crha2014-06-051-0/+3
| | | | | | | | | | | This is a follow-up for the previous commit, where e_signal_connect_notify*() functions had been added. Due to a different callback and user data being attached to the 'notify' signal, the g_signal_handlers_*() functions do not work properly, thus these e_signal_connect_notify*() functions need a different way for a signal handler disconnect. A side-change was done in e-settings-web-view-gtkhtml.c, checking for a real key change from GSettings.
* Ignore false GObject property change notificationsMilan Crha2014-06-051-0/+18
| | | | | | | | | | | | | | | | | | | | | | This is related to bug 698275, which did not cover all cases. The problem here is that the dconf can in certain situation claim that everything changed (path "/" changed), which GSettingsBinding propagates to a GObject property unconditionally and GObject's property setter (g_object_set_property()) also notifies about the property change unconditionally, despite the real descendant property setter properly checks for the value change. After all these false notifications a callback on "notify" signal is called and possibly an expensive operation is run. Checking whether the value really changed helps in performance, for which were added new e-util functions: e_signal_connect_notify() e_signal_connect_notify_after() e_signal_connect_notify_swapped() e_signal_connect_notify_object() which have the same prototype as their GLib counterparts, but they allow only "notify::..." signals and they test whether the value really changed before they call the registered callback.
* Bug #678843 - May re-prompt password on account re-enableMilan Crha2014-05-131-0/+14
|
* Bug #684425 - Do not pass NULL text to gtk_entry_set_text()Milan Crha2014-04-111-0/+13
|
* e-util: Port to thread-safe ECategories APIPhilip Withnall2014-03-281-1/+1
| | | | | | | | | | | | | | This ports the following two function calls throughout Evolution: • e_categories_get_list() to e_categories_dup_list() • e_categories_get_icon_file_for() to e_categories_dup_icon_file_for() It necessarily changes some internal e-util API: • e_util_get_searchable_categories() to e_util_dup_searchable_categories() This bumps the EDS requirement to 3.13.1. https://bugzilla.gnome.org/show_bug.cgi?id=727221
* Miscellaneous cleanups.Matthew Barnes2014-03-031-1/+1
|
* Bug 721545 - License text contains obsolete FSF postal addressMatthew Barnes2014-01-081-10/+9
|
* [EMailFormatter] Use GdkRGBA and GtkStyleContext to get theme colorsMilan Crha2013-04-231-2/+2
| | | | | | | | | | It could happen that header text color had been picked white one time, but the other time black as expected (for me usually when I started Evolution in Calendar and moved to Mail view, the header text color was white, while when starting in Mail view it was black). The change to use GtkStyleContext is there only as a cleanup from deprecated GtkStyle, and to make things easier too, because both GtkStyle and the GtkStyleContext had set white color for some reason.
* Add e_load_ui_manager_definition().Matthew Barnes2013-04-011-0/+2
| | | | | | | | Loads a UI definition into a GtkUIManager from Evolution's UI directory. We actually had this function for a brief period during the 2.29 series, before Express Mode was a thing. I'm reviving the function to take over for EUIManager.
* Add weekday conversion functions.Matthew Barnes2013-03-091-0/+2
| | | | | e_weekday_to_tm_wday() e_weekday_from_tm_wday()
* Add more weekday arithmetic functions.Matthew Barnes2013-03-081-0/+6
| | | | | | | | | | These aren't as efficient as possible, but are as clear as possible. New functions: e_weekday_add_days() e_weekday_subtract_days() e_weekday_get_days_between()
* Rename functions in previous commit.Matthew Barnes2013-03-081-2/+2
| | | | | | | Changed my mind... got more to add. e_get_next_weekday() -> e_weekday_get_next() e_get_prev_weekday() -> e_weekday_get_prev()
* Add e_get_next_weekday() and e_get_prev_weekday().Matthew Barnes2013-03-071-0/+2
| | | | | | These just cycle over the GDateWeekday enum. Trivial functions, but they help make loops a little easier to read.
* Finish adding symbols to libeutil API docs.Matthew Barnes2012-12-151-0/+3
|
* e-misc-util.h: Fix quoted #includes.Matthew Barnes2012-12-141-2/+2
|
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-0/+175
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.