Mercurial > audlegacy-plugins
comparison src/amidi-plug/i_configure.c @ 2192:e5401b6c4665
the same thing in many plugins
author | Eugene Zagidullin <e.asphyx@gmail.com> |
---|---|
date | Wed, 28 Nov 2007 03:51:34 +0300 |
parents | fe9ffc829b5f |
children | bd3a24b39058 |
comparison
equal
deleted
inserted
replaced
2191:329267b09658 | 2192:e5401b6c4665 |
---|---|
232 /* we can't change settings while a song is being played */ | 232 /* we can't change settings while a song is being played */ |
233 static GtkWidget * configwin_warnmsg = NULL; | 233 static GtkWidget * configwin_warnmsg = NULL; |
234 g_object_set_data( G_OBJECT(button_ok) , "bapply_pressed" , GUINT_TO_POINTER(0) ); | 234 g_object_set_data( G_OBJECT(button_ok) , "bapply_pressed" , GUINT_TO_POINTER(0) ); |
235 if ( configwin_warnmsg != NULL ) | 235 if ( configwin_warnmsg != NULL ) |
236 { | 236 { |
237 gdk_window_raise( configwin_warnmsg->window ); | 237 gtk_window_present(GTK_WINDOW(configwin_warnmsg)); |
238 } | 238 } |
239 else | 239 else |
240 { | 240 { |
241 configwin_warnmsg = (GtkWidget*)i_message_gui( _("AMIDI-Plug message") , | 241 configwin_warnmsg = (GtkWidget*)i_message_gui( _("AMIDI-Plug message") , |
242 _("Please stop the player before changing AMIDI-Plug settings.") , | 242 _("Please stop the player before changing AMIDI-Plug settings.") , |