changeset 999:386cda529c28 trunk

[svn] Add wmclass information to the playlist and equalizer. Patch by cha0smaster, closes bug #481.
author chainsaw
date Mon, 01 May 2006 14:20:50 -0700
parents 8c6949ffd7f8
children c0bc62c5dec1
files audacious/equalizer.c audacious/ui_playlist.c
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/audacious/equalizer.c	Mon May 01 13:53:20 2006 -0700
+++ b/audacious/equalizer.c	Mon May 01 14:20:50 2006 -0700
@@ -739,6 +739,7 @@
 
     equalizerwin = gtk_window_new(GTK_WINDOW_TOPLEVEL);
     gtk_window_set_title(GTK_WINDOW(equalizerwin), _("Audacious Equalizer"));
+    gtk_window_set_wmclass(GTK_WINDOW(equalizerwin), "equalizer", "Audacious");
     gtk_window_set_role(GTK_WINDOW(equalizerwin), "equalizer");
 
     width = 275;
--- a/audacious/ui_playlist.c	Mon May 01 13:53:20 2006 -0700
+++ b/audacious/ui_playlist.c	Mon May 01 14:20:50 2006 -0700
@@ -1637,6 +1637,7 @@
 
     playlistwin = gtk_window_new(GTK_WINDOW_TOPLEVEL);
     gtk_window_set_title(GTK_WINDOW(playlistwin), _("Audacious Playlist Editor"));
+    gtk_window_set_wmclass(GTK_WINDOW(playlistwin), "playlist", "Audacious");
     gtk_window_set_role(GTK_WINDOW(playlistwin), "playlist");
     gtk_window_set_default_size(GTK_WINDOW(playlistwin),
                                 playlistwin_get_width(),