Updating branch refs/heads/master
         to 2ca57a22aa6c640ce6822a0afa41b3358357813c (commit)
       from 30fad13fb84ce2572d6aa96c3956fa7c5ab61206 (commit)

commit 2ca57a22aa6c640ce6822a0afa41b3358357813c
Author: Nick Schermer <[email protected]>
Date:   Wed Sep 26 21:53:51 2012 +0200

    Extend the launch content with a timestamp and icon (bug #4724).
    
    This makes launchding with startup notification work. Should
    fix focus issues.

 thunar/thunar-launcher.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/thunar/thunar-launcher.c b/thunar/thunar-launcher.c
index 468f749..fcf6b82 100644
--- a/thunar/thunar-launcher.c
+++ b/thunar/thunar-launcher.c
@@ -630,6 +630,8 @@ thunar_launcher_open_paths (GAppInfo       *app_info,
   /* create launch context */
   context = gdk_app_launch_context_new ();
   gdk_app_launch_context_set_screen (context, screen);
+  gdk_app_launch_context_set_timestamp (context, gtk_get_current_event_time 
());
+  gdk_app_launch_context_set_icon (context, g_app_info_get_icon (app_info));
 
   /* determine the working directory */
   if (launcher->current_directory != NULL)
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to