platform/upstream/glib.git
13 years agodocs: gvariant-core: g_variant_normalise -> g_variant_get_normal_form()
Javier Jardón [Fri, 14 Jan 2011 17:54:04 +0000 (17:54 +0000)]
docs: gvariant-core: g_variant_normalise -> g_variant_get_normal_form()

13 years agogvariant-core: Fix typo
Javier Jardón [Fri, 14 Jan 2011 17:24:45 +0000 (17:24 +0000)]
gvariant-core: Fix typo

g_variant_create_from_data -> g_variant_new_from_data

13 years agodocs: gvariant-varargs: Fix typo
Javier Jardón [Fri, 14 Jan 2011 00:49:35 +0000 (00:49 +0000)]
docs: gvariant-varargs: Fix typo

13 years ago[l10n] Updated Estonian translation
Ivar Smolin [Thu, 13 Jan 2011 10:41:06 +0000 (12:41 +0200)]
[l10n] Updated Estonian translation

13 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Wed, 12 Jan 2011 21:29:53 +0000 (22:29 +0100)]
Updated Basque language

13 years agoMake g_unix_connection_send_fd() work as expected.
Daiki Ueno [Tue, 11 Jan 2011 02:33:21 +0000 (11:33 +0900)]
Make g_unix_connection_send_fd() work as expected.

https://bugzilla.gnome.org/show_bug.cgi?id=637696

13 years agogobject: add an empty default impl of GObject::constructed()
Michael Natterer [Wed, 12 Jan 2011 18:45:40 +0000 (19:45 +0100)]
gobject: add an empty default impl of GObject::constructed()

to allow unconditional upchaining.

13 years agoAdded symbols for GIO/Win32
Chun-wei Fan [Wed, 12 Jan 2011 03:08:54 +0000 (11:08 +0800)]
Added symbols for GIO/Win32

There are now fallback functions in the Win32 portion of
g_app_info that were previously only available under UNIX,
so add them here so that they can be exported as well.

The symbols are as follows:
g_app_info_get_fallback_for_type
g_app_info_get_recommended_for_type

13 years agoBump version
Matthias Clasen [Tue, 11 Jan 2011 21:13:42 +0000 (16:13 -0500)]
Bump version

13 years agoUpdate NEWS 2.27.91
Matthias Clasen [Tue, 11 Jan 2011 16:27:45 +0000 (11:27 -0500)]
Update NEWS

13 years ago[l10n] Updated Estonian translation
Ivar Smolin [Tue, 11 Jan 2011 09:04:56 +0000 (11:04 +0200)]
[l10n] Updated Estonian translation

13 years agoAvoid a segfault in g_application_register()
Matthias Clasen [Tue, 11 Jan 2011 01:28:17 +0000 (20:28 -0500)]
Avoid a segfault in g_application_register()

Patch by Mikkel Kamstrup Erlandsen
https://bugzilla.gnome.org/show_bug.cgi?id=639177

13 years agomkinstalldirs: Update to latest version
Javier Jardón [Mon, 10 Jan 2011 23:36:00 +0000 (23:36 +0000)]
mkinstalldirs: Update to latest version

13 years ago[l10n] Updated Estonian translation
Ivar Smolin [Mon, 10 Jan 2011 17:44:11 +0000 (19:44 +0200)]
[l10n] Updated Estonian translation

13 years agoGSettings: Fix a copy-paste error
Matthias Clasen [Sun, 9 Jan 2011 21:43:28 +0000 (16:43 -0500)]
GSettings: Fix a copy-paste error

https://bugzilla.gnome.org/show_bug.cgi?id=639084

13 years agoUpdate gschema.dtd
Christian Persch [Sun, 9 Jan 2011 14:03:31 +0000 (15:03 +0100)]
Update gschema.dtd

Bug #639064.

13 years agoUpdated Galician translations
Fran Diéguez [Sun, 9 Jan 2011 15:35:32 +0000 (16:35 +0100)]
Updated Galician translations

