Commit Graph

2575 Commits

Author SHA1 Message Date
2dd62937f0 Build fixes 2011-10-13 17:23:54 +02:00
d4e8e2f809 Migrate most of the shell code to GSettings 2011-10-13 16:53:51 +02:00
cb3e037f8f Merge branch 'master' into wip/gsettings 2011-10-13 12:55:34 +02:00
07544c359f Bug 661534 - "Current View" tooltip untranslated 2011-10-12 09:43:18 -04:00
c2288452b3 Bug 661542 - Weird "Cannot upgrade from version 0.xxxx" on first use
GConf's default value for the version key is an empty string, which
causes "sscanf (string, "%d.%d.%d", major, minor, micro)" to fail and
leaves the major/minor/micro variables uninitialized.

Instead, initialize the up front before reading the GConf key.
2011-10-12 09:31:17 -04:00
56a166bb42 Merge branch 'master' into wip/gsettings 2011-10-10 12:50:18 +02:00
938505da18 Let GtkFileChooser track its own last-used-folder.
GtkFileChooser in GTK+ 3.2 now keeps track of the last-used-folder
itself, even across applications, so get out of its way and let it
handle it.
2011-10-06 08:16:21 -04:00
ef05d73b0a Remove EHintedEntry.
GtkEntry in GTK+ 3.2 now provides this functionality through the new
GtkEntry:placeholder-text property.
2011-10-06 08:16:21 -04:00
224f26b84d GtkApplication has some new EShell-like features.
I pushed a few EShell features up to GtkApplication for GTK+ 3.2,
so we can now trim off the redundancies in EShell.

1) GtkApplication has a new "window-added" signal which replaces
   EShell's own "window-created" signal.

2) GtkApplication has a new "window-removed" signal which replaces
   EShell's own "window-destroyed" signal.

3) gtk_application_get_windows() now returns a list of windows sorted
   by most recently focused, replacing e_shell_get_watched_windows().

4) GtkApplication now provides enough hooks to subclasses that we can
   remove e_shell_watch_window() and call gtk_application_add_window()
   directly.
2011-10-06 08:16:21 -04:00
4ec46cc05f Merge from master 2011-10-05 13:57:30 +02:00
1f38f4d92c Simplify library dependency flags.
We have a confusing array of nearly-identical CFLAGS/LIBS definitions in
configure.ac.  Time to simplify.  Instead let's just have one definition
that includes all the libraries provided by Evolution-Data-Server (incl.
Camel).  That, in combination with GNOME_PLATFORM, gives us most of what
we need for compliation and linking, and we can sprinkle definitions for
additional library dependencies in Makefile.am's as needed.
2011-10-04 22:27:14 -04:00
3d98af62e5 Require GLib 2.30.
Drop all GLIB_CHECK_VERSION macros.
2011-09-29 12:05:49 -04:00
e2b6ff7a6c Miscellaneous cleanups from the account-mgmt branch.
Reducing diff noise so I can see important changes easier when comparing
branches.  A few API changes, but nothing that affects functionality.
2011-09-27 09:31:13 -04:00
53bc6ffc53 The EExtension framework is now in libebackend.
The EModule, EExtensible and EExtension classes as well as the
e_type_traverse() function have been moved to Evolution-Data-Server's
libebackend library to replace e-data-server-module.c.

