Set roles for non-dialog windows to help WMs out a bit.

This commit is contained in:
Josh Elsasser
2007-03-24 10:20:00 +00:00
parent c0e369d44a
commit 7e450316f2
4 changed files with 6 additions and 0 deletions

View File

@@ -112,6 +112,8 @@ msgwin_create( void ) {
g_signal_connect( clear, "clicked", G_CALLBACK( doclear ), NULL );
g_signal_connect( menu, "changed", G_CALLBACK( changelevel ), NULL );
gtk_window_set_role( GTK_WINDOW( win ), "tr-messages" );
gtk_widget_show_all( win );
return win;