13 years agoconfigure: Use AC_CONFIG_MACRO_DIR
Javier Jardón [Fri, 7 Jan 2011 17:55:20 +0000 (18:55 +0100)]
configure: Use AC_CONFIG_MACRO_DIR

To keep the correct macros in-tree.

13 years agoAdd regex test cases
Matthias Clasen [Fri, 7 Jan 2011 17:07:19 +0000 (12:07 -0500)]
Add regex test cases

These come from https://bugzilla.gnome.org/show_bug.cgi?id=638894

13 years agoFix and update GI annotations for 'Volumes and Drives'
Pavel Holejsovsky [Fri, 7 Jan 2011 13:52:29 +0000 (14:52 +0100)]
Fix and update GI annotations for 'Volumes and Drives'

Volumes and Drives GIO category contains: GVolumeMonitor, GVolume,
GMount, GDrive, Unix Mounts.

13 years agoAdd and update GI annotations in 'Settings'
Pavel Holejsovsky [Fri, 7 Jan 2011 08:38:35 +0000 (09:38 +0100)]
Add and update GI annotations in 'Settings'

'Settings' GIO group contains GSettings and GSettingsBackend.

13 years agoUpdated Indonesian translation
Andika Triwidada [Fri, 7 Jan 2011 04:37:39 +0000 (11:37 +0700)]
Updated Indonesian translation

13 years agogdesktopappinfo: Don't crash if we don't have a desktop filename
Colin Walters [Thu, 6 Jan 2011 16:47:58 +0000 (11:47 -0500)]
gdesktopappinfo: Don't crash if we don't have a desktop filename

If code creates a GDesktopAppInfo via g_desktop_app_info_new_from_keyfile(),
we'd try to send a NULL pointer down into GVariant.

Since in this case we don't have a filename, just send the empty
string.  In the future we should either:

1) Change panel to use g_desktop_app_info_new_from_filename(), and
   take the hit of parsing the file twice.
2) Add a g_key_file_get_origin_filename()
3) Add g_desktop_app_info_new_from_keyfile_and_name()

https://bugzilla.gnome.org/show_bug.cgi?id=638838

13 years agogio: Recognize reiser4 in g_file_query_filesystem_info()
Serkan Kaba [Thu, 6 Jan 2011 13:08:02 +0000 (14:08 +0100)]
gio: Recognize reiser4 in g_file_query_filesystem_info()

Signed-off-by: Serkan Kaba <serkan@gentoo.org>
Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
13 years agoBump version
Matthias Clasen [Thu, 6 Jan 2011 01:43:46 +0000 (20:43 -0500)]
Bump version

13 years agoAdd anothre bug ref 2.27.90
Matthias Clasen [Thu, 6 Jan 2011 00:51:44 +0000 (19:51 -0500)]
Add anothre bug ref

13 years agoAvoid possible parameter name clashes in GVariant
Matthias Clasen [Thu, 6 Jan 2011 00:42:13 +0000 (19:42 -0500)]
Avoid possible parameter name clashes in GVariant

https://bugzilla.gnome.org/show_bug.cgi?id=638349

13 years agoAdd new symbol
Matthias Clasen [Thu, 6 Jan 2011 00:07:01 +0000 (19:07 -0500)]
Add new symbol

13 years agoDrop annotation that break the documentation build
Matthias Clasen [Wed, 5 Jan 2011 22:46:28 +0000 (17:46 -0500)]
Drop annotation that break the documentation build

13 years agoUpdate NEWS
Matthias Clasen [Wed, 5 Jan 2011 22:16:36 +0000 (17:16 -0500)]
Update NEWS

13 years agoBump version to 2.27.90
Matthias Clasen [Wed, 5 Jan 2011 22:01:42 +0000 (17:01 -0500)]
Bump version to 2.27.90

13 years agoAdd g_get_locale_variants()
Christian Persch [Sun, 28 Nov 2010 17:49:04 +0000 (18:49 +0100)]
Add g_get_locale_variants()

