Commit Graph

2984 Commits

Author SHA1 Message Date
c003c99a75 Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedly 2011-06-29 18:41:39 +02:00
57e58ac4ad Bug #635002 - Fix invalid use of .la file in contact-editor 2011-06-29 18:41:37 +02:00
3b6c8972a5 Coding style and whitespace cleanup. 2011-06-29 18:41:36 +02:00
b6512982fb Bug #255973 - Contact preview waste space and cosmetic correction 2011-06-29 18:41:35 +02:00
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
8efc1bc6f9 Bug 641756 - Fix warnings from GCC 4.6
GCC learned how to find dead assignments.
2011-06-29 18:41:31 +02:00
dbc22f9de5 More whitespace cleanup. 2011-06-29 18:41:29 +02:00
6af0c53b69 Coding style and whitespace cleanup. 2011-06-29 18:41:29 +02:00
a6726c0e87 Bug #640707 - Crash on 'Add to address book'->'Edit full' click 2011-06-29 18:41:29 +02:00
a19689605a Bug #640526 - Default column width in address card view is small 2011-06-29 18:41:26 +02:00
cadcc080ee Adapt to GtkComboBox class reorg. 2011-06-29 18:41:25 +02:00
7a49a21178 Dialogs no longer have separators. 2011-06-29 18:41:25 +02:00
a3ba231fcc Drop backward-compatibility cruft. 2011-06-29 18:41:25 +02:00
042c0c5732 Use e_load_book_source_async() for all EBook loading. 2011-06-29 18:41:21 +02:00
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
ff7a3fddbb Bug #634305 - Crash on move of contacts between books 2011-06-29 18:41:17 +02:00
03fa99afdb Bug #638087 - Crash at merging duplicate contact
Using 'comments' instead of 'comment'.
2011-06-29 18:41:17 +02:00
4231716442 Show common addressbook and calendar errors in an alert sink 2011-06-29 18:41:11 +02:00
ca3faa17a9 Free/busy meeting view doesn't work due to non-working extension 2011-06-29 18:41:08 +02:00
d1e9d52b19 Bug #635755 - Authenticate books in addressbook importers on open 2011-06-29 18:41:07 +02:00
e0cf91771a Localize few strings with ngettext
Per request of bug #635414
2011-06-29 18:41:06 +02:00
27f701169e Added few translator comments
As requested in bug #635414
2011-06-29 18:41:05 +02:00
12a91dbb21 Bug #633779 - GtkComboBoxText issues 2011-06-29 18:41:01 +02:00
e534a01e80 Bug #632671 - "Search interrupted" status message forever 2010-11-09 23:33:24 +01:00
26afa6081c Utilize the new ESourceSelector:primary-selection property. 2010-11-09 23:33:21 +01:00
829b5dc8b9 addressbook: Only include libgnomecanvas.h 2010-10-29 13:50:00 -04:00
059caea47b Bug #632278 - Double .vcf extension on addressbook save 2010-10-29 16:37:03 +02:00
2de2e7f12f Workaround GtkComboBoxText/GtkComboBoxEntry in .ui files 2010-10-27 21:43:25 +02:00
5d812173d0 Drop usage of GtkAnchorType.
gtk+-3.0 removed it for being "unused".
2010-10-26 13:31:26 -04:00
c881b5bc5e Simplify EActivity.
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.
2010-10-22 14:21:22 -04:00
4a08257b83 Deal with GtkComboBoxEntry removal in gtk+-3.0. 2010-10-20 16:10:15 -04:00
8da37ea812 Bug 632641 - Handle combo box text API going away 2010-10-20 15:08:16 -04:00
7a07c80767 Bug #630504 - Precache collate keys before sorting in EReflowModel 2010-10-20 13:34:53 +02:00
0227574987 Widget 'label-comments' gone in Contact editor 2010-10-15 09:58:03 +02:00
1e663aa132 Replace EBinding with GBinding.
GObject now does property bindings itself.

Requires GLib >= 2.26.
2010-10-14 07:12:52 -04:00
1c6f2d154e Bug #631320 - GtkObject is gone in GTK3 2010-10-06 19:26:08 +02:00
9675f18d91 Coding style and whitespace cleanup. 2010-10-03 13:29:20 -04:00
2a772badda Bug #629636 - Doesn't recognize local ESource-s 2010-09-29 10:43:04 +02:00
a98c07a569 Add a GCancellable to EActivity.
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.
2010-09-18 16:40:19 -04:00
afe6f502c3 Use new GDK keysym names if available.
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.
2010-09-17 18:39:59 -04:00
64f53f1a53 Increase safety on Windows
Call SetDllDirectory() to reduce risk of DLL hijacking, and call SetProcessDEPPolicy() to reduce risk of rogue code execution.
2010-09-15 16:49:01 +02:00
cd53ba9900 Coding style cleanups. 2010-09-13 08:28:58 -04:00
ebcce86769 Coding style and whitespace cleanups. 2010-09-11 14:14:04 -04:00
bc9ece413f Re-work my GtkDialog:has-separator workaround.
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.
2010-09-11 09:03:45 -04:00
a6e137295f Work around deprecation of gtk_dialog_set_has_separator()
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.
2010-09-11 00:30:54 -04:00
4c05b9e925 Coding style and whitespace cleanup. 2010-08-29 11:22:28 -04:00
cbf3c78417 bugs.meego.com #2329 - Contact list editor is not translated
We had a 'context=yes' attribute in all the translatable labels, when
in fact no label has the magic marker for the context string.  This was
somehow carried over from the .glade days.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-08-27 15:30:32 -05:00
a536d74906 Use the new e_load_book_source_async() where possible.
It's easier to use than addressbook_load() but requires starting with
an ESource rather than an EBook, and there's a couple places left where
that's not so easy.  I'll spend more time on it later.
2010-08-18 15:49:49 -04:00
2dfabd3909 addressbook: Port to use new _async suffix instead of _ex suffix 2010-08-02 13:27:24 +01:00
b6b72b0c4a addressbook/gui, plugins/groupwise, widgets/misc: Update to new icon theme
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
2010-08-02 10:58:43 +01:00