Commit Graph

1424 Commits

Author SHA1 Message Date
Matthew Barnes 871f4af414 EWebView: Fix icon retrieval when showing EAlerts.
Need to convert the icon filename to a URI for use in <img> tags.
2011-06-29 18:41:54 +02:00
Matthew Barnes 9657271b9d EWebView: Implement the EAlertSink interface
Shows alerts directly in the HTML area, similar to GtkInfoBar.
2011-06-29 18:41:54 +02:00
Matthew Barnes 392973975c Restore lockdown integration.
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.
2011-06-29 18:41:50 +02:00
Matthew Barnes 21a5792b9a Bug 644310 - Rework "Set as Background" image option
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.
2011-06-29 18:41:50 +02:00
Matthew Barnes c1259e5a08 EAlertBar: Make warnings time out after 5 minutes
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.
2011-06-29 18:41:49 +02:00
Matthew Barnes 56d3ccc621 Reduce EAlertBar height.
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.
2011-06-29 18:41:49 +02:00
Dan Vráti 175ee8ccc1 Bug 418954 - Add a separate entry combo for port numbers
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.
2011-06-29 18:41:46 +02:00
Milan Crha b450a294ce Fix few invalid reads caused by ECanvas 2011-06-29 18:41:45 +02:00
Cosimo Cecchi 7ea1badd8a Bug 644235 - Make EActivityProxy a GtkFrame
So it can inherit the theme from the widget below.  Was previously a
GtkEventBox for historical reasons that no one remembers.
2011-06-29 18:41:43 +02:00
Matthew Barnes 63dae545b6 Bug 644066 - Text selection is cleared when right-clicking on a link 2011-06-29 18:41:42 +02:00
Matthew Barnes 7aacf983b3 Coding style and whitespace cleanup. 2011-06-29 18:41:41 +02:00
Milan Crha 498337e852 Do not leak attachments in a mail view 2011-06-29 18:41:40 +02:00
Matthew Barnes ab870b27cd Fix Gtk-Doc comment notation.
Seeing lots of what I assume to be doxygen syntax in comment blocks.
2011-06-29 18:41:40 +02:00
Milan Crha 07d7286859 Bug #641374 - "Send new mail to..." popup action doesn't work 2011-06-29 18:41:40 +02:00
Milan Crha c003c99a75 Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedly 2011-06-29 18:41:39 +02:00
Milan Crha 391e21025a Bug #623593 - Cannot drag&drop attached messages from mails 2011-06-29 18:41:37 +02:00
Milan Crha 97935df7b6 Bug #642088 - Crash when changing advanced send options in GroupWise 2011-06-29 18:41:35 +02:00
Matthew Barnes 274697623e Remove NULL checks for GObject methods.
As of GLib 2.28 all GObject virtual methods, including constructed(),
are safe to chain up to unconditionally.  Remove unnecessary checks.
2011-06-29 18:41:34 +02:00
Kjartan Maraas 8efc1bc6f9 Bug 641756 - Fix warnings from GCC 4.6
GCC learned how to find dead assignments.
2011-06-29 18:41:31 +02:00
Matthew Barnes cc292ebbfe Composer: Add Edit -> Preferences
Opens the Preferences window to the Composer Preferences section.
2011-06-29 18:41:31 +02:00
Milan Crha 28d1b270ab Bug #641011 - Ugly appointment editing windows 2011-06-29 18:41:31 +02:00
Matthew Barnes dbc22f9de5 More whitespace cleanup. 2011-06-29 18:41:29 +02:00
Matthew Barnes 6af0c53b69 Coding style and whitespace cleanup. 2011-06-29 18:41:29 +02:00
Matthew Barnes c888c2678a Adapt ECanvasBackground to latest gtk+-3.0 API. 2011-06-29 18:41:26 +02:00
Matthew Barnes fbdc898d91 Adapt EMap to latest gtk+-3.0 API. 2011-06-29 18:41:26 +02:00
Matthew Barnes c23d496e7e Adapt ECanvas to latest gtk+-3.0 API. 2011-06-29 18:41:26 +02:00
Matthew Barnes 5827ee5a3f Adapt ECalendarItem to latest gtk+-3.0 API. 2011-06-29 18:41:26 +02:00
Matthew Barnes 9c3bb90b6b Fix minor compiler warnings 2011-06-29 18:41:26 +02:00
Milan Crha fd695a3677 Various critical warnings about comp-editor-pages and date edit 2011-06-29 18:41:26 +02:00
Milan Crha 68e1dff622 Do not oversize New and Send/Receive toolbar buttons 2011-06-29 18:41:26 +02:00
Rodrigo Moya b5aba428f4 Adapt size_request vfuncs to latest gtk+-3.0 API. 2011-06-29 18:41:26 +02:00
Matthew Barnes 7a49a21178 Dialogs no longer have separators. 2011-06-29 18:41:25 +02:00
Matthew Barnes a3ba231fcc Drop backward-compatibility cruft. 2011-06-29 18:41:25 +02:00
Milan Crha 5b171af410 Bug #640517 - Runtime warnings when launching composer 2011-06-29 18:41:25 +02:00
Milan Crha c36bd27fa8 Bug #634403 - Mails Label popup menu is not updated properly 2011-06-29 18:41:20 +02:00
Matthew Barnes 5cc2615a37 Remove some unused gnome-canvas options.
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()
2011-06-29 18:41:19 +02:00
Matthew Barnes 855ac52765 Merge miscellaneous changes from gtk3 branch.
Mostly coding style and whitespace changes, to reduce diff noise.
2011-06-29 18:41:19 +02:00
Matthew Barnes 80bc7035be Fudge GtkScrollable for gtk2.
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.
2011-06-29 18:41:19 +02:00
Matthew Barnes 2485ba3936 Fudge gtk_widget_get_preferred_size() for gtk2.
Easy enough to fake gtk_widget_get_preferred_size() in gtk2 using
gtk_widget_size_request().  Reduces diff noise with gtk3 branch.
2011-06-29 18:41:19 +02:00
Matthew Barnes 34b9be960c EAttachmentIconView: Fix runtime warnings with GTK3.
GtkIconView changed some implementation details, apparently.
2011-06-29 18:41:16 +02:00
Matthew Barnes a89aa52dc6 EActionComboBox: Fix runtime warnings with GTK3.
GtkComboBox changed some implementation details, apparently.
2011-06-29 18:41:16 +02:00
Milan Crha 97fac153c5 Bug #567879 - Add View >> Gallery Option In Email Composer 2011-06-29 18:41:13 +02:00
Milan Crha ca3faa17a9 Free/busy meeting view doesn't work due to non-working extension 2011-06-29 18:41:08 +02:00
Milan Crha 989c370729 Show calendar backend errors in an alert sink 2011-06-29 18:41:07 +02:00
Milan Crha 12a91dbb21 Bug #633779 - GtkComboBoxText issues 2011-06-29 18:41:01 +02:00
Matthew Barnes 7e9fc6d2b6 Coding style and whitespace cleanup. 2010-11-09 23:33:23 +01:00
Matthew Barnes 4a929caada Pass an EAlertSink to e_alert_sink_submit_alert().
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.
2010-11-09 23:33:20 +01:00
Matthew Barnes c1d818a53f Bug 633471 - EAttachmentStore store folder name where uri is expected 2010-11-09 23:33:18 +01:00
Matthew Barnes d9d9d7f0ef Restore update method in ECanvasBackground
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.
2010-10-29 13:51:38 -04:00
Matthew Barnes df5ff95999 Adapt branch for building with GTK+ 2.22. 2010-10-29 13:51:38 -04:00