Make _g_compute_locale_variants() public as g_get_locale_variants().

Bug #635998.

13 years agoMake _g_compute_locale_variants return a char** directly
Christian Persch [Mon, 1 Mar 2010 15:32:09 +0000 (16:32 +0100)]
Make _g_compute_locale_variants return a char** directly

Bug #635998.

13 years agoFix GI annotation for g_desktop_app_info_launch_uris_as_manager
Pavel Holejsovsky [Wed, 5 Jan 2011 19:30:10 +0000 (20:30 +0100)]
Fix GI annotation for g_desktop_app_info_launch_uris_as_manager

13 years agoMake the memory and null settings backends public
Christian Persch [Sun, 5 Dec 2010 14:34:26 +0000 (15:34 +0100)]
Make the memory and null settings backends public

Bug #636806.

13 years agog_desktop_app_info_launch_uris_as_manager: Fix parameter naming
Colin Walters [Wed, 5 Jan 2011 18:49:20 +0000 (13:49 -0500)]
g_desktop_app_info_launch_uris_as_manager: Fix parameter naming

This makes introspection happier.

13 years agoAdd missing indirection from previous commit
Colin Walters [Wed, 5 Jan 2011 18:00:50 +0000 (13:00 -0500)]
Add missing indirection from previous commit

This follows the rest of GLib style, and fixes g-i scanning the
headers.

13 years ago[GDummyTLS] Add missing properties and namespace
Nicolas Dufresne [Wed, 22 Dec 2010 21:52:40 +0000 (16:52 -0500)]
[GDummyTLS] Add missing properties and namespace

Add missing properties in the GDummyTlsConnection class. Also add
namespaces to property enumerations to avoid conflicts between classes.

Reviewed-by: Dan Winship <danw@gnome.org>
13 years agoChange GTlsClientConnection::accepted-cas to contain DER DNs
Stef Walter [Fri, 24 Dec 2010 16:50:14 +0000 (10:50 -0600)]
Change GTlsClientConnection::accepted-cas to contain DER DNs

This property is now a GList of GByteArray values. Each
GByteArray contains the raw DER DN of the certificate authority.
This is far more useful for looking up a certificate (with the
relevant issuer) than a string encoded DN.

https://bugzilla.gnome.org/show_bug.cgi?id=637262

13 years agogdesktopappinfo: Add g_desktop_app_info_launch_uris_as_manager()
Colin Walters [Mon, 20 Dec 2010 19:48:53 +0000 (14:48 -0500)]
gdesktopappinfo: Add g_desktop_app_info_launch_uris_as_manager()

A new GDesktopAppInfo specific function which provides more control
over launched processes.  Intended basically only for use in GNOME
Shell, where we want:

*) To directly know the GPid for each launched program, without
   having to listen to a DBus signal emitted in our own process
*) Possibly control over the process environment; for example,
   we may want to call setsid() or redirect file descriptors.

And in the future:
*) To avoid recursively calling ourself via DBus, when a later
   patch causes g_app_info_launch() to indirect via the shell.

https://bugzilla.gnome.org/show_bug.cgi?id=606960

13 years agogdesktopappinfo: Send out a session bus signal when launching .desktop file
Colin Walters [Mon, 20 Dec 2010 18:12:28 +0000 (13:12 -0500)]
gdesktopappinfo: Send out a session bus signal when launching .desktop file

This signal contains the full path of the .desktop file, along with
the process id, which allows multiple interested components (like
GNOME Shell) to better know the state of the system (which processes
correspond to which .desktop files).

https://bugzilla.gnome.org/show_bug.cgi?id=606960

13 years agoBug 637852 - Updates to glib.vsprops
Chun-wei Fan [Wed, 5 Jan 2011 14:57:48 +0000 (22:57 +0800)]
Bug 637852 - Updates to glib.vsprops

