Javier Jardón
ee044fd839
gio/tests: Use g_list_free_full() convenience function
2012-01-02 23:18:22 +01:00
Cosimo Cecchi
f248ab1b60
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.
2010-12-28 12:18:51 +01:00
Cosimo Cecchi
678bcad92c
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
2010-12-20 15:43:58 +01:00
Cosimo Cecchi
274ef35fd4
tests: remove a bogus assumption
2010-12-15 18:03:13 +01:00
Cosimo Cecchi
5f958e4623
tests: add a test for recommended and fallback GAppInfos
2010-11-23 10:29:10 +01:00
Matthias Clasen
5694ab7642
Revert "Move gio tests from gio/tests/ to tests/gio/"
...
This reverts commit 2262d76b33
.
Move GIO tests back to where they belong.
2009-07-05 22:49:24 -04:00
Benjamin Otte
2262d76b33
Move gio tests from gio/tests/ to tests/gio/
...
This avoids getting tests built every time when working on libgio and
running make in the gio/ directory.
2009-07-01 19:03:19 +02:00
Benjamin Otte
afd63c3281
fix warnings from gcc compilation with my mad CFLAGS
2009-06-29 18:25:02 +02:00
Matthias Clasen
82c68c6a14
2.19.0
...
svn path=/trunk/; revision=7611
2008-10-16 23:59:50 +00:00
Matthias Clasen
764e187fd9
Bug 545350 – GAppInfo deletion Bug 545351 – Reset associations for
...
2008-09-26 Matthias Clasen <mclasen@redhat.com>
Bug 545350 – GAppInfo deletion
Bug 545351 – Reset associations for content type
* gio.symbols:
* gappinfo.[hc]: New functions g_app_info_can_delete,
g_app_info_delete and g_app_info_reset_type_associations.
* gdesktopappinfo.c:
* gwin32appinfo.c: Implementations of these.
* tests/Makefile.am:
* tests/desktop-app-info.c: Tests for GAppInfo functionality.
svn path=/trunk/; revision=7554
2008-09-26 19:57:36 +00:00