Commit Graph

2740 Commits

Author SHA1 Message Date
d0b147ddb6 Add shortcuts previously defined by gtk-stock item definitions 2014-02-17 14:38:58 +01:00
9e28ee3baf Fix EShellSearchbar regression after gtk-stock cleanup
There were missing icons on the shell's searchbar entry, due
to missed property binding on stock-id, instead of icon-name.
2014-02-13 17:12:31 +01:00
b48e21d9aa Stop using deprecated gtk-stock items 2014-02-12 20:47:07 +01:00
359b7b45d3 Bug 677300 - Add 3 px padding above and below the searchbar
This got dropped accidentally in the patch for bug 709428.
2014-01-12 18:02:52 -05:00
04ed82b053 Update copyright year in About dialog. 2014-01-07 17:08:57 -05:00
b21733d067 Bug 721545 - License text contains obsolete FSF postal address 2014-01-07 16:05:51 -05:00
7b98c39b0a Coding style and whitespace cleanup. 2013-12-07 10:04:45 -05:00
42f71a3b0e EShell: Configure WebKit's default SoupSession.
Configure WebKit's default SoupSession to honor our proxy settings.
2013-11-26 17:00:55 -05:00
570c637480 Fix/mute issues found by Coverity scan
This makes the code free of Coverity scan issues.
It is sometimes quite pedantic and expects/suggests some
coding habits, thus certain changes may look weird, but for a good
thing, I hope. The code is also tagged with Coverity scan
suppressions, to keep the code as is and hide the warning too.
Also note that Coverity treats g_return_if_fail(), g_assert() and
similar macros as unreliable, and it's true these can be disabled
during the compile time, thus it brings in other set of 'weird'
changes.
2013-11-15 09:06:57 +01:00
706b5a4420 Bug 710489 - Network detection broken at startup 2013-10-30 15:39:57 -04:00
bc0d5d40ed Bug 710797 - Name all the timeouts added with g_timeout_add() 2013-10-29 15:22:35 -04:00
1e40668551 EShellSearchbar: Remove unused 'child_containers'. 2013-10-26 12:35:59 -04:00
40b868004c Bug 709428 - Searchbar widgets should not wrap
Instead of wrapping the searchbar for small screens (which looks ugly
and breaks the initial window size on large screens), hide the filter
combo box in views that would otherwise be too wide for the screen.

There's no loss of functionality when hiding the filter combo box.
It's just a set of convenient pre-defined searches, all of which can
be reproduced through the Advanced Search interface.

New functions:

  e_shell_searchbar_get_filter_visible()
  e_shell_searchbar_set_filter_visible()
2013-10-26 12:04:39 -04:00
7a6be11ea6 Miscellaeous cleanups. 2013-10-20 11:15:41 -04:00
431d7188c5 Bug #710171 - EShellTaskbar: Gtk+ functions called out of the main thread 2013-10-18 16:20:51 +02:00
f240fb587f Remove all g_type_init() calls.
g_type_init() is deprecated in GLib 2.36.
2013-09-27 13:26:05 -04:00
3da4948c0f Miscellaneous cleanups. 2013-09-07 19:08:54 -04:00
7afed37074 EShellSearchbar: Put focus on search results after changing filter.
Direct the focus away from the filter combo box so the next keyboard
event doesn't change the selected filter.  The user is probably trying
to navigate search results.
2013-08-22 10:14:44 -04:00
b7e728dd46 Bug #682277 - Multiselect of messages causes slow UI update 2013-08-20 11:25:06 +02:00
9e7f8f13ff Update Authors list in About dialog. 2013-08-11 09:47:51 -04:00
161df81dd9 Bug 704440 - Close shell window alerts with Escape key
This adds a "close-alert" signal to EShellWindow, which is bound to
GDK_KEY_Escape.  The default handler closes view-specific alerts first,
then global alerts.
2013-08-10 17:20:35 -04:00
82cf893305 Remove unused e_shell_window_get_menu_bar_box(). 2013-08-10 17:20:35 -04:00
5c866713c7 Remove ESEvent.
Nudging EPlugin closer to full removal.

