--- alsaplayer-0.99.81.old/interface/gtk2/PlaylistWindow.cpp +++ alsaplayer-0.99.81/interface/gtk2/PlaylistWindow.cpp @@ -676,10 +676,12 @@ this->list = (GtkWidget *)g_object_get_data(G_OBJECT(window), "list"); this->current_entry = 1; - this->width = window->allocation.width; + this->width = window->allocation.width; this->height = window->allocation.height; - this->play_on_add = prefs_get_bool(ap_prefs, "gtk2_interface", "play_on_add", FALSE); - + if (this->height < 450) this->height = 450; + + this->play_on_add = prefs_get_bool(ap_prefs, + "gtk2_interface", "play_on_add", FALSE); pthread_mutex_init(&playlist_list_mutex, NULL); --- alsaplayer-0.99.81.old/interface/gtk2/gtk_interface.cpp +++ alsaplayer-0.99.81/interface/gtk2/gtk_interface.cpp @@ -1641,8 +1641,11 @@ playlist_window->SetHeight(plheight); } - if (width && height) + if (width && height) + { + if (height < 450) height = 450; gtk_window_resize(GTK_WINDOW(main_window), width, height); + } int loop = prefs_get_int(ap_prefs, "gtk2_interface", "loop", 0); if (loop == 1) {