changeset 36055:4489eafbe0a9

Change some class hint names. (Hopefully, that won't cause anybody trouble.)
author ib
date Thu, 04 Apr 2013 12:10:14 +0000
parents 1562f350e8d2
children 94188b63e047
files gui/dialog/equalizer.c gui/dialog/fileselect.c gui/dialog/preferences.c gui/wm/ws.c
diffstat 4 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/equalizer.c	Thu Apr 04 11:50:37 2013 +0000
+++ b/gui/dialog/equalizer.c	Thu Apr 04 12:10:14 2013 +0000
@@ -594,7 +594,7 @@
   gtk_window_set_position( GTK_WINDOW( EquConfig ),GTK_WIN_POS_CENTER );
 //  gtk_window_set_modal( GTK_WINDOW( EquConfig ),TRUE );
   gtk_window_set_policy( GTK_WINDOW( EquConfig ),FALSE,FALSE,FALSE );
-  gtk_window_set_wmclass( GTK_WINDOW( EquConfig ),"EquConfig",MPlayer );
+  gtk_window_set_wmclass( GTK_WINDOW( EquConfig ),"EqualizerConfig",MPlayer );
 
   gtk_widget_realize( EquConfig );
   gtkAddIcon( EquConfig );
--- a/gui/dialog/fileselect.c	Thu Apr 04 11:50:37 2013 +0000
+++ b/gui/dialog/fileselect.c	Thu Apr 04 12:10:14 2013 +0000
@@ -611,7 +611,7 @@
     gtk_window_set_title(GTK_WINDOW(FileSelector), MSGTR_FileSelect);
     gtk_window_set_position(GTK_WINDOW(FileSelector), GTK_WIN_POS_CENTER);
     gtk_window_set_policy(GTK_WINDOW(FileSelector), TRUE, TRUE, TRUE);
-    gtk_window_set_wmclass(GTK_WINDOW(FileSelector), "FileSelect", MPlayer);
+    gtk_window_set_wmclass(GTK_WINDOW(FileSelector), "FileSelector", MPlayer);
     fsColorMap = gdk_colormap_get_system();
 
     gtk_widget_realize(FileSelector);
--- a/gui/dialog/preferences.c	Thu Apr 04 11:50:37 2013 +0000
+++ b/gui/dialog/preferences.c	Thu Apr 04 12:10:14 2013 +0000
@@ -1542,7 +1542,7 @@
   gtk_window_set_title(GTK_WINDOW(AudioConfig), MSGTR_AudioPreferences);
   gtk_window_set_position(GTK_WINDOW(AudioConfig), GTK_WIN_POS_CENTER);
   gtk_window_set_policy(GTK_WINDOW(AudioConfig), FALSE, FALSE, FALSE);
-  gtk_window_set_wmclass(GTK_WINDOW(AudioConfig), "Audio Config", MPlayer);
+  gtk_window_set_wmclass(GTK_WINDOW(AudioConfig), "AudioConfig", MPlayer);
 
   gtk_widget_realize(AudioConfig);
   gtkAddIcon(AudioConfig);
@@ -1737,7 +1737,7 @@
  gtk_window_set_title( GTK_WINDOW( DXR3Config ),"DXR3/H+" );
  gtk_window_set_position( GTK_WINDOW( DXR3Config ),GTK_WIN_POS_CENTER );
  gtk_window_set_policy( GTK_WINDOW( DXR3Config ),FALSE,FALSE,FALSE );
- gtk_window_set_wmclass( GTK_WINDOW( DXR3Config ),"DXR3",MPlayer );
+ gtk_window_set_wmclass( GTK_WINDOW( DXR3Config ),"DXR3Config",MPlayer );
 
  gtk_widget_realize( DXR3Config );
  gtkAddIcon( DXR3Config );
--- a/gui/wm/ws.c	Thu Apr 04 11:50:37 2013 +0000
+++ b/gui/wm/ws.c	Thu Apr 04 12:10:14 2013 +0000
@@ -862,7 +862,7 @@
                                   win->VisualInfo.visual,
                                   win->WindowMask, &win->WindowAttrib);
 
-    wsClassHint.res_name = MPlayer;
+    wsClassHint.res_name = "GUI";
 
     wsClassHint.res_class = MPlayer;
     XSetClassHint(wsDisplay, win->WindowID, &wsClassHint);