changeset 1046:18ef6f3089d4 trunk

[svn] - gtk_window_set_decorated()
author nenolod
date Sun, 14 May 2006 11:45:51 -0700
parents 238cd31c1512
children 91f6db060a8b
files audacious/equalizer.c audacious/mainwin.c audacious/ui_playlist.c
diffstat 3 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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));
--- 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;
--- 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));