Now Evolution-Data-Server modules use the same framework as Evolution.
2011-09-26 09:45:55 -04:00
59b1706f15 Make sure GConf schemas have defined default values 2011-09-14 14:09:05 +02:00
777c1cbd40 Coding style and whitespace cleanup. 2011-09-14 14:09:00 +02:00
508f6cf941 Bug 657836 - Work around g_unix_signal API changes.
Work around GLib API churn with regard to registering UNIX signal
callbacks on the main loop.  GLib >= 2.29.5 calls the function one
thing, GLib >= 2.29.19 calls it another.
2011-09-14 14:08:58 +02:00
395033b5b3 Fix build break in libeshell. 2011-09-14 14:08:58 +02:00
49b8e1c523 EShell: Remove unused macro. 2011-09-14 14:08:45 +02:00
245ce77630 Remove link to FAQ as content is covered by new user docs 2011-09-14 14:08:44 +02:00
f6bfaabef9 Replace user name by username as used anywhere else in Evolution 2011-09-14 14:08:41 +02:00
1c940e2c35 Bug 652634 - Runtime warning on second search dialog
A signal handler connected to an EFilterRule was passing a GtkDialog
instance as the closure.  Eventually, the GtkDialog is destroyed but
we never disconnected the signal handler.
2011-09-14 14:08:36 +02:00
6bb6680f52 EShellContent: Fix underallocation of EAlertBar.
Keeps GTK+ from going crazy with runtime warnings.
2011-09-14 14:08:34 +02:00
bd4898c8a0 Make sure GConf schemas have defined default values 2011-09-14 12:36:54 +02:00
fcbbdfbd18 Coding style and whitespace cleanup. 2011-09-04 07:34:32 -04:00
3e3860e0ec Bug 657836 - Work around g_unix_signal API changes.
Work around GLib API churn with regard to registering UNIX signal
callbacks on the main loop.  GLib >= 2.29.5 calls the function one
thing, GLib >= 2.29.19 calls it another.
2011-08-31 12:30:56 -04:00
5e3b6a4d26 Fix build break in libeshell. 2011-08-28 13:56:18 -04:00
0d4cdfbc9c EShell: Remove unused macro. 2011-08-08 09:29:40 -04:00
ce6f467e3e Remove link to FAQ as content is covered by new user docs 2011-08-04 18:08:32 +02:00
a85e76fd0f Replace user name by username as used anywhere else in Evolution 2011-07-28 12:10:04 +02:00
d24bf99f46 Bug 652634 - Runtime warning on second search dialog
A signal handler connected to an EFilterRule was passing a GtkDialog
instance as the closure.  Eventually, the GtkDialog is destroyed but
we never disconnected the signal handler.
2011-07-10 19:08:52 -04:00
985ad2d4a4 EShellContent: Fix underallocation of EAlertBar.
Keeps GTK+ from going crazy with runtime warnings.
2011-07-06 19:46:14 -04:00
e7954c3f25 Coding style and whitespace cleanups. 2011-06-29 18:42:26 +02:00
f043e3c748 Including <glib-object.h> directly is rarely needed. 2011-06-29 18:42:21 +02:00
7132d0f0c2 Including <glib.h> directly is rarely needed. 2011-06-29 18:42:21 +02:00
c24038c4f6 Bug #646109 - Fix use of include <config.h> to make sure translations work 2011-06-29 18:42:20 +02:00
672132f8a0 EMFolderTree: Add an EAlertSink property.
Now EMFolderTree has access to both an EShellBackend and an EAlertSink;
everything it needs to build and submit EActivity instances.
2011-06-29 18:42:19 +02:00
3cd0ca95df Bug 649993 - Change behavior of --component option
This is primarily for the GNOME Shell calendar.

If, for example, "evolution --component calendar" is invoked and there
is already an Evolution window opened to the calendar view, present that
window.  Otherwise open a new Evolution window to the requested view.

Same behavior applies to all requested views.
2011-06-29 18:42:19 +02:00
9a2cffb057 Bug 650491 - Shell handles forwarding uris to existing process wrong
This adds a "handle-uris" GAction which takes a string array argument,
so the URIs can be passed to the primary process verbatim.
2011-06-29 18:42:19 +02:00
2191c224c0 Bug 650524 - Use g_unix_signal_add_watch_full() for SIGTERM
We can't call anything safely except write() inside a signal handler,
g_unix_signal_add_watch_full() handles this for us nicely.
2011-06-29 18:42:18 +02:00
794ec7dbb6 Handle SIGTERM instead of SIGQUIT.
SIGQUIT is supposed to produce a core dump.  We don't want that.
2011-06-29 18:42:17 +02:00
befa850712 Bug 650525 - Don't install a SEGV handler
Assume the operating system ships with a system-wide crash catching
service like ABRT or Apport.
2011-06-29 18:42:17 +02:00
5146ff4c53 Coding style and whitespace cleanup. 2011-06-29 18:42:17 +02:00
54da4fc09c Coding style cleanups. 2011-06-29 18:42:11 +02:00
578214584c Whitespace and coding style cleanups. 2011-06-29 18:42:10 +02:00
796937adcf Bug 332497 - Add Edit -> Available Categories
Opens a window to manage categories without having to edit a contact or
appointment.  Not available in the Mail shell view since it doesn't use
categories.
2011-06-29 18:42:07 +02:00
6bff39e1d6 Bug 645825 - Search bar not changing color when showing results 2011-06-29 18:42:03 +02:00
d8296e9f45 Bug 648317 - MeeGo shell looking for the wrong atom
Yet another s/MOBLIN/MEEGO/

https://bugs.meego.com/show_bug.cgi?id=13756
2011-06-29 18:41:55 +02:00
57ea14220e 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-06-29 18:41:50 +02:00
392973975c Restore lockdown integration.
With lockdown settings available through GSettings, widgets can handle
lockdown integration themselves without having to use EShellSettings.

Also fixed a few places where printing or save-to-disk actions were
either not properly wired up or not responding to lockdown settings,
but much more work needs done.  Attachments, for example, are not
honoring the disable-save-to-disk setting at all.

This too requires the recently-added gsettings-desktop-schemas
dependency.
2011-06-29 18:41:50 +02:00