Commit Graph

2248 Commits

Author SHA1 Message Date
11ecab76c4 Bug 608340 - Help text missing --debug parameter 2010-01-28 09:52:07 -05:00
8bbc48cd77 Changes in mingw.org last w32api/mingw-rt packages. 2010-01-28 14:42:27 +01:00
e741ec3076 Fix a issue for anjal while saving/restoring search across multiple
folders
2010-01-25 17:01:23 +05:30
53d9c34bb5 Bug 606342 - PST option not offered in single file import 2010-01-22 16:16:42 -05:00
48462592cb Add a EShellWindow::shell-view-created signal.
The signal uses the name of the newly created shell view as the detail,
so for example "shell-view-created::mail" is emitted when the "mail"
view is created.

Also, add e_shell_window_peek_shell_view() to obtain a shell view if it
exists but without instantiating it.

Using these new tools, teach the templates plugin to wait for the user
to switch to the "mail" view before connecting to its "update-actions"
signal.  Previously is was instantiating the "mail" view itself.
2010-01-22 11:46:34 -05:00
b448093c34 EShellBackend cleanup. 2010-01-19 10:02:25 -05:00
cae22334fa Remove dead assignments found by clang. 2010-01-15 21:50:05 -05:00
78c24066fa Bug 604520 - Create first account window hidden behind main window 2010-01-11 12:30:45 -05:00
abaecf816e Bug #606340 - Crash on non-utf8 letter in mail folder name 2010-01-08 16:29:42 +01:00
c6e32c11c1 Do not focus in a search entry when it is not having a focus 2010-01-07 19:15:02 +01:00
5c80f1534b Coding style and whitespace cleanup. 2010-01-04 20:22:21 -05:00
32bc83c91d Clarify "Synchronization Options" menu item.
Rename it "GNOME Pilot Synchronization" and only display the item if
gnome-pilot is installed.
2009-12-27 22:15:23 -05:00
ae7307e970 Hide "Submit Bug Report" if bug-buddy is not present. 2009-12-27 22:03:35 -05:00
59bd81691d Compiler and linker flag cleanups. 2009-12-27 14:32:39 -05:00
bd31f49bac Coding style and whitespace cleanup. 2009-12-26 00:26:18 -05:00
abc0e4c694 Introduce ESelectable and EFocusTracker.
EFocusTracker tracks the input focus within a window and helps keep
the sensitivity of "selectable" actions in the main menu up-to-date.
Selectable actions include Cut, Copy, Paste, Select All and Delete.

EFocusTracker has built-in support for widgets that implement the
GtkEditable interface such as GtkEntry and GtkTextView.  It also
supports custom widgets that implement the ESelectable interface,
which is a subset of GtkEditable and can apply to anything that
displays selectable content (esp. tree views and ETables).

This commit integrates EFocusTracker with EShellWindow, CompEditor,
EMsgComposer, and ESignatureManager.

It also bumps the GtkHTML requirement to 2.29.5 to utilize the new
GtkhtmlEditor:html constructor property.
2009-12-25 15:42:17 -05:00
3b199d9db0 Reverting commit 55c3f228ad because it's crashing Evolution 2009-12-23 12:03:58 +01:00
05c11c2cee Provison to hide search label for Anjal's use. 2009-12-23 14:43:00 +05:30
b687d95fac Anjal's search bar is outside of EShellContent. Handle that. 2009-12-23 14:42:59 +05:30
55c3f228ad Fix the way parent class is called. Anjal classes were never invoked
before.
2009-12-23 14:42:59 +05:30
64dddd6c7c Bug 604822 - Drop more alert titles
Drop all alert titles to be found in *.error.xml. HIG suggests alerts
do not have a title.
2009-12-20 11:08:05 +01:00
83a264cd7e Coding style and whitespace cleanup. 2009-12-19 18:36:46 -05:00
60e6ecbb42 Remove some obsolete GConf keys.
/apps/evolution/mail/display/show_preview
/apps/evolution/mail/display/thread_list

These keys are no longer needed since we're storing the settings by
folder now in ~/.evolution/mail/config/state.  To simplify things we use
hard-coded defaults: TRUE for PreviewVisible, FALSE for GroupByThreads.
2009-12-19 00:46:19 -05:00
4cbbdedf52 Refactor the EShell search API.
Move the search interface to a new widget: EShellSearchbar

The current search rule is now stored in EShellView, and the search
context in EShellViewClass similar to GalViewCollection (since it's
class-specific, not instance-specific).

Also add a couple new signals to EShellView: "clear-search" and
"custom-search" ("custom" refers to an advanced search or a saved
search -- something more complex than a quick search).

