gnome-terminal r2995 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r2995 - trunk/src
- Date: Sat, 23 Aug 2008 19:17:08 +0000 (UTC)
Author: chpe
Date: Sat Aug 23 19:17:08 2008
New Revision: 2995
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2995&view=rev
Log:
Make the terminal window's role distinct from other g-t window's role, to be able to match just them with devilspie.
Modified:
trunk/src/terminal-window.c
trunk/src/terminal.c
Modified: trunk/src/terminal-window.c
==============================================================================
--- trunk/src/terminal-window.c (original)
+++ trunk/src/terminal-window.c Sat Aug 23 19:17:08 2008
@@ -1612,7 +1612,7 @@
gtk_window_group_add_window (window_group, GTK_WINDOW (window));
g_object_unref (window_group);
- terminal_util_set_unique_role (GTK_WINDOW (window), "gnome-terminal");
+ terminal_util_set_unique_role (GTK_WINDOW (window), "gnome-terminal-window");
}
static void
Modified: trunk/src/terminal.c
==============================================================================
--- trunk/src/terminal.c (original)
+++ trunk/src/terminal.c Sat Aug 23 19:17:08 2008
@@ -1005,10 +1005,9 @@
if (results->startup_id)
terminal_window_set_startup_id (window, results->startup_id);
+ /* Overwrite the default, unique window role set in terminal_window_init */
if (iw->role)
gtk_window_set_role (GTK_WINDOW (window), iw->role);
- else
- terminal_util_set_unique_role (GTK_WINDOW (window), "gnome-terminal");
if (iw->force_menubar_state)
terminal_window_set_menubar_visible (window, iw->menubar_state);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]