Mercurial > mplayer.hg
changeset 36058:ecd7b4e543bf
Remove GTK_WIDGET_SET_FLAGS(, GTK_CAN_DEFAULT).
It's pointless to set this on the window.
There is an accelerator set for the return key.
author | ib |
---|---|
date | Thu, 04 Apr 2013 18:01:27 +0000 |
parents | 12dcd03f4e79 |
children | 8cc06dccebbb |
files | gui/dialog/equalizer.c gui/dialog/fileselect.c gui/dialog/preferences.c gui/dialog/skinbrowser.c gui/dialog/url.c |
diffstat | 5 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/dialog/equalizer.c Thu Apr 04 13:27:41 2013 +0000 +++ b/gui/dialog/equalizer.c Thu Apr 04 18:01:27 2013 +0000 @@ -589,7 +589,6 @@ EquConfig=gtk_window_new( GTK_WINDOW_TOPLEVEL ); gtk_widget_set_usize( EquConfig,350,260 ); - GTK_WIDGET_SET_FLAGS( EquConfig,GTK_CAN_DEFAULT ); gtk_window_set_title( GTK_WINDOW( EquConfig ),MSGTR_ConfigureEqualizer ); gtk_window_set_position( GTK_WINDOW( EquConfig ),GTK_WIN_POS_CENTER ); // gtk_window_set_modal( GTK_WINDOW( EquConfig ),TRUE );
--- a/gui/dialog/fileselect.c Thu Apr 04 13:27:41 2013 +0000 +++ b/gui/dialog/fileselect.c Thu Apr 04 18:01:27 2013 +0000 @@ -606,7 +606,6 @@ FileSelector = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_widget_set_usize(FileSelector, 512, 300); - GTK_WIDGET_SET_FLAGS(FileSelector, GTK_CAN_DEFAULT); gtk_widget_set_events(FileSelector, GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_FOCUS_CHANGE_MASK | GDK_STRUCTURE_MASK | GDK_PROPERTY_CHANGE_MASK | GDK_VISIBILITY_NOTIFY_MASK); gtk_window_set_title(GTK_WINDOW(FileSelector), MSGTR_FileSelect); gtk_window_set_position(GTK_WINDOW(FileSelector), GTK_WIN_POS_CENTER);
--- a/gui/dialog/preferences.c Thu Apr 04 13:27:41 2013 +0000 +++ b/gui/dialog/preferences.c Thu Apr 04 18:01:27 2013 +0000 @@ -1733,7 +1733,6 @@ DXR3Config=gtk_window_new( GTK_WINDOW_TOPLEVEL ); // gtk_widget_set_usize( DXR3Config,300,156 ); - GTK_WIDGET_SET_FLAGS( DXR3Config,GTK_CAN_DEFAULT ); 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 );
--- a/gui/dialog/skinbrowser.c Thu Apr 04 13:27:41 2013 +0000 +++ b/gui/dialog/skinbrowser.c Thu Apr 04 18:01:27 2013 +0000 @@ -101,7 +101,6 @@ SkinBrowser=gtk_window_new( GTK_WINDOW_TOPLEVEL ); gtk_widget_set_usize( SkinBrowser,256,320 ); gtk_container_set_border_width( GTK_CONTAINER( SkinBrowser ),1 ); - GTK_WIDGET_SET_FLAGS( SkinBrowser,GTK_CAN_DEFAULT ); gtk_widget_set_events( SkinBrowser,GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_FOCUS_CHANGE_MASK | GDK_STRUCTURE_MASK | GDK_PROPERTY_CHANGE_MASK | GDK_VISIBILITY_NOTIFY_MASK ); gtk_window_set_title( GTK_WINDOW( SkinBrowser ),MSGTR_SkinBrowser ); gtk_window_set_position( GTK_WINDOW( SkinBrowser ),GTK_WIN_POS_CENTER );
--- a/gui/dialog/url.c Thu Apr 04 13:27:41 2013 +0000 +++ b/gui/dialog/url.c Thu Apr 04 18:01:27 2013 +0000 @@ -87,7 +87,6 @@ URLDialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_widget_set_usize(URLDialog, 384, -1); - GTK_WIDGET_SET_FLAGS(URLDialog, GTK_CAN_DEFAULT); gtk_window_set_title(GTK_WINDOW(URLDialog), MSGTR_Network); gtk_window_set_position(GTK_WINDOW(URLDialog), GTK_WIN_POS_CENTER); gtk_window_set_policy(GTK_WINDOW(URLDialog), TRUE, TRUE, FALSE);