summaryrefslogtreecommitdiff
path: root/unity-private
diff options
authorMikkel Kamstrup Erlandsen <mikkel.kamstrup@gmail.com>2010-08-25 11:17:16 +0200
committerMikkel Kamstrup Erlandsen <mikkel.kamstrup@gmail.com>2010-08-25 11:17:16 +0200
commit9b45f50f64197eb72db4f2093a0a91cc6b89d399 (patch)
treea1c61730f1af418980276f30b197537fcc62d625 /unity-private
parentd2c37dbd51928997535f4d859685e69b025e96d0 (diff)
When launching apps via the launcher construct the DesktopAppInfo objects in a way which is more friendly to the Zeitgeist GIO module
(bzr r455)
Diffstat (limited to 'unity-private')
-rw-r--r--unity-private/launcher/application-controller.vala4
1 files changed, 1 insertions, 3 deletions
diff --git a/unity-private/launcher/application-controller.vala b/unity-private/launcher/application-controller.vala
index a8c0f2f72..052968189 100644
--- a/unity-private/launcher/application-controller.vala
+++ b/unity-private/launcher/application-controller.vala
@@ -370,9 +370,7 @@ namespace Unity.Launcher
Gdk.AppLaunchContext context = new Gdk.AppLaunchContext ();
try
{
- var desktop_keyfile = new KeyFile ();
- desktop_keyfile.load_from_file (desktop_file, 0);
- AppInfo appinfo = new DesktopAppInfo.from_keyfile (desktop_keyfile);
+ var appinfo = new DesktopAppInfo.from_filename (desktop_file);
context.set_screen (Gdk.Display.get_default ().get_default_screen ());
context.set_timestamp (Gdk.CURRENT_TIME);