Nothing in Evolution uses this anymore and 3rd-party plugins should be
using EShell's "event::ready-to-start" signal or else GApplication's
"startup" signal.
2013-07-07 20:37:43 -04:00
cd76c782bd Miscellaneous cleanups. 2013-07-07 11:39:47 -04:00
682328cded Add e_activity_get_last_known_text().
Evolution is still occasionally getting stuck on shutdown, and although
the evolution-shell log domain shows debug messages for activities that
are preventing shutdown, they frequently look like this:

(evolution:13534): evolution-shell-DEBUG: 5 active 'mail' activities:
(evolution:13534): evolution-shell-DEBUG: * (no description)
(evolution:13534): evolution-shell-DEBUG: * (no description)
(evolution:13534): evolution-shell-DEBUG: * (no description)
(evolution:13534): evolution-shell-DEBUG: * (no description)
(evolution:13534): evolution-shell-DEBUG: * (no description)

I think the lack of descriptions is from CamelOperations popping all
their pushed messages, which is correct behavior but doesn't help us
debug the problem.

e_activity_get_last_known_text() returns the most recent _non-empty_
text value set on the EActivity.  So our debug message can fall back
to that if the EActivity has no description at shutdown:

(evolution:13534): evolution-shell-DEBUG: * (was "blah, blah, blah")
2013-07-06 11:57:57 -04:00
61a773db49 GalViewCollection: Load files during instance initialization.
gal_view_collection_new() now takes system and user directory arguments
and loads GalViews during instance initialization.

Removed functions:

  gal_view_collection_set_storage_directories()
  gal_view_collection_load()
  gal_view_collection_loaded()
2013-07-05 16:40:51 -04:00
df1dc37704 EShellView can load the GalViewCollection itself now.
EShellView no longer needs help from subclasses other than getting
the needed GalView subclasses registered.

A nice side-effect of this is EShellView subclasses can now use the
G_DEFINE_DYNAMIC_TYPE macro.
2013-07-05 16:40:50 -04:00
562c54612f GalViewCollection: Remove "title" member.
It's set by EShellView but not actually used for anything.

Removed functions:

  gal_view_collection_set_title()
2013-07-05 16:40:50 -04:00
8b8c95ab50 Replace "Define Views..." menu item with "Delete Current View".
The "Define Views" dialog is nearly useless.  Replace it with a "Delete
Current View" menu item which is only visible for custom views that have
been explicitly saved under a new name.

There's actually no loss of functionality with this commit.  Although
some view management tasks now require more clicks, view management in
general is a seldom-used feature and I doubt the dialog's absence will
even be noticed by users, much less missed.
2013-07-05 16:40:48 -04:00
31b5261fdb EShellView: Add a "view-instance" property.
EShellView now holds a reference to the active GalViewInstance.  Where
applicable, the EShellView subclass is responsible for keeping this up
to date when the sidebar selection changes.

Holding a reference allows EShellView to implement common actions like
"Save Current View" directly instead pushing it on to subclasses.

New functions:

  e_shell_view_get_view_instance
  e_shell_view_set_view_instance
2013-07-05 16:40:48 -04:00
7d6027be1a EShell-related cleanups. 2013-07-05 16:40:48 -04:00
d7d08dc168 EShellContent: Remove dangling function declarations.
The e_shell_content_get_view_id() and e_shell_content_set_view_id()
header file declarations have no implementation.
2013-07-03 11:29:03 -04:00
4f7b4d81e7 Reimplement the main toolbar's "prefer-item" feature.
This fixes a bug in the old implementation where the application could
crash after a second shell window was created and destroyed, because a
signal handler with the destroyed shell window as the closure was left
connected.

