aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into wip/gsettingsMatthew Barnes2011-11-234-74/+216
|\ | | | | | | | | Conflicts: mail/e-mail-paned-view.c
| * EPreviewPane: Implement EAlertSink.Matthew Barnes2011-11-222-2/+69
| | | | | | | | | | | | | | Means EMailBrowser no longer has to. Also, EMailReader now provides a default implementation for get_alert_sink() which just calls get_preview_pane() and casts.
| * EAlertBar: Add a close button to all alerts.Matthew Barnes2011-11-222-72/+147
| | | | | | | | | | Replaces the 'Dismiss' button. All alerts appearing in an alert bar should be dismissable (i.e. non-modal). For modal alerts use a dialog.
| * Remove some unnecessary #includes.Matthew Barnes2011-11-181-1/+0
| |
* | Merge branch 'master' into wip/gsettingsRodrigo Moya2011-11-084-112/+451
|\|
| * EMAccountEditor: Start using CamelNetworkSettings.Matthew Barnes2011-11-072-114/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of stuffing host/port/user/etc into CamelURLs. To enforce this in 3rd party extensions, remove EAccounts from EMConfigTargetAccount and rename it EMConfigTargetSettings with the following struct members: const gchar *email_address; const gchar *storage_protocol; CamelSettings *storage_settings; const gchar *transport_protocol; CamelSettings *transport_settings;
| * Add EAuthComboBox widget.Matthew Barnes2011-11-073-0/+332
| | | | | | | | To be used in the Account Editor to list authentication mechanisms.
* | Merge branch 'master' into wip/gsettingsRodrigo Moya2011-10-242-0/+5
|\|
| * Bug #527614 - Valgrind shows a nice amount of lost memoryMilan Crha2011-10-202-0/+5
| |
* | Port misc widgets to use GSettingsRodrigo Moya2011-10-133-18/+11
|/
* Prefer g_simple_async_result_take_error().Matthew Barnes2011-10-062-22/+11
| | | | | | | | | Slightly more efficient and convenient than: g_simple_async_result_set_from_error (simple, error); g_error_free (error); One less GError to copy and destroy.
* Let GtkFileChooser track its own last-used-folder.Matthew Barnes2011-10-062-129/+2
| | | | | | 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.
* Remove EHintedEntry.Matthew Barnes2011-10-063-368/+0
| | | | | GtkEntry in GTK+ 3.2 now provides this functionality through the new GtkEntry:placeholder-text property.
* EAttachmentPaned: Add "resize-toplevel" property.Matthew Barnes2011-10-062-13/+114
| | | | | | | | | Similiar to the new GtkExpander:resize-toplevel property in GTK+ 3.2, but adapted to the fact that EAttachmentPaned's expander has no direct child widget, and instead acts on the child widget in the lower pane. CompEditor now uses this to fix the weird vertical resizing behavior when its attachment bar is expanded and then collapsed again.
* Simplify library dependency flags.Matthew Barnes2011-10-051-14/+15
| | | | | | | | | 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.
* Remove Ctrl + l ( ) character from source filesPaul Menzel2011-09-302-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From ccc980da1fd84ebfca25cf8caf9a5d62333099fc Mon Sep 17 00:00:00 2001 From: Paul Menzel <paulepanter@users.sourceforge.net> Date: Wed, 28 Sep 2011 10:18:18 +0200 Subject: [PATCH] Remove Ctrl + l ( ) character from source files The following commits git show aac3f2c8 git show 1510304c git show 13cabd9e git show 350a7a33 git show 9b7cc54d git show e6972011 git show 1d3a7938 git show 934524b9 git show b2954936 git show a7f677b5 git show 4369c400 git show d509f47a git show a6d5818f git show c3876df7 git show 4583098b git show 2831ada5 git show 4e1bce59 git show 1609f699 git show 4e4c1676 git show d6fade43 among others(?) introduced several occurrences of Ctrl + l ( ). Probably this was caused by the used editor. These control characters can be searched for using the following command [1]. $ git grep ^L [1] http://unstableme.blogspot.com/2009/10/grep-and-print-control-characters-in.html
* Miscellaneous cleanups from the account-mgmt branch.Matthew Barnes2011-09-272-14/+29
| | | | | Reducing diff noise so I can see important changes easier when comparing branches. A few API changes, but nothing that affects functionality.
* The EExtension framework is now in libebackend.Matthew Barnes2011-09-267-7/+8
| | | | | | | | 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.
* Bug #351025 - Make the order of the mail accounts configurableMilan Crha2011-09-263-5/+916
|
* Bug #655252 - Need to escape the comp_uid part of a pathMilan Crha2011-09-262-58/+88
|
* Coding style and whitespace cleanup.Matthew Barnes2011-09-0441-997/+1261
|
* Bug #651741 - Find in text message doesn't warn about no matching foundMilan Crha2011-08-192-1/+5
|
* Bug #651633 - Hidden task/memo sidebar always automagically re-appearsMilan Crha2011-08-191-0/+19
|
* Bug #656722 - Incorrect prototype of notify:: signal callbackMilan Crha2011-08-171-1/+1
|
* EPortEntry: Add a "security-method" property.Matthew Barnes2011-08-152-75/+138
| | | | | This is an enum property of type CAMEL_TYPE_NETWORK_SECURITY_METHOD. We can then bind it to CamelNetworkSettings:security-method.
* Coding style and whitespace cleanup.Matthew Barnes2011-08-133-81/+102
|
* Bug #655669 - Can't save inline pictures embedded in HTML MailsMilan Crha2011-08-092-1/+55
|
* Bug #654889 - Closes when clicking on year/month selectorMilan Crha2011-07-251-7/+17
|
* Add "Open With Other Application" to attachment menu.Matthew Barnes2011-06-221-6/+68
| | | | Opens a GtkAppChooserDialog based on the attachment's content type.
* Bug #652626 - Fix initial position of contact maps markersDan Vrátil2011-06-151-0/+1
|
* Do not use deprecated EBook/ECal APIMilan Crha2011-06-142-23/+29
|
* Coding style and whitespace cleanups.Matthew Barnes2011-06-145-168/+161
|
* Replace G_CONST_RETURN with 'const'.Matthew Barnes2011-06-104-16/+16
| | | | GLib is finally dropping this hack.
* Coding style and whitespace cleanups.Matthew Barnes2011-06-099-40/+69
|
* Bug #642557 - Display maps in contact previewDan Vrátil2011-06-027-2/+1744
|
* Embed e_hsv_tweak() directly in e-table-item.c.Matthew Barnes2011-06-014-113/+0
| | | | | ETableItem is the last user of e_hsv_tweak(). This allows us to remove widgets/misc/e-hsv-utils.[ch].
* Move EPopupMenu to /widgets/table.Matthew Barnes2011-06-013-221/+0
| | | | | | | | ETableHeaderItem is the last user of EPopupMenu. Move it to /widgets/table to discourage further use and strip out unused features. The functionality it provides has long since been superseded by GtkUIManager and GtkAction.
* Including <glib-object.h> directly is rarely needed.Matthew Barnes2011-05-281-1/+0
|
* Including <glib.h> directly is rarely needed.Matthew Barnes2011-05-284-4/+0
|
* Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-2759-14/+210
|
* Bug 650491 - Shell handles forwarding uris to existing process wrongMatthew Barnes2011-05-232-12/+9
| | | | | This adds a "handle-uris" GAction which takes a string array argument, so the URIs can be passed to the primary process verbatim.
* Coding style and whitespace cleanup.Matthew Barnes2011-05-2211-93/+136
|
* Bug #601541 - Add 'Copy Image' Option On Inline Email ImagesMilan Crha2011-05-162-1/+113
|
* Bug #243938 - Clicking on week numbers changes work week to week viewMilan Crha2011-05-132-4/+42
|
* Coding style cleanups.Matthew Barnes2011-05-096-20/+20
|
* Whitespace and coding style cleanups.Matthew Barnes2011-05-085-5/+11
|
* Make EAlertBar messages selectableMilan Crha2011-04-281-0/+2
|
* Adapt to CamelService changes.Matthew Barnes2011-04-211-7/+4
|
* EWebView: Coding style cleanupMatthew Barnes2011-04-151-1/+2
|
* EWebView: Fix icon retrieval when showing EAlerts.Matthew Barnes2011-04-141-1/+13
| | | | Need to convert the icon filename to a URI for use in <img> tags.
* EWebView: Implement the EAlertSink interfaceMatthew Barnes2011-04-132-10/+116
| | | | Shows alerts directly in the HTML area, similar to GtkInfoBar.
* Restore lockdown integration.Matthew Barnes2011-03-285-44/+116
| | | | | | | | | | | | | 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.
* Bug 644310 - Rework "Set as Background" image optionMatthew Barnes2011-03-271-25/+18
| | | | | | | | | This adds a dependency on gsettings-desktop-schemas >= 2.91.92. The version was chosen for the change from "picture-filename" to "picture-uri" in the "org.gnome.desktop.background" schema. Also, we now save the background image under ~/Pictures since the old directory (~/.gnome2/wallpapers) is presumed deprecated in GNOME 3.
* EAlertBar: Make warnings time out after 5 minutesMatthew Barnes2011-03-261-1/+11
| | | | | | Warnings are generally meant for transient errors. No need to leave them up indefinitely. Close them automatically if the user hasn't responded after a reasonable period of time has elapsed.
* Reduce EAlertBar height.Matthew Barnes2011-03-261-6/+12
| | | | | Use height-for-width size requests instead of width-for-height. Height is still not as small as I'd like, but it's a little better.
* Bug 418954 - Add a separate entry combo for port numbersDan Vráti2011-03-243-0/+558
| | | | | | | | | Adds a new EPortEntry widget which appears alongside "host" entry boxes so users don't have to know about the "host:port" syntax to specify a custom port number. Currently only used in the mail account editor, but we'll generalize it futher so it can be used everywhere.
* Fix few invalid reads caused by ECanvasMilan Crha2011-03-151-6/+10
|
* Bug 644235 - Make EActivityProxy a GtkFrameCosimo Cecchi2011-03-092-10/+5
| | | | | So it can inherit the theme from the widget below. Was previously a GtkEventBox for historical reasons that no one remembers.
* Bug 644066 - Text selection is cleared when right-clicking on a linkMatthew Barnes2011-03-071-5/+6
|
* Coding style and whitespace cleanup.Matthew Barnes2011-03-0638-38/+84
|
* Do not leak attachments in a mail viewMilan Crha2011-03-023-5/+33
|
* Fix Gtk-Doc comment notation.Matthew Barnes2011-03-021-3/+5
| | | | Seeing lots of what I assume to be doxygen syntax in comment blocks.
* Bug #641374 - "Send new mail to..." popup action doesn't workMilan Crha2011-02-282-1/+18
|
* Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-02-2538-282/+125
|
* Bug #623593 - Cannot drag&drop attached messages from mailsMilan Crha2011-02-233-7/+111
|
* Bug #642088 - Crash when changing advanced send options in GroupWiseMilan Crha2011-02-171-11/+35
|
* Remove NULL checks for GObject methods.Matthew Barnes2011-02-1313-30/+27
| | | | | As of GLib 2.28 all GObject virtual methods, including constructed(), are safe to chain up to unconditionally. Remove unnecessary checks.
* Bug 641756 - Fix warnings from GCC 4.6Kjartan Maraas2011-02-092-13/+2
| | | | GCC learned how to find dead assignments.
* Composer: Add Edit -> PreferencesMatthew Barnes2011-02-041-5/+9
| | | | Opens the Preferences window to the Composer Preferences section.
* Bug #641011 - Ugly appointment editing windowsMilan Crha2011-02-032-0/+3
|
* More whitespace cleanup.Matthew Barnes2011-01-318-45/+45
|
* Coding style and whitespace cleanup.Matthew Barnes2011-01-304-69/+122
|
* Adapt ECanvasBackground to latest gtk+-3.0 API.Matthew Barnes2011-01-261-4/+3
|
* Adapt EMap to latest gtk+-3.0 API.Matthew Barnes2011-01-261-140/+243
|
* Adapt ECanvas to latest gtk+-3.0 API.Matthew Barnes2011-01-261-1/+1
|
* Adapt ECalendarItem to latest gtk+-3.0 API.Matthew Barnes2011-01-261-50/+22
|
* Fix minor compiler warningsMatthew Barnes2011-01-261-2/+2
|
* Various critical warnings about comp-editor-pages and date editMilan Crha2011-01-251-0/+1
|
* Do not oversize New and Send/Receive toolbar buttonsMilan Crha2011-01-251-37/+0
|
* Adapt size_request vfuncs to latest gtk+-3.0 API.Rodrigo Moya2011-01-253-27/+70
|
* Dialogs no longer have separators.Matthew Barnes2011-01-251-1/+0
|
* Drop backward-compatibility cruft.Matthew Barnes2011-01-2522-77/+2
|
* Bug #640517 - Runtime warnings when launching composerMilan Crha2011-01-251-27/+27
|
* Bug #634403 - Mails Label popup menu is not updated properlyMilan Crha2011-01-191-0/+1
|
* Remove some unused gnome-canvas options.Matthew Barnes2011-01-161-2/+2
| | | | | | | | | | | | | Simplifies the drawing code a bit. Public API removed: GnomeCanvas.center_scroll_region (is always TRUE) GnomeCanvas.pixels_per_unit (is always 1.0) gnome_canvas_set_center_scroll_region() gnome_canvas_get_center_scroll_region() gnome_canvas_set_pixels_per_unit()
* Merge miscellaneous changes from gtk3 branch.Matthew Barnes2011-01-152-542/+436
| | | | Mostly coding style and whitespace changes, to reduce diff noise.
* Fudge GtkScrollable for gtk2.Matthew Barnes2011-01-151-4/+7
| | | | | | Yes, the GtkScrollable interface is implemented by more than just GtkLayout, but it turns out GtkLayout is the only thing Evolution uses the GtkScrollable API for on the gtk3 branch.
* Fudge gtk_widget_get_preferred_size() for gtk2.Matthew Barnes2011-01-154-7/+13
| | | | | Easy enough to fake gtk_widget_get_preferred_size() in gtk2 using gtk_widget_size_request(). Reduces diff noise with gtk3 branch.
* EAttachmentIconView: Fix runtime warnings with GTK3.Matthew Barnes2011-01-091-48/+58
| | | | GtkIconView changed some implementation details, apparently.
* EActionComboBox: Fix runtime warnings with GTK3.Matthew Barnes2011-01-091-22/+33
| | | | GtkComboBox changed some implementation details, apparently.
* Bug #567879 - Add View >> Gallery Option In Email ComposerMilan Crha2010-12-223-0/+488
|
* Free/busy meeting view doesn't work due to non-working extensionMilan Crha2010-12-068-6/+21
|
* Show calendar backend errors in an alert sinkMilan Crha2010-12-041-0/+32
|
* Bug #633779 - GtkComboBoxText issuesMilan Crha2010-11-181-11/+0
|
* Coding style and whitespace cleanup.Matthew Barnes2010-11-083-13/+13
|
* Pass an EAlertSink to e_alert_sink_submit_alert().Matthew Barnes2010-11-011-3/+3
| | | | | | | Passing a random GtkWidget and then searching its ancestors for an EAlertSink turned out to be not as useful as I thought. Most of the time we know about and have access to the widget that implements EAlertSink, so just pass it directly as an EAlertSink.
* Bug 633471 - EAttachmentStore store folder name where uri is expectedMatthew Barnes2010-10-302-29/+34
|
* Restore update method in ECanvasBackgroundMatthew Barnes2010-10-301-0/+21
| | | | | | | Restore the update() method in ECanvasBackground. Without a redraw request the draw() method is never called. For some reason this isn't noticeable on gtk+-3.0 -- ETable and ETree backgrounds are still white -- but on gtk+-2.0 the backgrounds are grey.
* Adapt branch for building with GTK+ 2.22.Matthew Barnes2010-10-301-1/+0
|
* e-map: Take colormap and visual from the widgetBenjamin Otte2010-10-301-2/+2
| | | | | No need to use magic visuals and colormaps anymore, we're all cairo these days.
* e-map: Stuff tween duration into a macro so it's easier to changeBenjamin Otte2010-10-301-2/+3
|
* e-map: Add simplification API to zoom from a certain stateBenjamin Otte2010-10-301-16/+17
|
* e-map: Zoom out smoothly, tooBenjamin Otte2010-10-301-1/+14
|
* e-map: Redo zoomingBenjamin Otte2010-10-301-387/+223
| | | | | Instead of hacky magic, we now use cairo and a naïve implementation of tweening.
* e-map: Make center_at() function take longitude/latitudeBenjamin Otte2010-10-301-21/+29
| | | | | | | Way easier than to try to get the coordinates right. Includes refactoring to introduce e_map_world_to_render_surface() that computes coordinates on the background surface to make this stuff easier.
* e-map: Introduce e_map_get_current_location()Benjamin Otte2010-10-301-13/+13
| | | | ... and use it when zooming out
* e-map: Use gtk_alignment_configure()Benjamin Otte2010-10-301-22/+14
| | | | Nothing but a massive code cleanup
* e-map: Repaint points unconditionallyBenjamin Otte2010-10-301-1/+2
| | | | | | | The in_view() check is broken because it doesn't repaint points that are 1px outside the window. The point take 2 extra pixels in every direction after all. And gtk_widget_queue_draw_area() will automatically discard out-of-range rects anyway.
* e-map: Make cache a server-side surfaceBenjamin Otte2010-10-301-95/+92
| | | | Doing performance optimizations on the client is not a good idea...
* e-map: Query adjustment for size, not pixbufBenjamin Otte2010-10-301-2/+2
|
* e-map: pass width and height to set_scroll_area() directlyBenjamin Otte2010-10-301-19/+7
|
* e-map: Draw with cairoBenjamin Otte2010-10-301-38/+11
|
* e-map: Update the xofs/yofs properties together with the adjustmentsBenjamin Otte2010-10-301-11/+9
|
* e-map: Don't block signal handlersBenjamin Otte2010-10-301-23/+0
| | | | | The signal handler will no-op the operations anyway, because nothing changed.
* e-map: Move all rendering into the expose eventBenjamin Otte2010-10-301-114/+65
| | | | | For the zoom, we now use the long-deprecated gtk_widget_draw() to force repaints.
* e-map: Always repaint the whole window on scrollsBenjamin Otte2010-10-301-93/+1
| | | | We cannot move parts of the window with GTK3 APIs, so stop doing it.
* widgets: Don't use GdkGC in ECalendarItemBenjamin Otte2010-10-301-19/+18
|
* gnome-canvas: Convert canvas item transformation matrix to cairoBenjamin Otte2010-10-303-28/+17
| | | | | Also update the GnomeCanvasItem.update vfunc to take a cairo_matrix_t and no longer pass the clip_path (what was it used for anyway?).
* e-canvas: Simplify ECanvasBackgroundBenjamin Otte2010-10-301-243/+17
| | | | | It's used without specifying a clip rectangle every time, so remove that property. Also do all drawing with Cairo.
* gnome-canvas: Change GnomeCanvasItem->point vfuncBenjamin Otte2010-10-303-23/+16
| | | | | | | | Previously the function returned the distance to the nearest item. Now it only returns an item that is hit. This slightly changes semantics (button events are no longer dispatched to the nearest item, but only to the item actually clicked on), but makes the code way simpler and actually does what one would expect.
* widgets: Remove stipple from ECanvasBackgroundBenjamin Otte2010-10-302-46/+0
|
* gnome-canvas: Remove aa codeBenjamin Otte2010-10-301-5/+2
| | | | The anti-aliased code was never used, so remove it.
* Bug #631982 - Hide Page properties in signature editorMilan Crha2010-10-291-0/+7
|
* Workaround GtkComboBoxText/GtkComboBoxEntry in .ui filesMilan Crha2010-10-281-6/+18
|
* Bug #631956 - Reset renderer properties in action_combo_box_render_pixbufMilan Crha2010-10-261-1/+3
|
* Bug #631870 - Memory leak in e_week_view after GtkObject removalMilan Crha2010-10-251-1/+1
|
* Bug 632870 - Cut and paste broken in ESignatureEditorMatthew Barnes2010-10-231-0/+31
|
* Simplify EActivity.Matthew Barnes2010-10-233-169/+229
| | | | | | | | | | | | | | | | | | | | | | With unintrusive error dialogs gone, we can cut some unnecessary bits out of EActivity. I'm also adding a new enum property called "state", which is one of: E_ACTIVITY_RUNNING E_ACTIVITY_WAITING E_ACTIVITY_CANCELLED E_ACTIVITY_COMPLETED The state of an activity must be explicitly changed. In particular, when the user cancels an activity the state should be set only after confirming the operation has been cancelled and not when cancellation is requested (e.g. after receiving a G_IO_ERROR_CANCELLED, not when the GCancellable emits "cancelled"). EActivityBar and EActivityProxy widgets have been updated to make this distinction clearer in the UI. E_ACTIVITY_WAITING will be used when activities have to be queued and dispatched in sequence, which I haven't written yet.
* ESignatureList cleanups.Matthew Barnes2010-10-211-4/+3
|
* Deal with GtkComboBoxEntry removal in gtk+-3.0.Matthew Barnes2010-10-211-0/+9
|
* Bug 632641 - Handle combo box text API going awayMatthias Clasen2010-10-212-6/+11
|
* Bug #630695 - Invalid read when enable/disable the account in preferencesMilan Crha2010-10-191-6/+19
|
* Send errors to an EAlertSink instead of the task bar.Matthew Barnes2010-10-191-2/+0
| | | | | | This marks the end of unintrusive error dialogs, which were too unintrusive. We now show errors directly in the main window using the EAlert / EAlertSink framework.
* EAlert: Allow arbitrary actions to be added.Matthew Barnes2010-10-191-43/+69
| | | | | | | | | | | | | | You can now amend the predefined actions in an EAlert by calling e_alert_add_action(). Useful for adding actions from an existing GtkUIManager. Call e_alert_peek_actions() to obtain a combined list of predefined and custom actions. These will typically serve as "related" actions for GtkButtons (cf. gtk_activatable_set_related_action()). Also, both EShellWindow and EShellView now implement EAlertSink. Use EShellWindow for application-wide alerts, EShellView for view-specific alerts.
* Replace EBinding with GBinding.Matthew Barnes2010-10-1410-67/+102
| | | | | | GObject now does property bindings itself. Requires GLib >= 2.26.
* EAlertBar: Always show the most recent alert.Matthew Barnes2010-10-141-6/+2
| | | | Make it work like a stack instead of a queue.
* Adjust EAlertBar text attributes.Matthew Barnes2010-10-131-2/+7
|
* Composer: Show cancellable operations and errors inline.Matthew Barnes2010-10-136-4/+726
| | | | | | | | | | | | | | | 'Send' and 'Save Draft' are now asynchronous and run outside of Evolution's MailMsg infrastructure. Add an EActivityBar to the composer window so these asynchronous operations can be tracked and cancelled even in the absense of a main window. Also add an EAlertBar to the composer window so error messages can be shown directly in the window. Instead of calling e_alert_dialog_run_for_args(), call e_alert_submit() and pass the EMsgComposer as the widget argument. The EMsgComposer will decide whether to show an EAlertDialog or use the EAlertBar, depending on the GtkMessageType of the alert.
* Bug #631320 - GtkObject is gone in GTK3Milan Crha2010-10-075-16/+16
|
* Get rid of deprecated GtkObject in EMap widgetMilan Bouchet-Valat2010-10-041-24/+2
| | | | | | | Remove GtkObject::destroy() handler. Move disconnecting signal handlers to e_map_finalize(). https://bugzilla.gnome.org/show_bug.cgi?id=630766
* EAttachmentPaned: Use gtk_expander_set_label_fill()Matthew Barnes2010-10-011-17/+1
| | | | | Use the new GtkExpander:label-fill property in GTK+ 2.22, which was added specifically to get rid of my evil hack in EAttachmentPaned.
* Messin around with EAlerts.Matthew Barnes2010-09-301-8/+10
| | | | | | | | | | | | | | | | | | | Trying out a new interface called EAlertSink. The idea is to centralize how errors are shown to the user. A GtkWindow subclass would implement the EAlertSink interface, which consists of a single method: void (*submit_alert) (EAlertSink *alert_sink, EAlert *alert); The subclass has complete control over what to do with the EAlert, although I imagine we'll wind up implementing various alert-handling policies as standalone widgets such as EAlertDialog. I'd like to try an EAlertInfoBar. Code that would otherwise display an error dialog itself would instead pass the EAlert to an appropriate EAlertSink and be done with it. Nothing is final yet. Still hacking on EAlert trying to find an API that feels right for these use cases.
* Bump gtk+-2.0 requirement to 2.22.0.Matthew Barnes2010-09-291-7/+0
| | | | Remove backward-compatibility hacks for older GTK+ versions.
* Adapt to Camel API changes.Matthew Barnes2010-09-281-5/+6
|
* Add a GCancellable to EActivity.Matthew Barnes2010-09-191-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EActivity now uses a GCancellable to manage cancellations, instead of having its own redundant cancellation API. API changes are as follows: + e_activity_get_cancellable() + e_activity_set_cancellable() - e_activity_cancel() - e_activity_is_cancelled() - e_activity_get_allow_cancel() - e_activity_set_allow_cancel() EActivity's "cancelled" signal remains, but only as a repeater for GCancellable::cancelled signals. It should not be emitted directly. The presence of a GCancellable implies that cancellation is allowed. EActivity does not create its own default GCancellable, it has to be given one. If a CamelOperation (cast as a GCancellable) is given, EActivity will configure itself to listen for status updates from the CamelOperation and propagate the information to its own "primary-text" and "percent" properties. These changes allowed me to start cleaning up some of the incredibly convoluted logic in mail-mt.c -- in particular, mail_operation_status() is completely gone now. mail-mt.c is still in a transitional state -- much more significant changes coming soon.
* Use new GDK keysym names if available.Matthew Barnes2010-09-1815-57/+100
| | | | | | | In GTK+ 2.21.8, the keysym names were renamed from GDK_* to GDK_KEY_*. I've added backward-compatibility macors to gtk-compat.h, which can be dumped as soon as we require GTK+ >= 2.22.0.
* Coding style and whitespace cleanups.Matthew Barnes2010-09-129-50/+51
|
* Re-work my GtkDialog:has-separator workaround.Matthew Barnes2010-09-113-6/+6
| | | | | | | If we're using GTK+ 2.21.8 (where gtk_dialog_set_has_separator() is deprecated but the property is still present and defaults to TRUE), we still need to set the property to FALSE. So instead use g_object_set() up through GTK+ 2.90.6, after which the property itself is gone.
* Work around deprecation of gtk_dialog_set_has_separator()Matthew Barnes2010-09-113-0/+6
| | | | | | Unfortunately the default value for this property is TRUE (bzzt, WRONG!) so we can't just remove the function outright until we require GTK+ 2.22. It was deprecated in GTK+ 2.21.8.
* Various memory leaksMilan Crha2010-09-081-1/+6
|
* Bug 628483 - signature_combo_box_refresh_cb memory leakMatthew Barnes2010-09-011-1/+3
|
* Coding style and whitespace cleanup.Matthew Barnes2010-08-2931-382/+410
|
* Bug 628154 - Ignore paths in MIME part filenamesMatthew Barnes2010-08-281-1/+4
|
* Forgot a line.Matthew Barnes2010-08-271-0/+2
| | | | This goes with the previous commit.
* Convert EAttachmentHandler to an EExtension.Matthew Barnes2010-08-276-123/+61
| | | | | | | | | | | | EAttachmentHandler predates EExtension, so this is really just a code cleanup to use the extension framework. But this also demonstrates that extensions can target interfaces as well as instantiable types, since EAttachmentView is an interface. What's also nice is EAttachmentView no longer has to directly interact with attachment handlers. Instead of EAttachmentView having to query each attachment handler for drag-and-drop info, each handler now pushes its own drag-and-drop info to its EAttachmentView during initialization.
* GObject boilerplate cleanup.Matthew Barnes2010-08-2556-1604/+645
| | | | | | | Prefer thread-safe G_DEFINE_TYPE and G_DEFINE_INTERFACE macros over manual GType registration. This is just a start... lots more to do.
* ESelectionModel cleanups.Matthew Barnes2010-08-162-314/+455
|
* Whitespace and coding style cleanup.Matthew Barnes2010-08-143-4/+3
|
* Bug 624913 - Disallow drag-and-drop within the same attachment barMatthew Barnes2010-08-135-8/+107
| | | | | | | | | | | | Adds a boolean "dragging" property to the EAttachmentView interface, which becomes TRUE when the user start a drag from the attachment view. e_attachment_view_drag_motion() and e_attachment_view_drag_drop() both return FALSE when this property is set. Also, do not register the entire EMsgComposer window as a drag destination. Just intercept drag signals from the GtkHTML widget. Requires gtkhtml commit 344eb5e to fully work correctly.
* ECanvas cleanups.Matthew Barnes2010-08-133-406/+410
|
* remove select-on-focus hack, and replace with new skip-a-parentMichael Meeks2010-08-111-20/+7
| | | | | chaining hack; sub-set this only for when we have a hint visible ie. fix alt-c + type-new-search
* Bug 271691 - Add a way to view all attachments inlineMatthew Barnes2010-08-111-1/+95
|
* EAttachmentView cleanups.Matthew Barnes2010-08-111-65/+65
|
* Defer the load / creation of configuration UI with changes toMichael Meeks2010-08-113-28/+120
| | | | | | | | | e_preferences_window to take factory callbacks and store a reference to the shell. - This makes start-up substantially faster, particularly on Atom (eg.). Remove a number of idle handlers used to create these UIs in the first instance, cleaning the code.
* addressbook/gui, plugins/groupwise, widgets/misc: Update to new icon themeRob Bradford2010-08-021-1/+1
| | | | | | | Since gnome-icon-theme 2.30.x the icon name for the default avatar has changed from stock_person to avatar-default Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=616822
* Make EImportAssistant extensible.Matthew Barnes2010-07-311-37/+16
|
* Remove unused 'preview' argument from e_import_assistant_new_simple().Matthew Barnes2010-07-302-7/+2
| | | | We preview imported files by other means now.
* Bug 624534 - Adapt to GTK+ GtkNotebookPage changesKjartan Maraas2010-07-261-1/+1
|
* Disable my evil GtkExpander hack in EAttachmentPaned.Matthew Barnes2010-07-171-1/+9
| | | | | | | | The new height-for-width logic in GTK3 doesn't like my trick to center a GtkExpander's label widget, so I have to disable it entirely for GTK3 or else Evolution crashes when opening a composer window. Bug #614049 has a GtkExpander patch that would let me do it properly.
* Coding style and whitespace cleanup.Matthew Barnes2010-07-123-4/+4
|
* Bug 624022 - "stock_mail-import" no longer exists in gnome-icon-themeMatthew Barnes2010-07-101-19/+0
|
* Migrate from CamelException to GError.Matthew Barnes2010-07-092-8/+5
|
* EHintedEntry: Don't select hints on grab_focus().Matthew Barnes2010-06-251-0/+29
|
* Bug #620815 - Memory leaks with EvolutionMilan Crha2010-06-251-0/+1
|
* Bug 622633 - Can't launch Evolution from clock appletMatthew Barnes2010-06-252-8/+8
|
* Bug #621903 - Crash on HTML message print previewMilan Crha2010-06-241-0/+6
|
* Bug 604262 - "Copy Email Address" should also copy to primary clipboardMatthew Barnes2010-06-241-0/+4
|
* Bug 622559 - Changing search option should focus search entryMatthew Barnes2010-06-241-20/+21
|
* Use an appropriate icon when dragging attachments.Matthew Barnes2010-06-234-5/+122
|
* Composer: Only hide single From account in express mode.Matthew Barnes2010-06-211-2/+2
| | | | | | At least until we have another way to insert signatures. Obvious solution: Insert -> Signature -> (list of your signatures)
* Fix all remaining GTK3 issues.Matthew Barnes2010-06-163-14/+22
| | | | | | | | | | | | Work around the issue of GnomeCanvasItem amending its own flags to GtkObject::flags (which is sealed) by giving it its own flags field. This breaks libgnomecanvas ABI and API, but I see no other way. This commit didn't work the first time because gnome-pilot libraries were still pulling in the system-wide libgnomecanvas, and that was interfereing with our bundled version which has a different ABI. But gnome-pilot integration was dropped in the previous commit, so everything is now using the bundled libgnomecanvas.
* Remove gnome-pilot integration.Matthew Barnes2010-06-163-277/+1
| | | | | | | | | | | | | | | | It just doesn't belong in Evolution anymore. We don't support syncing with more modern devices -- see Conduits or SyncEvolution for that -- so it does not make sense for older model Palm Pilot PDAs to be the lone exception. I have repackaged the Evolution-Data-Server conduit modules to be provided by gnome-pilot itself in bug #619315. This should provide eqivalent Palm Pilot syncing functionality; it's just being moved to gnome-pilot. This completely severs our dependency on deprecated GNOME 2.x libraries which were still being dragged in by way of gnome-pilot dependencies. It was also interfereing with our bundling of libgnomecanvas.
* Revert "Fix all remaining GTK3 issues."Matthew Barnes2010-06-153-22/+14
| | | | | | | This reverts commit fd8b55edaa88906b588aa07d9eadcacd34a7a774. Something in this commit seriously hosed ETable, making Evolution pretty much unusable. Reverting this until I can track down the problem.
* Drop the "2" from libgnomecanvas and libart_lgpl.Matthew Barnes2010-06-151-2/+2
|
* Add some missing linker flags.Matthew Barnes2010-06-151-0/+1
|
* Fix all remaining GTK3 issues.Matthew Barnes2010-06-153-14/+22
| | | | | | Work around the issue of GnomeCanvasItem amending its own flags to GtkObject::flags (which is sealed) by giving it its own flags field. This breaks libgnomecanvas ABI and API, but I see no other way.
* Embed libart_lgpl and libgnomecanvas.Matthew Barnes2010-06-141-7/+8
| | | | | | Both of these modules are deprecated and going away in GNOME 3 but we still rely heavily on them for GnomeCalendar and ETable. So, welcome to the island of unwanted libraries...
* Coding style and whitespace cleanups.Matthew Barnes2010-06-071-1/+3
|
* More GTK3 preparation.Matthew Barnes2010-06-043-27/+44
| | | | | This uses the new gtk_assistant_commit() I had added to GTK+ for our EImportAssistant progress page.
* Bug 619781 - Some preference sections don't show the right preferencesMatthew Barnes2010-05-281-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2010-05-272-6/+15
|
* Some post-merge cleanup.Matthew Barnes2010-05-271-10/+0
|
* Merge branch 'express2'Matthew Barnes2010-05-275-4/+122
|\
| * Coding style and whitespace cleanup.Matthew Barnes2010-05-254-14/+17
| |
| * Fix compiler warnings.Matthew Barnes2010-05-252-4/+4
| |
| * Merge branch 'gnome-2-30' into express2Matthew Barnes2010-05-255-85/+212
| |\
| | * Bug 608855 - Can't drag and drop multiple attachmentsMatthew Barnes2010-05-214-24/+175
| | | | | | | | | | | | Based on EggTreeMultiDragSource in libegg.
| | * Improve attachment bar selection behavior.Matthew Barnes2010-05-202-62/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some improvements made while investigating bug #608855. This does not solve the bug however, and in fact I now believe the bug is actually a GTK+ issue after reproducing the bug in gtk-demo. These improvements restore multiple selections via Ctrl+Click and Shift+Click, and also reduces the frequency that we synchronize the selection between Icon View and Tree View.
| * | Merge branch 'gnome-2-30' into express2Matthew Barnes2010-05-172-7/+19
| |\|
| | * Bug 615291 - Preview pane's attachment bar accepts dropMatthew Barnes2010-05-121-5/+14
| | |
| | * Bug 616640 - Don't display attachment size if it's unknownMatthew Barnes2010-05-121-2/+5
| | |
| * | Merge express2 into relayout-composerFederico Mena Quintero2010-05-082-5/+86
| |\ \
| | * | Add filter_page option for pref window so that we can show only requiredSrinivasa Ragavan2010-04-302-5/+86
| | | | | | | | | | | | | | | | preferences for calendar. Bit of a hack, but proves very useful.
| * | | Add function to count the displayed accounts in an EAccountComboBoxFederico Mena Quintero2010-05-052-0/+24
| |/ / | | | | | | | | | | | | | | | | | | We will need this to see how many accounts are shown in the From header in the mail composer. Signed-off-by: Federico Mena Quintero <federico@novell.com>
| * | Merge gnome-2-30 into express2 to get bugfixesFederico Mena Quintero2010-04-101-0/+2
| |\| | | | | | | | | | | | | | | | Note that express2 got some documentation for EExtensible and friends, and that documentation is not in gnome-2-30 yet. We need to cherry-pick those commits into gnome-2-30 and elsewhere.
| | * [win32] Be consistent in disabling the lockdown options.Fridrich Strba2010-04-081-0/+2
| | |
| * | Minor EMailReader cleanup.Matthew Barnes2010-04-072-4/+19
| | | | | | | | | | | | | | | | | | | | | Add a load_string() method to EWebView. Have EMailDisplay override load_string() and check that the formatter is not busy before loading the string. Have EMailReader call e_web_view_load_string() directly on the EMailDisplay instance, and eliminate update_webview_content().
| * | Add an extension to configure EWebView.Matthew Barnes2010-04-072-42/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | Make EWebView extensible and register an extension to automatically bind every EWebView instance to the appropriate EShellSettings. Conflicts: widgets/misc/e-web-view.c
| * | Add extensions to configure calender widgets.Matthew Barnes2010-04-073-37/+33
| |/ | | | | | | | | | | | | | | | | | | | | Make ECalendarItem, ECalendarView, ECalModel, EDateEdit, EMeetingStore, and EMeetingTimeSelector extensible and register extensions to automatically bind every instance to the appropriate EShellSettings. Conflicts: calendar/gui/gnome-cal.c modules/calendar/e-cal-shell-content.c
| * Bug 614049 - Attachment bar causes drawing issues in RTL localesMatthew Barnes2010-03-301-2/+7
| |
* | Bug 608855 - Can't drag and drop multiple attachmentsMatthew Barnes2010-05-214-24/+175
| | | | | | | | Based on EggTreeMultiDragSource in libegg.
* | Improve attachment bar selection behavior.Matthew Barnes2010-05-202-62/+38
| | | | | | | | | | | | | | | | | | | | Some improvements made while investigating bug #608855. This does not solve the bug however, and in fact I now believe the bug is actually a GTK+ issue after reproducing the bug in gtk-demo. These improvements restore multiple selections via Ctrl+Click and Shift+Click, and also reduces the frequency that we synchronize the selection between Icon View and Tree View.
* | Add missing includeH.Habighorst2010-05-201-0/+1
| |
* | Bug #499320 - Preview before import from command lineMilan Crha2010-05-194-15/+674
| |
* | Bug 615291 - Preview pane's attachment bar accepts dropMatthew Barnes2010-05-121-5/+14
| |
* | Bug 616640 - Don't display attachment size if it's unknownMatthew Barnes2010-05-121-2/+5
| |
* | Adapt to Camel API changes.Matthew Barnes2010-05-081-2/+2
| | | | | | | | | | This also removes the boxed CamelObject GType, since CamelObject is an honest-to-goodness GObject now.
* | Coding style and whitespace cleanup.Matthew Barnes2010-05-021-1/+1
| |
* | Camel is now GObject-based.Matthew Barnes2010-04-244-18/+18
| |
* | Fix compiler warnings.Matthew Barnes2010-04-211-1/+1
| |
* | Use accessor functions instead direct access (GSEAL work)Javier Jardón2010-04-136-16/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Still remaining: GtkAccessible::widget GtkAssistant::forward GtkAssistant::back GtkObject::flags GtkTreeStore::stamp The GtkAssistant fields are related to bug #596428. We don't need accessor functions so much as the enhancement described there implemented. https://bugzilla.gnome.org/show_bug.cgi?id=615613
* | Giant leap towards GSEAL compliance.Matthew Barnes2010-04-0811-91/+1
| |
* | Replace ESpinner with GtkSpinner.Matthew Barnes2010-04-084-1036/+2
| | | | | | | | Also, bump our GTK+ requirement to 2.20.
* | Bug #574755 - Add translator commentsMilan Crha2010-04-071-5/+5
| |
* | Bug #567304 - Review strings for translationMilan Crha2010-04-071-1/+1
| |
* | Adapt to Camel API changes.Matthew Barnes2010-04-041-10/+12
| |
* | Generate ChangeLog files for tarball releases.Matthew Barnes2010-04-033-4915/+1
| | | | | | | | Remove old ChangeLog files that predate our switch to git.
* | Only #include Camel's top-level header.Matthew Barnes2010-04-037-18/+4
| |
* | Miscellaneous cleanup bits from WebKit branch.Matthew Barnes2010-04-022-27/+63
| |
* | Bug #347330 - Mark forgotten strings for translationMilan Crha2010-04-021-3/+3
| |
* | Bug #325121 - Do not translate developer strings in g_param_spec_*Milan Crha2010-04-027-46/+46
| |
* | Bug 614049 - Attachment bar causes drawing issues in RTL localesMatthew Barnes2010-03-291-2/+7
| |
* | Minor EMailReader cleanup.Matthew Barnes2010-03-262-4/+19
| | | | | | | | | | | | | | Add a load_string() method to EWebView. Have EMailDisplay override load_string() and check that the formatter is not busy before loading the string. Have EMailReader call e_web_view_load_string() directly on the EMailDisplay instance, and eliminate update_webview_content().
* | Bug 613639 - Evolution hard codes .gnome2Matthew Barnes2010-03-231-7/+4
| |
* | Bug 613639 - Evolution hard codes .gnome2Matthew Barnes2010-03-231-2/+7
| |
* | Add an extension to configure EWebView.Matthew Barnes2010-03-232-44/+176
| | | | | | | | | | Make EWebView extensible and register an extension to automatically bind every EWebView instance to the appropriate EShellSettings.
* | [win32] Be consistent in disabling the lockdown options.Fridrich Strba2010-03-211-0/+2
| |
* | Add extensions to configure calender widgets.Matthew Barnes2010-03-203-37/+33
|/ | | | | | Make ECalendarItem, ECalendarView, ECalModel, EDateEdit, EMeetingStore, and EMeetingTimeSelector extensible and register extensions to automatically bind every instance to the appropriate EShellSettings.
* Revert some bad assumptions I made in EPluginUI.Matthew Barnes2010-03-161-3/+3
| | | | | | | | | 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.
* Shell and UI manager cleanups.Matthew Barnes2010-03-142-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | 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.)
* Update win32 directory relocation and some consistency cleanupFridrich Strba2010-03-102-4/+3
|
* ECalendar header cleanup.Matthew Barnes2010-03-102-81/+80
|
* Remove a long lived win32 hackFridrich Strba2010-03-061-4/+0
| | | | | It seems that the dummy libraries are not needed anymore on windows nowadays.
* Work around recent GTK+ deprecations.Matthew Barnes2010-03-0511-1/+99
|
* Fix a misspelled icon name.Matthew Barnes2010-03-041-1/+1
|
* Filtering out g_chmod on windows because it makes no sense thereFridrich Strba2010-03-031-0/+2
|
* Revert "Bug 587014 - Magic space does not work as expected"Matthew Barnes2010-02-181-0/+1
| | | | | | This reverts commit 2ee273db7c3175d323e55d87432961cfa94e8be1. That commit caused the side-effect reported in bug #610251.
* Forgot to disconnect a signal handler in EAttachmentButton.Matthew Barnes2010-02-181-3/+16
| | | | | | 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.
* Bug 609042 - Convert quoted-printing to UTF-8 when copying to clipboardMatthew Barnes2010-02-171-1/+1
|
* Fix command-line import crasher.Matthew Barnes2010-02-121-0/+1
| | | | | | GtkAssistant's initial reference is floating, so if command-line import fails to find a suitable importer, sink the reference before finalizing the GtkAssistant.