totem r5663 - in trunk: . data src/backend
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5663 - in trunk: . data src/backend
- Date: Wed, 10 Sep 2008 10:32:20 +0000 (UTC)
Author: hadess
Date: Wed Sep 10 10:32:20 2008
New Revision: 5663
URL: http://svn.gnome.org/viewvc/totem?rev=5663&view=rev
Log:
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
Modified:
trunk/ChangeLog
trunk/data/totem.schemas.in
trunk/src/backend/bacon-video-widget.h
Modified: trunk/data/totem.schemas.in
==============================================================================
--- trunk/data/totem.schemas.in (original)
+++ trunk/data/totem.schemas.in Wed Sep 10 10:32:20 2008
@@ -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>
Modified: trunk/src/backend/bacon-video-widget.h
==============================================================================
--- trunk/src/backend/bacon-video-widget.h (original)
+++ trunk/src/backend/bacon-video-widget.h Wed Sep 10 10:32:20 2008
@@ -213,7 +213,7 @@
/* Visualisation functions */
typedef enum {
- VISUAL_SMALL,
+ VISUAL_SMALL = 0,
VISUAL_NORMAL,
VISUAL_LARGE,
VISUAL_EXTRA_LARGE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]