But moreover this simplifies the implementation by using a property
binding plus transform function instead of juggling signal handlers,
and also adds code comments where things get a little tricky.

Removed (now unused) functions:

  e_shell_window_get_toolbar_new_prefer_item
  e_shell_window_set_toolbar_new_prefer_item
2013-06-10 15:47:13 -04:00
af21783349 Remove e_shell_view_[un]block_update_actions().
No longer needed.
2013-06-01 06:33:22 -04:00
afdbd662d1 EShell: Check cookie before calling gtk_application_uninhibit(). 2013-05-31 10:34:41 -04:00
4860654335 Use F9 to toggle sidebar visibility.
As discussed recently on the users mailing list [1], there's a strong
precedent among GTK+ applications for F9 to toggle sidebar visibility.
Examples cited were Nautilus, Evince, Totem, Rhythmbox, File-Roller
and gThumb.

Change the Send/Receive accelerator from F9 to F12, and designate F9
as the accelerator for View->Layout->Show Side Bar.

[1] https://mail.gnome.org/archives/evolution-list/2013-May/msg00194.html
2013-05-29 08:09:53 -04:00
70a9fcdf9c Rename libeshell to libevolution-shell.
To make Evolution's shared libraries more consistent.

Also rename the documentation module to evolution-shell.
2013-05-28 09:56:30 -04:00
6c9a3243c9 Rename libeutil to libevolution-util.
To make Evolution's shared libraries more consistent.

Also rename the documentation module to evolution-util.
2013-05-28 09:56:30 -04:00
8b245838de Add e_activity_cancel().
Convenience function cancels the activity's GCancellable.
2013-04-25 11:42:04 -04:00
fd6ff38fbd EShellBackend: Log outstanding activities during shutdown.
Log debug messages for outstanding activities during shutdown to
help investigate stuck shutdown issues.

Enable this feature with: G_MESSAGES_DEBUG=evolution-shell
2013-04-18 15:53:06 -04:00
7a2673a359 EShellBackend: Rework shutdown delay.
Use g_signal_connect_data() to automatically release the EActivity when
the signal handler is disconnected, and keep the handler ID internally.

This is cleaner than using g_signal_handlers_disconnect_by_func().
2013-04-18 15:52:47 -04:00
7dec65de1a build: Fix srcdir != builddir from git
Mimicing Colin's commit fb9b02e for E-D-S.

We can't do (cd $(srcdir); ...) and inside reference $(top_srcdir)
because that variable uses a *relative* path.  Thus we copy the
approach from gnome-shell of explicitly using addprefix to append
the source directory.
2013-04-18 11:30:24 -04:00
1c5f6313c5 Bug #681837 - Make enum type registration thread safe 2013-04-12 09:50:06 +02:00
2361285121 Bug 677300 - Add 3 px padding above and below the searchbar 2013-04-08 23:23:02 -04:00
e17db00f41 Add e_shell_view_get_size_group().
Returns a GtkSizeGroup used to keep the search bar and sidebar banner
vertically aligned.
2013-04-08 23:21:54 -04:00
a74acbf197 EShellSearchbar: Remove more Express Mode leftovers.
Remove the following properties and corresponding get/set functions:

    "express-mode"
    "filter-visible"
    "labels-visible"
    "search-visible"
2013-04-08 22:36:20 -04:00
c3acac90ea EShellSearchbar cleanups. 2013-04-08 22:18:07 -04:00
721fef2d96 Update copyright year on About dialog. 2013-04-08 22:11:22 -04:00
018018fabe Remove more Express Mode hacks.
This removes all traces of Express Mode from all but the contact editor
and calendar appointment editor.  Need to evaluate the remaining cases
individually.
2013-03-31 12:10:54 -04:00
85fac87782 Remove e_shell_hide_widgets_for_express_mode().
No longer needed.
2013-03-31 12:10:54 -04:00