Due to changes in the GIO APIs/headers, the glib.vsprops
is updated to reflect that in the "install" phase, namely:
-removal of the gperiodic.h header
-addition of GPollable I/O Stream, GTCP Connection and
 GTLS headers

13 years agoFix build on old kernels
Matthias Clasen [Tue, 4 Jan 2011 14:38:14 +0000 (09:38 -0500)]
Fix build on old kernels

Cope with BTRFS_SUPER_MAGIC not being defined.

13 years agorevents may have been cleared by GMain before dispatch().
Thomas Kristensen [Mon, 3 Jan 2011 13:20:12 +0000 (15:20 +0200)]
revents may have been cleared by GMain before dispatch().

See bug #587898.

13 years agoUpdated Norwegian bokmål translation from Torstein Adolf Winterseth
Kjartan Maraas [Sun, 2 Jan 2011 17:54:17 +0000 (18:54 +0100)]
Updated Norwegian bokmål translation from Torstein Adolf Winterseth

13 years agoUpdated Swedish translation
Daniel Nylander [Fri, 31 Dec 2010 14:23:27 +0000 (15:23 +0100)]
Updated Swedish translation

13 years agoAdd GI annotation: skip g_cancellable_source_new().
Pavel Holejsovsky [Wed, 29 Dec 2010 15:21:22 +0000 (16:21 +0100)]
Add GI annotation: skip g_cancellable_source_new().

It is not bindable, because GSource is not boxed and thus cannot be
returned as caller-owned.

13 years agoAdd GI annotations to Gio DNS resolution classes
Pavel Holejsovsky [Wed, 29 Dec 2010 14:26:21 +0000 (15:26 +0100)]
Add GI annotations to Gio DNS resolution classes

13 years agoAdd GI annotations to Gio highlevel network functionality
Pavel Holejsovsky [Wed, 29 Dec 2010 15:01:12 +0000 (16:01 +0100)]
Add GI annotations to Gio highlevel network functionality

13 years agoAdd GI annotations to Gio lowlevel network support classes
Pavel Holejsovsky [Wed, 29 Dec 2010 12:51:44 +0000 (13:51 +0100)]
Add GI annotations to Gio lowlevel network support classes

13 years agoAdd GI annotations to GPollable{Input|Output}Stream
Pavel Holejsovsky [Tue, 28 Dec 2010 15:53:48 +0000 (16:53 +0100)]
Add GI annotations to GPollable{Input|Output}Stream

13 years agoAdd missing GI annotation to g_content_type_guess_for_tree
Pavel Holejsovsky [Tue, 28 Dec 2010 14:46:01 +0000 (15:46 +0100)]
Add missing GI annotation to g_content_type_guess_for_tree

13 years agoFix typo in GI annotation
Pavel Holejsovsky [Tue, 28 Dec 2010 13:28:52 +0000 (14:28 +0100)]
Fix typo in GI annotation

13 years agotest: Add a <revision> node to the report XML
Emmanuele Bassi [Tue, 12 Oct 2010 15:05:26 +0000 (16:05 +0100)]
test: Add a <revision> node to the report XML

Use `git describe` to fill out the <revision> node, if we're using a
git checkout; otherwise, for tests ran from a released tarball, use
the version.

https://bugzilla.gnome.org/show_bug.cgi?id=631980

13 years agogtester-report: Add an optional 'revision' node
Emmanuele Bassi [Tue, 12 Oct 2010 15:03:56 +0000 (16:03 +0100)]
gtester-report: Add an optional 'revision' node

In order to distinguish reports generated from a specific revision of a
projects it would be good if gtester-report handled a <revision> node in
the XML.

The payload is free-form, just like for the other nodes under <info>.

https://bugzilla.gnome.org/show_bug.cgi?id=631980

13 years agogaction: update property flags to match needs of GSimpleAction
Cosimo Cecchi [Tue, 28 Dec 2010 11:24:39 +0000 (12:24 +0100)]
gaction: update property flags to match needs of GSimpleAction

