From: Steve B. <sb...@us...> - 2002-06-10 19:08:08
|
CVS Root: /cvsroot/gstreamer Module: gst-player Changes by: sbaker3 Date: Mon Jun 10 2002 12:08:07 PDT Log message: lest the seek slider be confused with the volume slider. I'm sure we can make this prettier over time Modified files: libs/gst/player : Makefile.am gstcontrol.c Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gst-player/libs/gst/player/Makefile.am.diff?r1=1.15&r2=1.16 http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gst-player/libs/gst/player/gstcontrol.c.diff?r1=1.16&r2=1.17 ====Begin Diffs==== Index: Makefile.am =================================================================== RCS file: /cvsroot/gstreamer/gst-player/libs/gst/player/Makefile.am,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- Makefile.am 9 Jun 2002 16:22:24 -0000 1.15 +++ Makefile.am 10 Jun 2002 19:07:55 -0000 1.16 @@ -16,6 +16,7 @@ gstmediainfo.c \ gstcontrol.c \ utils.c \ + lcdhscale.c \ gstplaylist.c libgstplayerincludedir = $(includedir)/gst @@ -39,6 +40,7 @@ gstmediainfo.h \ gstcontrol.h \ utils.h \ + lcdhscale.h \ gstplaylist.h gstplayer-marshal.h: gstplayer-marshal.list Index: gstcontrol.c =================================================================== RCS file: /cvsroot/gstreamer/gst-player/libs/gst/player/gstcontrol.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- gstcontrol.c 10 Jun 2002 16:55:29 -0000 1.16 +++ gstcontrol.c 10 Jun 2002 19:07:55 -0000 1.17 @@ -3,6 +3,7 @@ #include "gstcontrol.h" #include "stockicons.h" #include "utils.h" +#include "lcdhscale.h" struct _GstControlPrivate { GtkWidget *fixed; @@ -275,7 +276,7 @@ gtk_box_pack_start (GTK_BOX (control), priv->fixed, TRUE, TRUE, 0); priv->adjustment_seek = G_OBJECT (gtk_adjustment_new (0.0, 0.0, 1.0, 0.1, 0.10, 0.10)); - priv->hscale_seek = gtk_hscale_new (GTK_ADJUSTMENT (priv->adjustment_seek)); + priv->hscale_seek = lcd_hscale_new (GTK_ADJUSTMENT (priv->adjustment_seek)); gtk_scale_set_draw_value (GTK_SCALE (priv->hscale_seek), FALSE); gtk_fixed_put (GTK_FIXED (priv->fixed), priv->hscale_seek, 60, 13); gtk_widget_set_usize (priv->hscale_seek, 231, 17); |