aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-misc-utils.c
Commit message (Collapse)AuthorAgeFilesLines
* [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/+36
| | | | | | | | 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 argument checks to weekday functions.Matthew Barnes2013-03-151-0/+11
|
* Add weekday conversion functions.Matthew Barnes2013-03-091-0/+86
| | | | | e_weekday_to_tm_wday() e_weekday_from_tm_wday()
* Add more weekday arithmetic functions.Matthew Barnes2013-03-081-0/+65
| | | | | | | | | | 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-4/+4
| | | | | | | 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/+88
| | | | | | These just cycle over the GDateWeekday enum. Trivial functions, but they help make loops a little easier to read.
* Bug #695193 - Window size resets to default at exit with gtk 3.7.10+Fabien Tassin2013-03-071-5/+3
|
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-0/+1807
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.