Commit 068d53358bd366c26cff604a3de53b3cf734b08f uncovered this mismatch
between properties on the interface and those on the implementation.
Update them so they match.

13 years agotests: unbreak desktop-app-info test for jhbuild
Cosimo Cecchi [Tue, 28 Dec 2010 11:17:10 +0000 (12:17 +0100)]
tests: unbreak desktop-app-info test for jhbuild

If we have a jhbuilt version of gedit installed, this will fail, as it
will succeed in deleting its desktop file.

13 years agoFix typo in function annotation.
Pavel Holejsovsky [Tue, 28 Dec 2010 10:59:58 +0000 (11:59 +0100)]
Fix typo in function annotation.

13 years agoDocument that g_variant_builder_add_value consumes a floating ref
Matthias Clasen [Tue, 28 Dec 2010 05:19:45 +0000 (00:19 -0500)]
Document that g_variant_builder_add_value consumes a floating ref

Patch by Mikkel Kamstrup Erlandsen, bug
https://bugzilla.gnome.org/show_bug.cgi?id=634569

13 years agoAdapt testglib.c to GRelation deprecation
Matthias Clasen [Tue, 28 Dec 2010 05:12:19 +0000 (00:12 -0500)]
Adapt testglib.c to GRelation deprecation

Patch by Chun-wei Fan, bug https://bugzilla.gnome.org/show_bug.cgi?id=637858

13 years agoFix a possible crash in g_io_channel_read_chars
Matthias Clasen [Tue, 28 Dec 2010 05:08:56 +0000 (00:08 -0500)]
Fix a possible crash in g_io_channel_read_chars

Patch by Rui Matos, https://bugzilla.gnome.org/show_bug.cgi?id=637759

13 years agoMove ifaceproperties test to gobject/tests/
Matthias Clasen [Tue, 28 Dec 2010 04:49:12 +0000 (23:49 -0500)]
Move ifaceproperties test to gobject/tests/

13 years agoMake object_interface_check_properties work
Matthias Clasen [Tue, 28 Dec 2010 04:41:10 +0000 (23:41 -0500)]
Make object_interface_check_properties work

As pointed out in bug 637738, it does not currently work, since
g_type_class_peek always returns NULL.

13 years agoConvert ifaceproperties.c to test framework
Matthias Clasen [Tue, 28 Dec 2010 04:37:21 +0000 (23:37 -0500)]
Convert ifaceproperties.c to test framework

Also add a test that checks warnings for failure to implement
interface properties.

See https://bugzilla.gnome.org/show_bug.cgi?id=637738

13 years agoAdd GI annotations to GObject
Pavel Holejsovsky [Mon, 27 Dec 2010 21:07:08 +0000 (22:07 +0100)]
Add GI annotations to GObject

13 years agoAdd GI annotations to GParamSpec
Pavel Holejsovsky [Wed, 22 Dec 2010 21:09:21 +0000 (22:09 +0100)]
Add GI annotations to GParamSpec

13 years agoAdd GI annotations to GType
Pavel Holejsovsky [Mon, 27 Dec 2010 19:56:06 +0000 (20:56 +0100)]
Add GI annotations to GType

13 years agoAdd GI annotations to GMemory{Input|Output}Stream
Pavel Holejsovsky [Mon, 27 Dec 2010 15:47:26 +0000 (16:47 +0100)]
Add GI annotations to GMemory{Input|Output}Stream

13 years agoAdd GI annotations to GConverter
Pavel Holejsovsky [Mon, 27 Dec 2010 15:29:20 +0000 (16:29 +0100)]
Add GI annotations to GConverter

13 years agoAdd GI annotations to GSeekable
Pavel Holejsovsky [Mon, 27 Dec 2010 15:24:21 +0000 (16:24 +0100)]
Add GI annotations to GSeekable

13 years agoAdd GI annotations to GIcon and related classes and interfaces
Pavel Holejsovsky [Mon, 27 Dec 2010 15:08:46 +0000 (16:08 +0100)]
Add GI annotations to GIcon and related classes and interfaces

