diff options
author | Bastien Nocera <hadess@hadess.net> | 2008-09-10 10:32:20 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@src.gnome.org> | 2008-09-10 10:32:20 +0000 |
commit | fa50f209cbccb8b7759c1947b50d0b204287f215 (patch) | |
tree | efb6a7222f3266eecc7f27dedd03fd83af44b8d8 | |
parent | f0b10b922c19d66359f6abad656a4e1de2855565 (diff) | |
download | totem-fa50f209cbccb8b7759c1947b50d0b204287f215.tar.gz |
Add schemas for the visuals quality and connection speed settings, patch
2008-09-10 Bastien Nocera <hadess@hadess.net>
* data/totem.schemas.in: Add schemas for the visuals
quality and connection speed settings, patch from
Eric Piel <e.a.b.piel@tudelft.nl> (Closes: #535505)
* src/backend/bacon-video-widget.h: Force the first item
of the visuals quality enum to be 0
svn path=/trunk/; revision=5663
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | data/totem.schemas.in | 40 | ||||
-rw-r--r-- | src/backend/bacon-video-widget.h | 2 |
3 files changed, 49 insertions, 1 deletions
@@ -1,3 +1,11 @@ +2008-09-10 Bastien Nocera <hadess@hadess.net> + + * data/totem.schemas.in: Add schemas for the visuals + quality and connection speed settings, patch from + Eric Piel <e.a.b.piel@tudelft.nl> (Closes: #535505) + * src/backend/bacon-video-widget.h: Force the first item + of the visuals quality enum to be 0 + 2008-09-09 Bastien Nocera <hadess@hadess.net> * data/mime-type-list.txt: diff --git a/data/totem.schemas.in b/data/totem.schemas.in index 79ba26e34..179178fca 100644 --- a/data/totem.schemas.in +++ b/data/totem.schemas.in @@ -97,6 +97,30 @@ </schema> <schema> + <key>/schemas/apps/totem/connection_speed</key> + <applyto>/apps/totem/connection_speed</applyto> + <owner>totem</owner> + <type>int</type> + <default>11</default> + <locale name="C"> + <short>Network connection speed</short> + <long>Approximate network connection speed, used to select quality on media over the network: + "0" for 14.4 Kbps Modem, + "1" for 19.2 Kbps Modem, + "2" for 28.8 Kbps Modem, + "3" for 33.6 Kbps Modem, + "4" for 34.4 Kbps Modem, + "5" for 56 Kbps Modem/ISDN, + "6" for 112 Kbps Dual ISDN/DSL, + "7" for 256 Kbps DSL/Cable, + "8" for 384 Kbps DSL/Cable, + "9" for 512 Kbps DSL/Cable, + "10" for 1.5 Mbps T1/Intranet/LAN, + "11" for Intranet/LAN.</long> + </locale> + </schema> + + <schema> <key>/schemas/apps/totem/repeat</key> <applyto>/apps/totem/repeat</applyto> <owner>totem</owner> @@ -174,6 +198,22 @@ </schema> <schema> + <key>/schemas/apps/totem/visual_quality</key> + <applyto>/apps/totem/visual_quality</applyto> + <owner>totem</owner> + <type>int</type> + <default>0</default> + <locale name="C"> + <short>Visualisation quality setting</short> + <long>Quality settings for the audio visualization: + "0" for small, + "1" for normal, + "2" for large, + "3" for extra large.</long> + </locale> + </schema> + + <schema> <key>/schemas/apps/totem/volume</key> <applyto>/apps/totem/volume</applyto> <owner>totem</owner> diff --git a/src/backend/bacon-video-widget.h b/src/backend/bacon-video-widget.h index 3978859f5..93bb12228 100644 --- a/src/backend/bacon-video-widget.h +++ b/src/backend/bacon-video-widget.h @@ -213,7 +213,7 @@ void bacon_video_widget_get_metadata (BaconVideoWidget *bvw, /* Visualisation functions */ typedef enum { - VISUAL_SMALL, + VISUAL_SMALL = 0, VISUAL_NORMAL, VISUAL_LARGE, VISUAL_EXTRA_LARGE, |