Commit Graph

1236 Commits

Author SHA1 Message Date
Matthew Barnes 43d1413338 Bug 614049 - Attachment bar causes drawing issues in RTL locales 2010-03-29 14:09:16 -04:00
Matthew Barnes 04305b8fa3 Revert some bad assumptions I made in EPluginUI.
We can't require the use of EUIManager everywhere because we don't
control all the UI manager instances -- the most compelling example
being the composer, whose UI manager comes from GtkhtmlEditor.

Instead, EPluginUI will check the instance type and pick an appropriate
"load_from_string" function.
2010-03-15 12:14:36 -04:00
Matthew Barnes d7494c8f16 Shell and UI manager cleanups.
Replace the EVO_EXPRESS environment variable with an --express command
line option.  (Note, this adds a new translatable string for --help.)

Add an EUIManager class with an "express-mode" property and custom load
functions that use our new "express" preprocessor.  This replaces the UI
manager functions in e-utils.c.

(Also going to see if I can get GTK+ to add an "add_ui_from_string"
method to GtkUIManagerClass that we can override.  Then we could just
call gtk_ui_manager_add_ui_from_string() and the preprocessor would
automatically do its thing and chain up.)

Add an "express-mode" read-only GObject property to EShell.

Add e_shell_configure_ui_manager() to e-shell-utils.c.  For now this
just creates a one-way property binding:

    EShell:express-mode -> EUIManager:express-mode

