Commit Graph

250 Commits

Author SHA1 Message Date
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
19eea41c74 clean up the 'express' mode hooks for UI Managers and start to
extend them to plugins - use a simple one-off boolean on the UI Manager
instead of exhaustively trying to propagate this information everywhere.
2010-03-13 20:53:16 -05:00
5069df6878 Restructure capplet stuffs and load only on express mode. 2010-03-13 20:49:49 -05:00
8e0c294e15 Switch to anjal style on express mode. 2010-03-13 20:49:49 -05:00
a952896b27 Integrate into new account button. 2010-03-13 20:49:49 -05:00
304777ae4c Add generic 'express mode' conditionals to the UI XML 2010-03-13 20:49:49 -05:00
f767cb847b Fix GnomeCalendar lifecycle; not being a widget meant we didn't
get a gtk_widget_destroy invocation, which meant we left some
    callbacks registered, long after our child 'views' were destroyed
    causing sudden death in update_marcus_bains_line_cb, manipulating
    views.
2010-03-13 20:54:14 +00:00
c0533ef053 Some more directories relocated on windows 2010-03-11 00:22:35 +01:00
92e1807bd7 Bug 611727 - Date navigator marks dates for inactive calendars 2010-03-09 19:42:36 -05:00
1d88f36d7f Bug 611873 - Make triple-clicking a shortcut for "Show Only This ..."
Requires e_source_selector_select_exclusive() from libedataserverui.
2010-03-05 11:39:34 -05:00
1341a56ed1 Bug #529331 - Deletes appointments when moving to the same calendar 2010-02-25 13:32:32 +01:00
e9dc381d3a Bug 587014 - Magic space does not work as expected
Neither ETree::key-press nor ETableItem::key-press signal definitions
specify a GSignalAccumulator that terminates the signal emission when
a handler returns TRUE, and Evolution 2.29 connects multiple handlers
to ETree::key-press.

When the space key is pressed, the first handler implements the magic
space bar behavior and returns TRUE, which should terminate signal
emission but doesn't because there's no accumulator function on the
signal.  So the second handler runs and checks for other keys besides
space.  It returns FALSE since it didn't handle the key press.

End result: emission site gets back FALSE (from the second handler) as
the return value, so it thinks the key press was not handled at all and
invokes the fallback handler -- e_selection_model_toggle_single_row() --
which -unselects- the newly selected row, making it appear the next
unread message was never selected.

Several other ETable-related signals that return "handled" flags also
lack GSignalAccumulator functions.  I've made a note to myself to fix
those as well.
2010-02-17 19:45:28 -05:00
62b4d9af96 Bug 609836 - Add translator comments to ambiguous strings 2010-02-16 11:13:19 -05:00
9b608beea9 Bug 604542 - Skip non-system rules when building quick search menu 2010-02-10 13:40:08 -05:00
64984ad5b8 Bug 609403 - Doesn't restore window size always 2010-02-09 16:44:25 -05:00
22326b6d33 Bug 609404 - Quick search filter should work on current message list view 2010-02-09 12:22:04 -05:00
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
619b073719 Fix some dead assignments. 2010-02-07 21:08:49 -05:00
49ef32b76c Coding style and whitespace cleanup. 2010-02-07 13:26:37 -05:00
31e449ebed Implement account-wide search scope in mail.
Also, let EShellSearchbar handle search state persistence.
2010-02-06 13:46:40 -05:00
6db981fa56 Bug 607520 - 'Add to Address Book' fails when address has space 2010-02-02 18:29:47 -05:00
ec73f5522f Coding style and whitespace cleanup. 2010-01-30 18:09:19 -05:00
ab794abcd3 Improve sidebar and ECalModel interaction.
Restores the "default client" behavior from 2.28, so that "Click to Add"
task and memo fields work properly.
2010-01-30 09:02:11 -05:00
8d85229f8f Sidebar cleanups for Memos and Tasks.
Kill the EMemoTable::user-created signal and connect directly to
ECalModel::row-appended in e_memo_shell_view_private.c.

Same goes for tasks.
2010-01-30 09:02:11 -05:00
7c02582ae7 Remove a bunch of dead code in GnomeCalendar. 2010-01-30 09:02:11 -05:00
10438f7de6 Level the differences with the alternative runtime/header set 2010-01-28 14:42:00 +01:00
d635b839f8 Make authentication functionality available
This involves renaming the calendar auth-related functions to have a
prefix, and shipping the headers.

Part of https://bugzilla.gnome.org/show_bug.cgi?id=608175
2010-01-27 11:23:36 -02:00
6dcf4ec127 Bug #606666 - Cannot move cursor with arrows in preview with caret mode 2010-01-25 16:20:19 +01:00
9acd121a93 Coding style and whitespace cleanups. 2010-01-22 23:04:56 -05:00
5787b62931 Bug 549558 - "Download Messages for Offline Usage" still sensitive in offline mode 2010-01-21 12:22:06 -05:00
3459b38905 Bug 607608 - Empty Trash does not work unless Trash is selected 2010-01-21 11:28:43 -05:00
ad3995870b Bug #602827 - Disable broken plugins automatically 2010-01-19 16:19:56 +01:00
4165d1ef05 Bug 606940 - plugin_lib_loadmodule() always enables the plugin 2010-01-18 16:04:56 -05:00
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
73716c500b Fix some potential null pointer dereferences.
Caught by the Clang Static Analyzer.
2010-01-15 22:19:49 -05:00
0d17115d2c Fix a potential uninitialized argument in e-plugin-python.c.
if (PyCallable_Check (priv->pClass))
		pInstance = PyObject_CallObject (priv->pClass, NULL);

	pValue = PyObject_CallMethod (pInstance, (gchar *) name, NULL);

'pInstance' may be uninitialzed in call to PyObject_CallMethod().

Found by the Clang Static Analyzer.
2010-01-15 21:51:35 -05:00
cae22334fa Remove dead assignments found by clang. 2010-01-15 21:50:05 -05:00
611fda7054 Cleanup delete actions in shell views. 2010-01-10 11:33:53 -05:00
79741ccd3f Bug 606250 - Remove usage of deprecated GTK+ symbols
Several GtkWidget macros were recently deprecated.
2010-01-07 14:45:43 -05:00
5f1c9ff19d Bug #549988 - "Empty Trash" in Trash popup empties all Trash folders 2010-01-06 13:35:05 +01:00
ac07595af4 Bug #597816 - Read/save search folders with labels properly 2010-01-05 14:40:19 +01:00
5c80f1534b Coding style and whitespace cleanup. 2010-01-04 20:22:21 -05:00
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
e77ee5d5d3 Coding style and whitespace cleanup. 2010-01-03 12:15:01 -06:00
59bd81691d Compiler and linker flag cleanups. 2009-12-27 14:32:39 -05:00
6a074300e5 Rename ECalendarTable to ETaskTable.
Since ECalendarTable was only used for tasks anyway, and ETaskTable
pairs nicely with EMemoTable.
2009-12-26 12:25:48 -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
3f36489c67 Bug #329693 - Add contexts to translated "None" words 2009-12-23 17:11:59 +01:00
455353a19d Bug #605192 - New memo window has start date as None 2009-12-22 20:32:28 +01:00