[MPlayer-cvslog] r36149 - in trunk/gui: dialog/equalizer.c dialog/fileselect.c dialog/preferences.c wm/ws.c
ib
subversion at mplayerhq.hu
Thu Apr 4 14:10:14 CEST 2013
Author: ib
Date: Thu Apr 4 14:10:14 2013
New Revision: 36149
Log:
Change some class hint names.
(Hopefully, that won't cause anybody trouble.)
Modified:
trunk/gui/dialog/equalizer.c
trunk/gui/dialog/fileselect.c
trunk/gui/dialog/preferences.c
trunk/gui/wm/ws.c
Modified: trunk/gui/dialog/equalizer.c
==============================================================================
--- trunk/gui/dialog/equalizer.c Thu Apr 4 13:50:37 2013 (r36148)
+++ trunk/gui/dialog/equalizer.c Thu Apr 4 14:10:14 2013 (r36149)
@@ -594,7 +594,7 @@ GtkWidget * CreateEquConfig( void )
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 );
Modified: trunk/gui/dialog/fileselect.c
==============================================================================
--- trunk/gui/dialog/fileselect.c Thu Apr 4 13:50:37 2013 (r36148)
+++ trunk/gui/dialog/fileselect.c Thu Apr 4 14:10:14 2013 (r36149)
@@ -611,7 +611,7 @@ static GtkWidget *CreateFileSelect(void)
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);
Modified: trunk/gui/dialog/preferences.c
==============================================================================
--- trunk/gui/dialog/preferences.c Thu Apr 4 13:50:37 2013 (r36148)
+++ trunk/gui/dialog/preferences.c Thu Apr 4 14:10:14 2013 (r36149)
@@ -1542,7 +1542,7 @@ static GtkWidget *CreateAudioConfig( voi
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 @@ GtkWidget * CreateDXR3Config( void )
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 );
Modified: trunk/gui/wm/ws.c
==============================================================================
--- trunk/gui/wm/ws.c Thu Apr 4 13:50:37 2013 (r36148)
+++ trunk/gui/wm/ws.c Thu Apr 4 14:10:14 2013 (r36149)
@@ -862,7 +862,7 @@ void wsWindowCreate(wsWindow *win, int x
win->VisualInfo.visual,
win->WindowMask, &win->WindowAttrib);
- wsClassHint.res_name = MPlayer;
+ wsClassHint.res_name = "GUI";
wsClassHint.res_class = MPlayer;
XSetClassHint(wsDisplay, win->WindowID, &wsClassHint);
More information about the MPlayer-cvslog
mailing list