[Mplayer-cvslog] CVS: main/Gui/mplayer/gtk about.c,1.1,1.2

Zoltan Ponekker pontscho at mplayer.dev.hu
Wed Dec 19 17:53:38 CET 2001


Update of /cvsroot/mplayer/main/Gui/mplayer/gtk
In directory mplayer:/var/tmp.root/cvs-serv4693/Gui/mplayer/gtk

Modified Files:
	about.c 
Log Message:
nesze LGB beleirtalak igy ;)

Index: about.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/gtk/about.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- about.c	14 Nov 2001 16:04:25 -0000	1.1
+++ about.c	19 Dec 2001 16:53:34 -0000	1.2
@@ -30,7 +30,7 @@
   GtkWidget     * Ok;
 
   GtkStyle      * pixmapstyle;
-  GtkPixmap     * pixmapwid;
+  GdkPixmap     * pixmapwid;
   GdkBitmap     * mask;
 
   GtkAccelGroup * accel_group;
@@ -85,7 +85,7 @@
   gtk_container_add( GTK_CONTAINER( frame4 ),vbox1 );
 
   pixmapstyle=gtk_widget_get_style( About );
-  pixmapwid=gdk_pixmap_colormap_create_from_xpm_d( About->window,gdk_colormap_get_system(),&mask,&pixmapstyle->bg[GTK_STATE_NORMAL],(gchar ** )about_xpm );
+  pixmapwid=gdk_pixmap_colormap_create_from_xpm_d( About->window,gdk_colormap_get_system(),&mask,&pixmapstyle->bg[GTK_STATE_NORMAL],about_xpm );
   pixmap1=gtk_pixmap_new( pixmapwid,mask );
 
   gtk_widget_set_name( pixmap1,"pixmap1" );
@@ -156,7 +156,8 @@
                    "       ao_sun.c - Jürgen Keil\n\n" \
                    "Homepage:\n" \
                    "        Design:  Chass\n" \
-                   "        Contents: Gabucino\n\n" \
+                   "        Contents: Gabucino\n" \
+		   "                  LGB\n\n" \
                    "English documentation:\n" \
                    "        tech-*.txt: A'rpi\n" \
                    "        all the others: Gabucino\n\n" \
@@ -185,6 +186,8 @@
   gtk_widget_ref( hbuttonbox1 );
   gtk_object_set_data_full( GTK_OBJECT( About ),"hbuttonbox1",hbuttonbox1,
                            ( GtkDestroyNotify ) gtk_widget_unref );
+  gtk_widget_set_usize( hbuttonbox1,-2,25 );
+  gtk_button_box_set_child_size( GTK_BUTTON_BOX( hbuttonbox1 ),75,0 );
   gtk_widget_show( hbuttonbox1 );
   gtk_box_pack_start( GTK_BOX( vbox1 ),hbuttonbox1,FALSE,FALSE,0 );
 
@@ -194,7 +197,6 @@
   gtk_object_set_data_full( GTK_OBJECT( About ),MSGTR_Ok,Ok,( GtkDestroyNotify ) gtk_widget_unref );
   gtk_widget_show( Ok );
   gtk_container_add( GTK_CONTAINER( hbuttonbox1 ),Ok );
-  GTK_WIDGET_SET_FLAGS( Ok,GTK_CAN_DEFAULT );
 
   gtk_signal_connect( GTK_OBJECT( About ),"destroy",GTK_SIGNAL_FUNC( ab_Ok_released ),NULL );
   gtk_signal_connect( GTK_OBJECT( Ok ),"released",GTK_SIGNAL_FUNC( ab_Ok_released ),NULL );




More information about the MPlayer-cvslog mailing list