Still working out a few kinks.  The search entry is clearly trying to
be too many things.  We need a different way of indicating that you're
looking at search results.  Perhaps a search results banner similar to
Nautilus.
2009-12-18 22:38:00 -05:00
a1efb83756 EShellContent cleanups. 2009-12-18 22:22:33 -05:00
e2a748116d Fix a small memory leak in EShellBackend 2009-12-18 12:46:33 -06:00
b8ea5c8e6f Add get_data_dir(), get_config_dir() vfuncs to EShellBackend
This allows modules to specify their own data dir in a flexible way without
having them hard-coded to the backend class name.  For example, the data dir for
the mail backend should be specified by the mail session (eventually as an eds
daemon) and the vfunc will allow the shell to query that in a generic way.
2009-12-18 12:46:33 -06:00
5341a35f20 Bug #604884 - Use proper colors in Search bar when is search activated 2009-12-18 13:47:02 +01:00
fb84cc9a9a Bug #593896 - "Search -> Find now" should not be always enabled 2009-12-17 20:29:11 +01:00
fe15c797a0 Bug #603184 - Various problems with search box in folders 2009-12-17 18:17:21 +01:00
859c8b5a8f Bug #603342 - Memory leak fixes 2009-12-15 11:12:41 +01:00
5ba8caffba Introduce EMailSidebar into libevolution-mail.
EMailSidebar is a subclass of EMFolderTree that implements the state
saving and restoration feature from EMailShellSidebar.  Placing this
in the shared mail library allows Anjal to reuse it.
2009-12-14 20:11:38 -05:00
ca899cf1cb Make e_shell_window_update_search_menu() more crash-resistant. 2009-12-14 15:39:53 -05:00
baea9882fc Move icon theme path setup from main() to EShell.
So Anjal picks it up.
2009-12-14 15:37:17 -05:00
4a9bf4dffd Bug #499322 - Use extension for "Save as" suggested file name 2009-12-10 16:08:52 +01:00
31204c9cc2 Port all error code to use GObject-ified EAlert / EAlertDialog
The changes are mainly including the e-alert-header.h header instead of just
e-alert.h.  This allows us to include e-alert.h in non-UI situations when
necessary.
2009-12-07 12:25:23 -06:00
40ff31b2af Bug 603592 - X11 window roles should be set 2009-12-03 11:31:21 -05:00
ba05eccc8d Revise the EShell ref-leak check to not upset Valgrind. 2009-12-02 16:50:53 -05:00
38a616e8b7 Add an EShell:module-directory constructor property.
This tells EShell where to look for EModules.  Best practice is to
define the directory in your CPPFLAGS and then pass it to EShell at
instantiation time, like so:

Makefile.am:

    evolution_CPPFLAGS = \
            -DMODULEDIR=\""$(moduledir)"\"
            ...

main.c:

    shell = g_object_new (
            E_TYPE_SHELL, "module-directory", MODULEDIR, ...);
2009-12-02 00:57:44 -05:00
f1825606e6 Allow EShellWindow "construct" methods to return NULL.
Also allow the methods themselves to be NULL.
2009-12-01 23:53:36 -05:00
793e57e24c Add private virtual methods to EShellWindowClass.
So Anjal can override what it needs to for its own purpose.
Also makes the EShellWindow design a little cleaner.

Methods added:

  GtkWidget *    (*construct_menubar)   (EShellWindow *shell_window);
  GtkWidget *    (*construct_toolbar)   (EShellWindow *shell_window);
  GtkWidget *    (*construct_sidebar)   (EShellWindow *shell_window);
  GtkWidget *    (*construct_content)   (EShellWindow *shell_window);
  GtkWidget *    (*construct_taskbar)   (EShellWindow *shell_window);
  EShellView *   (*create_shell_view)   (EShellWindow *shell_window,
                                         const gchar *view_name);

Also added some new GObject properties to help decouple actions from
internal EShellWindow widgets created by these methods:

  EShellWindow:sidebar-visible
  EShellWindow:switcher-visible
  EShellWindow:taskbar-visible
  EShellWindow:toolbar-visible
2009-12-01 22:27:11 -05:00
9379111ae4 Add e_shell_taskbar_get_activity_count().
For Anjal.

This really belongs in EShellBackend but the infrastructure is not
there yet.
2009-12-01 17:15:23 -05:00
c2ee0afbc8 Rename EError to EAlert to match general use better
The EError mechanism is used both for error dialogs as well as basic alerts or
user prompts, so we should give it a more general name which matches this use.

This patch also cleans up a few includes of e-alert.h (formerly e-error.h) that
were not actually being used.

https://bugzilla.gnome.org/show_bug.cgi?id=602963
2009-11-30 13:33:04 -06:00
0da239224f port shell/ over to the new EError API
https://bugzilla.gnome.org/show_bug.cgi?id=602963
2009-11-30 13:31:19 -06:00
c6727d66ad Implement a new 'killev' program.
For now this only terminates Evolution, but the same basic approach
should also be used with the Evolution-Data-Server D-Bus services.
2009-11-26 21:18:59 -05:00
04aac07030 Make EShell more subclassable.
Add method pointers to EShellClass for all the EShell signals.

Also rework my previous --quit corner case workaround: we'll want to do
the full shutdown procedure after all, since the backends have already
spun up.
2009-11-26 13:32:00 -05:00
de85b6fbec Handle a missed corner case with --quit.
If --quit is given and no other Evolution process is running, bypass our
usual shutdown procedure and terminate the main loop immediately.
2009-11-26 10:41:53 -05:00
aa3152a2ec Add a --quit command-line option.
This -asks- an existing Evolution process to quit.  It is equivalent to
selecting File->Quit in the main window.  It does not kill the process.

My plan is to use this as part of a new --force-shutdown implementation.
2009-11-26 10:28:31 -05:00
20efbd7c8b Add a --geometry command-line option.
Applies the user's window geometry string to the first main window.
Suggested in bug #529565.
2009-11-25 13:37:13 -05:00
1003f8f979 Default /evolution/shell/network_config/proxy_type to 0 explicitly
As part of fix for bug #602719
2009-11-23 20:33:11 +01:00