[gnome-color-manager] Open up the preferences when we install a ICC file successfully
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Open up the preferences when we install a ICC file successfully
- Date: Fri, 6 Nov 2009 10:39:08 +0000 (UTC)
commit b126252fbd7f81296e74a634756d4119c17946f5
Author: Richard Hughes <richard hughsie com>
Date: Fri Nov 6 09:47:13 2009 +0000
Open up the preferences when we install a ICC file successfully
src/gcm-import.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/gcm-import.c b/src/gcm-import.c
index 19217dd..8a798a9 100644
--- a/src/gcm-import.c
+++ b/src/gcm-import.c
@@ -150,6 +150,13 @@ main (int argc, char **argv)
goto out;
}
+ /* open up the preferences */
+ ret = g_spawn_command_line_async (BINDIR "/gcm-prefs", &error);
+ if (!ret) {
+ egg_warning ("failed to spawn preferences: %s", error->message);
+ g_error_free (error);
+ goto out;
+ }
out:
if (string != NULL)
g_string_free (string, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]