comparison gui/dialog/msgbox.c @ 36053:7affacef2f88

Define "MPlayer" string.
author ib
date Thu, 04 Apr 2013 11:47:39 +0000
parents caf1f563e0ee
children d8c696db2948
comparison
equal deleted inserted replaced
36052:caf1f563e0ee 36053:7affacef2f88
17 */ 17 */
18 18
19 #include <string.h> 19 #include <string.h>
20 20
21 #include "gui/app/app.h" 21 #include "gui/app/app.h"
22 #include "gui/app/gui.h"
22 #include "help_mp.h" 23 #include "help_mp.h"
23 24
24 #include "pixmaps/error.xpm" 25 #include "pixmaps/error.xpm"
25 #include "pixmaps/warning.xpm" 26 #include "pixmaps/warning.xpm"
26 27
58 gtk_widget_set_events( MessageBox,GDK_EXPOSURE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_VISIBILITY_NOTIFY_MASK ); 59 gtk_widget_set_events( MessageBox,GDK_EXPOSURE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_VISIBILITY_NOTIFY_MASK );
59 gtk_window_set_title( GTK_WINDOW( MessageBox ),"MPlayer ..." ); 60 gtk_window_set_title( GTK_WINDOW( MessageBox ),"MPlayer ..." );
60 gtk_window_set_position( GTK_WINDOW( MessageBox ),GTK_WIN_POS_CENTER ); 61 gtk_window_set_position( GTK_WINDOW( MessageBox ),GTK_WIN_POS_CENTER );
61 gtk_window_set_modal( GTK_WINDOW( MessageBox ),TRUE ); 62 gtk_window_set_modal( GTK_WINDOW( MessageBox ),TRUE );
62 gtk_window_set_policy( GTK_WINDOW( MessageBox ),TRUE,TRUE,FALSE ); 63 gtk_window_set_policy( GTK_WINDOW( MessageBox ),TRUE,TRUE,FALSE );
63 gtk_window_set_wmclass( GTK_WINDOW( MessageBox ),"Message","MPlayer" ); 64 gtk_window_set_wmclass( GTK_WINDOW( MessageBox ),"Message",MPlayer );
64 65
65 gtk_widget_realize( MessageBox ); 66 gtk_widget_realize( MessageBox );
66 gtkAddIcon( MessageBox ); 67 gtkAddIcon( MessageBox );
67 68
68 vbox1=gtkAddVBox( gtkAddDialogFrame( MessageBox ),0 ); 69 vbox1=gtkAddVBox( gtkAddDialogFrame( MessageBox ),0 );