[Xfce4-commits] <terminal:master> Use package name for window role.

Nick Schermer noreply at xfce.org
Mon Dec 24 21:02:02 CET 2012


Updating branch refs/heads/master
         to 41eb074d07d8d73036e4f8e8ca38877f84da3f15 (commit)
       from 6b9fe5b49b7290ff8d427b65bfd541684e05fc29 (commit)

commit 41eb074d07d8d73036e4f8e8ca38877f84da3f15
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Dec 24 17:22:40 2012 +0100

    Use package name for window role.

 terminal/terminal-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index 21de2ab..840b58b 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -403,7 +403,7 @@ terminal_window_init (TerminalWindow *window)
   gtk_widget_show (window->notebook);
 
   /* set a unique role on each window (for session management) */
-  role = g_strdup_printf ("Terminal-%p-%d-%d", window, (gint) getpid (), (gint) time (NULL));
+  role = g_strdup_printf (PACKAGE_NAME "-%p-%d-%d", window, (gint) getpid (), (gint) time (NULL));
   gtk_window_set_role (GTK_WINDOW (window), role);
   g_free (role);
 


More information about the Xfce4-commits mailing list