# HG changeset patch # User nenolod # Date 1147632351 25200 # Node ID 18ef6f3089d47dbfb6e6f2b53f5de44daeb33de7 # Parent 238cd31c15126764b2feedb595c173bc0b680ff0 [svn] - gtk_window_set_decorated() diff -r 238cd31c1512 -r 18ef6f3089d4 audacious/equalizer.c --- a/audacious/equalizer.c Sun May 14 11:35:41 2006 -0700 +++ b/audacious/equalizer.c Sun May 14 11:45:51 2006 -0700 @@ -760,6 +760,7 @@ gtk_window_set_default_size(GTK_WINDOW(equalizerwin), width, height); gtk_window_set_resizable(GTK_WINDOW(equalizerwin), FALSE); + gtk_window_set_decorated(GTK_WINDOW(equalizerwin), cfg.show_wm_decorations); gtk_window_set_transient_for(GTK_WINDOW(equalizerwin), GTK_WINDOW(mainwin)); diff -r 238cd31c1512 -r 18ef6f3089d4 audacious/mainwin.c --- a/audacious/mainwin.c Sun May 14 11:35:41 2006 -0700 +++ b/audacious/mainwin.c Sun May 14 11:45:51 2006 -0700 @@ -3261,6 +3261,7 @@ gtk_window_set_title(GTK_WINDOW(mainwin), _("Audacious")); gtk_window_set_role(GTK_WINDOW(mainwin), "player"); gtk_window_set_resizable(GTK_WINDOW(mainwin), FALSE); + gtk_window_set_decorated(GTK_WINDOW(mainwin), cfg.show_wm_decorations); width = MAINWIN_WIDTH; height = cfg.player_shaded ? MAINWIN_SHADED_HEIGHT : MAINWIN_HEIGHT; diff -r 238cd31c1512 -r 18ef6f3089d4 audacious/ui_playlist.c --- a/audacious/ui_playlist.c Sun May 14 11:35:41 2006 -0700 +++ b/audacious/ui_playlist.c Sun May 14 11:45:51 2006 -0700 @@ -1657,6 +1657,7 @@ playlistwin_get_height()); gtk_window_set_resizable(GTK_WINDOW(playlistwin), TRUE); playlistwin_set_geometry_hints(cfg.playlist_shaded); + gtk_window_set_decorated(GTK_WINDOW(playlistwin), cfg.show_wm_decorations); gtk_window_set_transient_for(GTK_WINDOW(playlistwin), GTK_WINDOW(mainwin));