[Mplayerplug-in-cvs] mplayerplug-in/Source plugin.cpp,1.317,1.318
Brought to you by:
kdekorte
From: Kevin D. <kde...@us...> - 2006-10-10 14:15:36
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in/Source In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv19262/Source Modified Files: plugin.cpp Log Message: Have drawing_area properly respond to dynamic resizing of embed window Index: plugin.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin.cpp,v retrieving revision 1.317 retrieving revision 1.318 diff -C2 -d -r1.317 -r1.318 *** plugin.cpp 18 Sep 2006 22:01:36 -0000 1.317 --- plugin.cpp 10 Oct 2006 14:15:28 -0000 1.318 *************** *** 1252,1255 **** --- 1252,1265 ---- } + if (GTK_IS_WIDGET(drawing_area)) { + if (showcontrols) { + gtk_widget_set_usize(GTK_WIDGET(drawing_area), + window_width, window_height-16); + } else { + gtk_widget_set_usize(GTK_WIDGET(drawing_area), + window_width, window_height); + } + } + } if (gtkwidget == NULL) |