[gnome-terminal] Revert "server: Set WM class to the application ID"



commit b735feff4ca0a88b389a89d151bb075bf39e32f8
Author: Christian Persch <chpe gnome org>
Date:   Tue Feb 24 17:14:29 2015 +0100

    Revert "server: Set WM class to the application ID"
    
    This reverts commit 6c91fa92151cc1306ff2ec8edcaacca0506d3ecc.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=685742

 src/terminal-app.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/terminal-app.c b/src/terminal-app.c
index a0c13ac..94fa35b 100644
--- a/src/terminal-app.c
+++ b/src/terminal-app.c
@@ -326,8 +326,8 @@ terminal_app_startup (GApplication *application)
 
   G_APPLICATION_CLASS (terminal_app_parent_class)->startup (application);
 
-  /* Set the WM class to the app ID (see bug #685742) */
-  gdk_set_program_class (g_application_get_application_id (application));
+  /* Need to set the WM class (bug #685742) */
+  gdk_set_program_class("Gnome-terminal");
 
   g_action_map_add_action_entries (G_ACTION_MAP (application),
                                    app_menu_actions, G_N_ELEMENTS (app_menu_actions),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]