aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
Commit message (Collapse)AuthorAgeFilesLines
* Bug 650491 - Shell handles forwarding uris to existing process wrongMatthew Barnes2011-06-302-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-06-3026-336/+497
|
* Bug 649990 - Remove get_font_options() from e-util.c.Matthew Barnes2011-06-302-18/+0
| | | | | | | | | Not only is get_font_options() no longer needed, it's actually doing the wrong thing by reading settings through GConfClient instead of GSettings. But it turns out, thanks to the tighter Cairo integration in GTK3, the widgets that call get_font_options() can be made to work correctly by simply removing this hack. Love it when that happens.
* Bug #601541 - Add 'Copy Image' Option On Inline Email ImagesMilan Crha2011-06-302-1/+113
|
* Bug #243938 - Clicking on week numbers changes work week to week viewMilan Crha2011-06-302-4/+42
|
* Coding style cleanups.Matthew Barnes2011-06-3041-169/+169
|
* Whitespace and coding style cleanups.Matthew Barnes2011-06-3019-35/+78
|
* Make EAlertBar messages selectableMilan Crha2011-06-301-0/+2
|
* Adapt to CamelService changes.Matthew Barnes2011-06-301-7/+4
|
* EWebView: Coding style cleanupMatthew Barnes2011-06-301-1/+2
|
* Work around another a11y crash.Matthew Barnes2011-06-301-2/+10
| | | | | | Some kind of object lifetime issue in GalA11yETableItem. Just work around it for now. Killing this class would pretty much mean killing a11y support for ETables entirely and I'm not that pissed off... yet.
* EWebView: Fix icon retrieval when showing EAlerts.Matthew Barnes2011-06-301-1/+13
| | | | Need to convert the icon filename to a URI for use in <img> tags.
* EWebView: Implement the EAlertSink interfaceMatthew Barnes2011-06-302-10/+116
| | | | Shows alerts directly in the HTML area, similar to GtkInfoBar.
* Restore lockdown integration.Matthew Barnes2011-06-305-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-06-301-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-06-301-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-06-301-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-06-303-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-06-301-6/+10
|
* Bug 644235 - Make EActivityProxy a GtkFrameCosimo Cecchi2011-06-302-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-06-301-5/+6
|
* Coding style and whitespace cleanup.Matthew Barnes2011-06-3050-50/+109
|
* Do not leak attachments in a mail viewMilan Crha2011-06-303-5/+33
|
* Fix Gtk-Doc comment notation.Matthew Barnes2011-06-302-9/+13
| | | | 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-06-302-1/+18
|
* Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-06-3050-364/+159
|
* Use G_SIGNAL_TYPE_STATIC_SCOPE for all GdkEvent signal params.Matthew Barnes2011-06-306-45/+94
| | | | | I thought this might be the cause of bug #643089. Turns out it wasn't, but it's a good thing to do anyway.
* Bug #623593 - Cannot drag&drop attached messages from mailsMilan Crha2011-06-303-7/+111
|
* Coding style and whitespace cleanup.Matthew Barnes2011-06-302-2/+2
|
* Bug #642088 - Crash when changing advanced send options in GroupWiseMilan Crha2011-06-301-11/+35
|
* Fix few memory leaksMilan Crha2011-06-302-3/+17
|
* Remove NULL checks for GObject methods.Matthew Barnes2011-06-3034-85/+65
| | | | | As of GLib 2.28 all GObject virtual methods, including constructed(), are safe to chain up to unconditionally. Remove unnecessary checks.
* Fix a build break due to #error pragmaMilan Crha2011-06-301-4/+15
|
* Bug 641756 - Fix warnings from GCC 4.6Kjartan Maraas2011-06-308-65/+3
| | | | GCC learned how to find dead assignments.
* Composer: Add Edit -> PreferencesMatthew Barnes2011-06-301-5/+9
| | | | Opens the Preferences window to the Composer Preferences section.
* Bug #641011 - Ugly appointment editing windowsMilan Crha2011-06-302-0/+3
|
* More whitespace cleanup.Matthew Barnes2011-06-3037-409/+409
|
* Coding style and whitespace cleanup.Matthew Barnes2011-06-3014-172/+273
|
* Adapt ETree to latest gtk+-3.0 API.Matthew Barnes2011-06-302-52/+58
|
* Adapt ECell classes to latest gtk+-3.0 API.Matthew Barnes2011-06-3010-121/+69
|
* Adapt ETableHeaderItem to latest gtk+-3.0 API.Matthew Barnes2011-06-303-33/+32
|
* Adapt ETableFieldChooserItem to latest gtk+-3.0 API.Matthew Barnes2011-06-301-9/+18
|
* Adapt ETableItem to latest gtk+-3.0 API.Matthew Barnes2011-06-301-17/+8
|
* Adapt ETable to latest gtk+-3.0 API.Matthew Barnes2011-06-302-49/+58
|
* Adapt ECanvasBackground to latest gtk+-3.0 API.Matthew Barnes2011-06-301-4/+3
|
* Adapt EReflow to latest gtk+-3.0 API.Matthew Barnes2011-06-301-11/+12
|
* Adapt EText to latest gtk+-3.0 API.Matthew Barnes2011-06-301-25/+21
|
* Adapt EMap to latest gtk+-3.0 API.Matthew Barnes2011-06-301-140/+243
|
* Adapt ECanvas to latest gtk+-3.0 API.Matthew Barnes2011-06-301-1/+1
|
* Adapt ECalendarItem to latest gtk+-3.0 API.Matthew Barnes2011-06-301-50/+22
|
* Fix minor compiler warningsMatthew Barnes2011-06-301-2/+2
|
* Various critical warnings about comp-editor-pages and date editMilan Crha2011-06-301-0/+1
|
* Do not oversize New and Send/Receive toolbar buttonsMilan Crha2011-06-301-37/+0
|
* Adapt size_request vfuncs to latest gtk+-3.0 API.Rodrigo Moya2011-06-304-33/+84
|
* Avoid using deprecated GTK_SELECTION_EXTENDEDVibha Yadav2011-06-301-2/+2
| | | | | | Using GTK_SELECTION_MULTIPLE. As Deprecated, GTK_SELECTION_EXTENDED behaves identical to GTK_SELECTION_MULTIPLE.
* gdk_cursor_unref() -> g_object_unref()Matthew Barnes2011-06-304-6/+6
|
* Dialogs no longer have separators.Matthew Barnes2011-06-303-3/+0
|
* Drop backward-compatibility cruft.Matthew Barnes2011-06-3040-135/+6
|
* Bug #640517 - Runtime warnings when launching composerMilan Crha2011-06-301-27/+27
|
* Bug #634403 - Mails Label popup menu is not updated properlyMilan Crha2011-06-301-0/+1
|
* libetable cleanups.Matthew Barnes2011-06-30134-3131/+4097
|
* Remove some unused gnome-canvas options.Matthew Barnes2011-06-302-15/+7
| | | | | | | | | | | | | 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-06-308-606/+537
| | | | Mostly coding style and whitespace changes, to reduce diff noise.
* Fudge GtkScrollable for gtk2.Matthew Barnes2011-06-308-99/+107
| | | | | | 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-06-306-9/+15
| | | | | Easy enough to fake gtk_widget_get_preferred_size() in gtk2 using gtk_widget_size_request(). Reduces diff noise with gtk3 branch.
* ETree: Fix runtime warnings with GTK3.Matthew Barnes2011-06-303-12/+33
| | | | | ETable has a "vertical-spacing" style property, ETree does not. ECellText expects it to be in both.
* EAttachmentIconView: Fix runtime warnings with GTK3.Matthew Barnes2011-06-301-48/+58
| | | | GtkIconView changed some implementation details, apparently.
* EActionComboBox: Fix runtime warnings with GTK3.Matthew Barnes2011-06-301-22/+33
| | | | GtkComboBox changed some implementation details, apparently.
* Bug #567879 - Add View >> Gallery Option In Email ComposerMilan Crha2011-06-303-0/+488
|
* Minor compiler warnings fixMilan Crha2011-06-302-3/+3
|
* Free/busy meeting view doesn't work due to non-working extensionMilan Crha2011-06-308-6/+21
|
* Show calendar backend errors in an alert sinkMilan Crha2011-06-301-0/+32
|
* Reset IM context when entering ECellText editingMilan Crha2011-06-301-39/+21
|
* Bug #371705 - Calendar's day view does not reset its IM contextMilan Crha2011-06-301-48/+39
|
* Bug #633779 - GtkComboBoxText issuesMilan Crha2011-06-301-11/+0
|
* Bug #633774 - Headers are gone in grouped viewVibha Yadav2010-11-161-1/+1
|
* Drop accessibility support for ECellText.Matthew Barnes2010-11-164-795/+0
| | | | | | The accessibility code for ECellText is unmaintained and crashes constantly. I'm evicting it from our code base until someone takes ownership of the libgal accessibility support and deals with it.
* Fix distcheck errors.Matthew Barnes2010-11-101-3/+0
|
* Coding style and whitespace cleanup.Matthew Barnes2010-11-1010-30/+29
|
* Bug #632768 - Message list not realized when opening new folderMilan Crha2010-11-101-15/+17
|
* Add forgotten cairo_destroy() callsMilan Crha2010-11-102-3/+11
|
* Pass an EAlertSink to e_alert_sink_submit_alert().Matthew Barnes2010-11-101-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-11-102-29/+34
|
* Fix cursor drawing in ECellText.Matthew Barnes2010-10-301-12/+17
|
* Fix typo in eti_update().Matthew Barnes2010-10-301-2/+2
|
* 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.
* Fix typo in EText.Matthew Barnes2010-10-301-2/+2
| | | | Fill color properties should be write-only, not read-only.
* Adapt branch for building with GTK+ 2.22.Matthew Barnes2010-10-302-2/+0
|
* e-table: Remove unused dnd pixmapsBenjamin Otte2010-10-303-65/+0
|
* e-table: Don't push/pop colormapsBenjamin Otte2010-10-304-13/+0
| | | | It's not necessary anymore.
* e-table: Draw button with cairoBenjamin Otte2010-10-301-16/+12
|
* e-table: Draw ECellTree with cairoBenjamin Otte2010-10-301-10/+10
|
* e-text: Draw EReflow with cairoBenjamin Otte2010-10-301-7/+13
|
* e-text: Fix color handlingBenjamin Otte2010-10-302-27/+13
| | | | | | | - "color" and "color-gdk" properties aren't readable (Their values would be wrong if an alpha channel was set). - Use the rgba color when rendering - Don't allocate the color in the colormap anymore.
* 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-table: Remove retro lookBenjamin Otte2010-10-304-207/+38
| | | | It's not used by themes so I don't see the need to port it.
* e-table: Remove unused GdkGCBenjamin Otte2010-10-301-4/+0
|
* e-table: Draw ECellText with cairoBenjamin Otte2010-10-301-54/+30
|
* e-table: Use gdk_pango_layout_get_clip_region() in ECellTextBenjamin Otte2010-10-301-44/+24
|
* e-table: Remove unused GdkGC from ECellToggleBenjamin Otte2010-10-301-22/+0
|
* e-table: Use Pango ellipsizing instead of manual arrow drawingBenjamin Otte2010-10-301-91/+11
|
* 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.
* e-text: Draw with cairoBenjamin Otte2010-10-302-80/+27
|
* e-text: Use gdk_pango_layout_get_clip_region() for selection renderingBenjamin Otte2010-10-301-58/+19
|
* widgets: Don't use GdkGC in ECalendarItemBenjamin Otte2010-10-301-19/+18
|
* gnome-canvas: Convert canvas item transformation matrix to cairoBenjamin Otte2010-10-308-107/+80
| | | | | 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-table: Convert coordinates using CairoBenjamin Otte2010-10-301-18/+18
|
* e-table: Remove unused member variables from ETableItemBenjamin Otte2010-10-302-18/+14
| | | | | x1 and y1 were never set, only used. Replace all users with 0 and remove the members.
* e-table: Draw grids with CairoBenjamin Otte2010-10-302-25/+20
| | | | Gets rid of the need for GdkGC completely.
* 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.
* e-text: Only include libgnomecanvas.hBenjamin Otte2010-10-303-3/+2
|
* e-table: Fix includes to only ever include libgnomecanvas.hBenjamin Otte2010-10-3030-40/+30
|
* gnome-canvas: Change GnomeCanvasItem->point vfuncBenjamin Otte2010-10-308-59/+37
| | | | | | | | 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.
* gnome-canvas: Remove close_enough memberBenjamin Otte2010-10-301-1/+1
| | | | It's never set, so just replace it with its default value 0 everywhere.
* widgets: Remove stipple from ECanvasBackgroundBenjamin Otte2010-10-302-46/+0
|
* e-table: Draw focus with CairoBenjamin Otte2010-10-302-16/+13
|
* e-table: Remove unused stipple variableBenjamin Otte2010-10-301-4/+0
|
* e-text: Remove stippling codeBenjamin Otte2010-10-302-48/+0
|
* e-table: Use semi-transparent red instead of stippled redBenjamin Otte2010-10-302-16/+1
| | | | | | | ...when marking a header for deletion. Not that this does currently not work (it uses opaque red instead), but this change is required so stippling can be removed. And that is necessary to switch to Cairo drawing.
* gnome-canvas: Remove aa codeBenjamin Otte2010-10-302-26/+20
| | | | 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
|
* Drop usage of GtkAnchorType.Matthew Barnes2010-10-276-106/+0
| | | | gtk+-3.0 removed it for being "unused".
* 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.
* Memory leaks around g_value_set_stringMilan Crha2010-10-223-5/+5
|
* 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 #630504 - Precache collate keys before sorting in EReflowModelMilan Crha2010-10-203-7/+43
|
* 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-0719-80/+79
|
* 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
* Coding style and whitespace cleanup.Matthew Barnes2010-10-045-37/+51
|
* 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
|
* Bug #629645 - Sets negative 'width' propertyMilan Crha2010-09-221-1/+1
|
* 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-1831-171/+253
| | | | | | | 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.
* Bug #563471 - Printing tasks fails when grouped by category.Vibha Yadav2010-09-141-14/+32
| | | | | This works if Tasks/ Memos/ Contacts are grouped till level 1. If grouping level is increased then some text would be missing.
* Coding style and whitespace cleanups.Matthew Barnes2010-09-1293-3003/+3052
|
* Convert ECell from a GtkObject to a GObject.Matthew Barnes2010-09-115-30/+22
| | | | To eliminate the floating-reference-on-finalize run-time warnings.
* Re-work my GtkDialog:has-separator workaround.Matthew Barnes2010-09-114-8/+8
| | | | | | | 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-114-0/+8
| | | | | | 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-082-1/+9
|
* 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
|
* ECellText cleanups.Matthew Barnes2010-08-2910-162/+345
|
* 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-166-318/+460
|
* 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.
* Coding style and whitespace cleanup.Matthew Barnes2010-07-261-6/+8
|
* Bug 624534 - Adapt to GTK+ GtkNotebookPage changesKjartan Maraas2010-07-261-1/+1
|
* Workaround table header image draw, it crashes under clutter.Srinivasa Ragavan2010-07-261-0/+11
|
* 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-1228-341/+541
|
* 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
|
* Work around sudden disappearance of GdkRegion in GTK+ 2.90.5.Matthew Barnes2010-06-302-0/+2
| | | | API was deprecated and removed in less than two hours! Sheesh!
* 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)
* Coding style and whitespace cleanup.Matthew Barnes2010-06-206-44/+84
|
* Fix all remaining GTK3 issues.Matthew Barnes2010-06-166-46/+77
| | | | | | | | | | | | 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-156-77/+46
| | | | | | | 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-153-5/+5
|
* Add some missing linker flags.Matthew Barnes2010-06-153-14/+18
|
* Fix all remaining GTK3 issues.Matthew Barnes2010-06-156-46/+77
| | | | | | 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-074-16/+31
|
* More GTK3 preparation.Matthew Barnes2010-06-046-36/+66
| | | | | This uses the new gtk_assistant_commit() I had added to GTK+ for our EImportAssistant progress page.
* Bug 617579 - HIG issues in "Save Current View" dialogMatthew Barnes2010-05-302-147/+97
|
* Bug 619781 - Some preference sections don't show the right preferencesMatthew Barnes2010-05-281-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2010-05-273-7/+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-173-18/+30
| |\|
| | * 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
| | |
| | * Bug #614346 - Use cached table row height rather than recalculateMichel Dänzer2010-04-301-11/+11
| | |
| | * Bug #604430 - Calendar view not rememberedMilan Crha2010-04-281-2/+3
| | |
| | * Remove 3 leftover references to non-existing librariesFridrich Štrba2010-04-231-4/+0
| | |
| | * fix disappearing e-table headers by realising the (horrible)Michael Meeks2010-04-211-0/+1
| | | | | | | | | | | | pet widget we are going to steal the gc from, so it actually has it.
| * | 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>
| * | Bug #604430 - Calendar view not rememberedMilan Crha2010-04-301-2/+3
| | |
| * | Remove 3 leftover references to non-existing librariesFridrich Štrba2010-04-301-4/+0
| | |
| * | fix disappearing e-table headers by realising the (horrible)Michael Meeks2010-04-211-0/+1
| | | | | | | | | | | | pet widget we are going to steal the gc from, so it actually has it.
| * | 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
| | |
| * | Fix mismatched quotes.Matthew Barnes2010-04-071-1/+1
| | |
| * | 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 #488979 - Disable Edit for card views in contactsMilan Crha2010-04-011-1/+6
| |
| * Bug 614049 - Attachment bar causes drawing issues in RTL localesMatthew Barnes2010-03-301-2/+7
| |
* | Fix compiler warnings.Matthew Barnes2010-05-221-1/+0
| |
* | 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
| |