Call this immediately after e_ui_manager_new().  (EUIManager can't do
this itself because it lives too low in the dependency hierarchy and
doesn't know about EShell.)
2010-03-13 20:53:17 -05:00
Fridrich Strba a674eab94d Update win32 directory relocation and some consistency cleanup 2010-03-10 12:18:12 +01:00
Matthew Barnes 559ad10061 ECalendar header cleanup. 2010-03-09 15:44:44 -05:00
Fridrich Strba 855ba06dc0 Remove a long lived win32 hack
It seems that the dummy libraries are not needed anymore on windows
nowadays.
2010-03-05 21:50:41 +01:00
Matthew Barnes 2836a54dd6 Work around recent GTK+ deprecations. 2010-03-05 07:36:23 -05:00
Matthew Barnes 90bc495b61 Fix a misspelled icon name. 2010-03-03 18:11:21 -05:00
Fridrich Strba 0a9b740c1b Filtering out g_chmod on windows because it makes no sense there 2010-03-02 17:40:04 +01:00
Matthew Barnes 8b407ec081 Revert "Bug 587014 - Magic space does not work as expected"
This reverts commit 2ee273db7c.

That commit caused the side-effect reported in bug #610251.
2010-02-17 17:08:54 -05:00
Matthew Barnes df8b6db32e Forgot to disconnect a signal handler in EAttachmentButton.
The "deactivate" handler for EAttachmentButton's popup menu was never
disconnected, and I suspect it may be getting invoked after the button
has been finalized.
2010-02-17 13:11:37 -05:00
Matthew Barnes eff516f779 Bug 609042 - Convert quoted-printing to UTF-8 when copying to clipboard 2010-02-16 14:00:54 -05:00
Matthew Barnes 53cdaa7e15 Fix command-line import crasher.
GtkAssistant's initial reference is floating, so if command-line import
fails to find a suitable importer, sink the reference before finalizing
the GtkAssistant.
2010-02-12 07:44:51 -05:00
Matthew Barnes 67ce5f3b14 Add DnD support to e-selection.c.
Avoid listing calendar and directory targets explicitly, so that
e-selection.c contains the one and only master list.  Still need
to figure out how to centralize "text/x-source-vcard".
2010-02-08 18:57:24 -05:00
Matthew Barnes 49ef32b76c Coding style and whitespace cleanup. 2010-02-07 13:26:37 -05:00
Matthew Barnes 2ef43b4cf4 Fix a compiler warning. 2010-02-06 21:18:00 -05:00
Matthew Barnes 0cc56c014f Bug 602416 - Changing shell views emits many runtime warnings 2010-02-06 20:48:27 -05:00
Matthew Barnes 31e449ebed Implement account-wide search scope in mail.
Also, let EShellSearchbar handle search state persistence.
2010-02-06 13:46:40 -05:00
Matthew Barnes ec73f5522f Coding style and whitespace cleanup. 2010-01-30 18:09:19 -05:00
Matthew Barnes 27988a2b71 Don't show total attachment size if it's zero. 2010-01-28 12:38:08 -05:00
Matthew Barnes e8c67c85c9 Revise some comments in e-attachment.c. 2010-01-28 11:33:42 -05:00
Matthew Barnes bbe38b0f7a Add focus tracking to EMailBrowser. 2010-01-19 18:14:48 -05:00
Matthew Barnes f6d07f6cc6 Bug 607234 - Open received attachments as read-only 2010-01-18 13:52:31 -05:00
Matthew Barnes 39ee1b7890 Give all preview panes a search bar.
Use Shift+Ctrl+F as the accelerator for consistency with the mailer.
2010-01-17 23:54:06 -05:00
Matthew Barnes 3e7c7808cc Improve clipboard behavior.
Add "copy-target-list" and "paste-target-list" to the ESelectable
interface.  These are underutilized for the moment, but will eventually
be used to help integrate drag-and-drop support into ESelectable.

Add cut and paste support to EWebView, along with a new "editable"
property and new clipboard signals "copy-clipboard", "cut-clipboard" and
"paste-clipboard".

In EFocusTracker, listen for "owner-changed" signals from the default
clipboard as another trigger to update actions, particularly the Paste
action.  (Unfortunately this doesn't work for EWebView since GtkHtml
implements its own clipboard.)

In EMsgComposer, convert GtkhtmlEditor's clipboard methods to empty
stubs, since EFocusTracker will now trigger EWebView's clipboard
actions.  Also, intercept EWebView::paste-clipboard signals and improve
the interaction between the HTML editor and the attachment bar based on
use cases in bug #603715.
2010-01-17 12:11:08 -05:00
Matthew Barnes cae22334fa Remove dead assignments found by clang. 2010-01-15 21:50:05 -05:00
Wang Xin d37784ed3d Fixes #606937 - void function should not have a return value. 2010-01-15 11:26:53 +08:00
Matthew Barnes 95072d1bc3 Remove unused tooltip support from ECanvas/ETable/EText. 2010-01-14 11:34:28 -05:00
Matthew Barnes 82b5b24abc Remove unused ECanvas functions. 2010-01-14 11:34:28 -05:00
Matthew Barnes a6d296b998 Baby steps toward GSEAL compliance. 2010-01-13 14:17:42 -05:00
Matthew Barnes 79741ccd3f Bug 606250 - Remove usage of deprecated GTK+ symbols
Several GtkWidget macros were recently deprecated.
2010-01-07 14:45:43 -05:00
Matthew Barnes 5c80f1534b Coding style and whitespace cleanup. 2010-01-04 20:22:21 -05:00
Matthew Barnes 69945127d8 Kill widgets/misc/e-colors.[ch]. 2010-01-04 20:22:21 -05:00
Matthew Barnes 1501b8588c Kill e_popup_menu().
The function is trivial and was only used from ETableHeaderItem.
This also eliminates widgets/misc/e-gui-utils.[ch].
2010-01-04 20:22:21 -05:00
Matthew Barnes e969826cd3 Kill redundant RGB/HSV color conversion utilities.
Use gtk_rgb_to_hsv() instead of e_rgb_to_hsv().
Use gtk_hsv_to_rgb() instead of e_hsv_to_rgb().
2010-01-04 20:22:20 -05:00
Matthew Barnes e77ee5d5d3 Coding style and whitespace cleanup. 2010-01-03 12:15:01 -06:00
Chenthill Palanisamy 6a72dacb7d Bug 361145 - Evolution hangs when formatting message - fixes part of it. 2009-12-28 18:44:09 +05:30
Matthew Barnes 59bd81691d Compiler and linker flag cleanups. 2009-12-27 14:32:39 -05:00
Matthew Barnes bd31f49bac Coding style and whitespace cleanup. 2009-12-26 00:26:18 -05:00
Matthew Barnes 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
Milan Crha 3f36489c67 Bug #329693 - Add contexts to translated "None" words 2009-12-23 17:11:59 +01:00
Milan Crha 455353a19d Bug #605192 - New memo window has start date as None 2009-12-22 20:32:28 +01:00
Milan Crha 90ee277703 Bug #593896 - Menu > Search > Find now is always enabled (again) 2009-12-21 12:35:03 +01:00
Matthew Barnes f989e5d970 Bug 596947 - Calendar view forgets memo pane height 2009-12-19 23:54:54 -05:00
Milan Crha 65931feb2a Bug #591938 - Update translator's comments 2009-12-09 18:55:15 +01:00
Jonathon Jongsma 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
Matthew Barnes cc0b806134 Bug 603682 - Duplicate mnemonic in meeting window 2009-12-03 12:41:10 -05:00
Jonathon Jongsma 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
Jonathon Jongsma fff91b3bc6 port widgets/ to use new EError API
https://bugzilla.gnome.org/show_bug.cgi?id=602963
2009-11-30 13:31:19 -06:00
Matthew Barnes 0b98cf60cb Fix some details in our asynchronous functions.
Don't unref the GAsyncResult in finish functions.  Do it after calling
g_simple_async_result_complete().  This allows the GAsyncReadyCallback
to be optional, and we'll still clean up resources properly.

Also, don't call g_simple_async_result_complete_in_idle() unless we're
completing an operation from a separate thread, which we're not in any
of the current cases.
2009-11-20 14:24:45 -05:00