13 years agoAdd GI annotations to GFileEnumerator
Pavel Holejsovsky [Mon, 27 Dec 2010 14:48:31 +0000 (15:48 +0100)]
Add GI annotations to GFileEnumerator

13 years agoAdd GI annotations to GAppInfo and GDesktopAppInfo
Pavel Holejsovsky [Mon, 27 Dec 2010 14:40:07 +0000 (15:40 +0100)]
Add GI annotations to GAppInfo and GDesktopAppInfo

13 years agoUpdate Simplified Chinese translation.
Aron Xu [Sat, 25 Dec 2010 16:50:40 +0000 (16:50 +0000)]
Update Simplified Chinese translation.

13 years agoUpdated Spanish translation
Jorge Gonzalez [Thu, 23 Dec 2010 18:57:19 +0000 (19:57 +0100)]
Updated Spanish translation

13 years agoAdded UG translation
Gheyret T.Kenji [Thu, 23 Dec 2010 17:51:06 +0000 (18:51 +0100)]
Added UG translation

13 years agoUpdated Hebrew translation.
Yaron Shahrabani [Thu, 23 Dec 2010 15:20:21 +0000 (17:20 +0200)]
Updated Hebrew translation.

13 years agoFix for bug #637720. void functions should not return a value.
Brian Cameron [Wed, 22 Dec 2010 07:37:21 +0000 (01:37 -0600)]
Fix for bug #637720.  void functions should not return a value.

13 years agoAdd GI annotations to GBufferedInputStream
Pavel Holejsovsky [Tue, 21 Dec 2010 17:19:16 +0000 (18:19 +0100)]
Add GI annotations to GBufferedInputStream

13 years agoAdd GI annotations to GData{Input|Output}Stream
Pavel Holejsovsky [Tue, 21 Dec 2010 17:00:48 +0000 (18:00 +0100)]
Add GI annotations to GData{Input|Output}Stream

13 years agoAdd GI annotations to GSimpleAsyncResult
Pavel Holejsovsky [Tue, 21 Dec 2010 16:35:11 +0000 (17:35 +0100)]
Add GI annotations to GSimpleAsyncResult

13 years agoUpdated Vietnamese translation
Nguyễn Thái Ngọc Duy [Tue, 21 Dec 2010 12:51:54 +0000 (19:51 +0700)]
Updated Vietnamese translation

13 years agopo/vi.po: import from Damned Lies
Nguyễn Thái Ngọc Duy [Mon, 20 Dec 2010 10:39:39 +0000 (17:39 +0700)]
po/vi.po: import from Damned Lies

13 years agogio: typo fix
Nguyễn Thái Ngọc Duy [Tue, 21 Dec 2010 12:50:33 +0000 (19:50 +0700)]
gio: typo fix

13 years agoBug 637544 - Skip fsync() on btrfs
Ryan Lortie [Sat, 18 Dec 2010 23:52:32 +0000 (18:52 -0500)]
Bug 637544 - Skip fsync() on btrfs

For g_file_set_contents() we fsync() before renaming the file over the
original in order to ensure that we don't end up with an invalid file.
btrfs provides this guarantee for us without the fsync() so skip it
there.

13 years agoBump version
Matthias Clasen [Mon, 20 Dec 2010 21:47:10 +0000 (16:47 -0500)]
Bump version

13 years agoUpdate NEWS 2.27.5
Matthias Clasen [Mon, 20 Dec 2010 19:03:45 +0000 (14:03 -0500)]
Update NEWS

13 years agoAdd io-stream in gitignore
Xavier Claessens [Mon, 20 Dec 2010 17:52:44 +0000 (18:52 +0100)]
Add io-stream in gitignore

13 years agoAdd g_sequence_lookup{_iter} into symbols
Xavier Claessens [Mon, 20 Dec 2010 17:44:49 +0000 (18:44 +0100)]
Add g_sequence_lookup{_iter} into symbols

13 years agoappinfo: avoid overriding the system defaults when adding support
Cosimo Cecchi [Mon, 20 Dec 2010 16:44:51 +0000 (17:44 +0100)]
appinfo: avoid overriding the system defaults when adding support

We want to be compatible with the following situation:
- there's no explicit default set in mimeapps.list
- we add support for a content type to a specific application, and that
  list is empty
- the default should be picked from the system list, not overridden by
  the user-added application.

So we make the default explicit in this case, by adding it to the
relevant section in mimeapps.list.

https://bugzilla.gnome.org/show_bug.cgi?id=637675

13 years agoAdd note in g_sequence_search() doc about g_sequence_lookup()
Xavier Claessens [Fri, 10 Dec 2010 09:17:44 +0000 (10:17 +0100)]
Add note in g_sequence_search() doc about g_sequence_lookup()

13 years agoAdd unit test for g_sequence_lookup() and g_sequence_lookup_iter().
Xavier Claessens [Fri, 10 Dec 2010 09:14:06 +0000 (10:14 +0100)]
Add unit test for g_sequence_lookup() and g_sequence_lookup_iter().

13 years agoNew API: g_sequence_lookup() and g_sequence_lookup_iter()
Xavier Claessens [Fri, 30 Apr 2010 11:55:53 +0000 (13:55 +0200)]
New API: g_sequence_lookup() and g_sequence_lookup_iter()

Fixes bug #617254

13 years agoAllow null object in g_simple_async_report_gerror_in_idle
Christian Dywan [Mon, 20 Dec 2010 16:15:15 +0000 (17:15 +0100)]
Allow null object in g_simple_async_report_gerror_in_idle

Follow-up on bug 636673.

13 years agoappinfo: add g_app_info_set_as_last_used_for_type()
Cosimo Cecchi [Wed, 15 Dec 2010 16:56:22 +0000 (17:56 +0100)]
appinfo: add g_app_info_set_as_last_used_for_type()

This commit also changes (maintaining compatibility) the way
user-specified default applications are stored (as in, those for which
g_app_info_set_as_default_for_type() has been called.

We now store the default application for a content type in a new group
in the mimeapps.list keyfile, and "Added Associations" tracks only the
applications that have been added by the user, following a
most-recently-used first order.

This is useful in GtkAppChooser-like widgets to pre-select the last used
application when constructing a widget.

https://bugzilla.gnome.org/show_bug.cgi?id=636311

13 years agoemblemedicon: make GEmblemedIcon subclassable
Cosimo Cecchi [Thu, 9 Dec 2010 17:31:19 +0000 (18:31 +0100)]
emblemedicon: make GEmblemedIcon subclassable

Hiding the object/class structs in the source file makes this class not
subclassable.

Move them to the public header, and add a property for the icon, so that
subclasses can just use

  g_object_new (DERIVED_TYPE,
                "gicon", icon,
                NULL);

to create an emblemed icon.

https://bugzilla.gnome.org/show_bug.cgi?id=636892

13 years agoAdd a delay-apply property to GSettings
Matthias Clasen [Mon, 20 Dec 2010 14:16:05 +0000 (09:16 -0500)]
Add a delay-apply property to GSettings

Bug 637147, patch by Matt Barnes.

13 years ago[l10n] Updated Estonian translation
Mattias Põldaru [Mon, 20 Dec 2010 11:55:19 +0000 (13:55 +0200)]
[l10n] Updated Estonian translation

13 years agoUpdated Vietnamese translation
Nguyễn Thái Ngọc Duy [Mon, 20 Dec 2010 10:26:00 +0000 (17:26 +0700)]
Updated Vietnamese translation

13 years agoAdd GI annotations to GClosure and friends.
Pavel Holejsovsky [Sun, 19 Dec 2010 21:15:42 +0000 (22:15 +0100)]
Add GI annotations to GClosure and friends.