Commit graph

203 commits

Author SHA1 Message Date
Michael Terry
0a8669a5b5 Add Unity to OnlyShowIn fields
https://bugzilla.gnome.org/show_bug.cgi?id=653661
2011-06-30 12:44:52 +01:00
Bastien Nocera
b041e65955 sound: Fix direction of speaker test in RTL languages
https://bugzilla.gnome.org/show_bug.cgi?id=651273
2011-05-27 18:47:18 +01:00
Matthias Clasen
c6ed45a0dc Fix a11y/keynav issues in the sound panel
Add mnemonic to the 'Test Speaker' button, and add labelled-by
relations to the 'Test' buttons in the speaker test dialog.
2011-05-15 22:40:26 -04:00
Bastien Nocera
ce561eb68f sound: Prevent > 100% volume showing up as 100%
When the output of input bar changes from a non-decibel capable
output, to one that is (such as on startup), don't clip the
volume displayed at 100%, by setting the level of the bar again.

https://bugzilla.gnome.org/show_bug.cgi?id=646254
2011-04-08 16:12:56 +01:00
Matthias Clasen
01b639d64f Sound: Only autostart the applet in gnome
Other desktops don't appreciate the extra sound control.
https://bugzilla.gnome.org/show_bug.cgi?id=646987
2011-04-07 11:08:05 -04:00
Bastien Nocera
7280f14460 sound: Make sound applet work again in fallback
Seems to work fine without us trying to popdown the dock
by ourselves.

https://bugzilla.gnome.org/show_bug.cgi?id=646044
2011-03-31 13:08:29 +01:00
Cosimo Cecchi
5f3acad39a sound: make the volume icons smaller and center them properly in the bar
https://bugzilla.gnome.org/show_bug.cgi?id=646153
2011-03-29 22:14:38 -04:00
Bastien Nocera
cdbff7ba6a sound: Fallback if loading an inexistant custom theme
If the sound theme is set to be a custom sound theme, but it
does not exist, then we should fallback gracefully on the
default sound theme, and avoid warnings.

https://bugzilla.gnome.org/show_bug.cgi?id=645541
2011-03-23 18:40:31 +00:00
Bastien Nocera
d7e4369d40 shell: Add "-v" for verbose option to the shell
And remove it in the sound panel, so that all the panels
use the same verbose settings.

https://bugzilla.gnome.org/show_bug.cgi?id=645435
2011-03-23 18:39:05 +00:00
Bastien Nocera
bffcca76ff sound: Use GSettings for theme configuration
As we should really have been doing before.

https://bugzilla.gnome.org/show_bug.cgi?id=645527
2011-03-23 18:39:04 +00:00
Bastien Nocera
b7f42ae161 sound: Remove old support code for PA < 0.9.15 2011-03-14 22:23:22 +00:00
Florian Müllner
29b2b6cb05 sound: Add introspection info for new GIcon function 2011-03-11 16:29:39 +00:00
Colin Guthrie
a9555f52d0 sound: Use upstream value for amplified volume
In order to standardise various separate volume UIs,
upstream PulseAudio has made a new define available for the
recommended
maximum volume to show in UIs. This volume was chosen to be
similar to the value currently employed in gvc but also be
based on dB values rather than a multiple of PA_VOLUME_NORM.

The 150% value previously used mapped to +10.57dB with the
current cubic volume mapping. In the interests of sanity,
and with a tip of the hat to Spinal Tap, we decreed that the
value should be +11dB. This is approx 153% which is doesn't really
change the visual look of GVC.

I will also be recommending other volume controls use this new
value so everyone can use the mixer they want.

This one goes up to 11. :)

References:
https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-April/006945.html
https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-April/006950.html
http://en.wikipedia.org/wiki/Up_to_eleven

https://bugzilla.gnome.org/show_bug.cgi?id=644292
2011-03-11 16:29:39 +00:00
Bastien Nocera
83c681ee9e sound: Fix ordering of typedefs
When building without PulseAudio includes.
2011-03-11 16:29:39 +00:00
Matthias Clasen
31c90f3ad5 Sound: Fix scroll event handling of channel bars
Scrolling in any direction always went down. Very frustrating
experience...
https://bugzilla.gnome.org/show_bug.cgi?id=644462
2011-03-10 21:44:45 -05:00
Kjartan Maraas
2a92753d97 Use the right return type 2011-03-02 20:06:20 +01:00
Kjartan Maraas
73ceb9301a Use the right return type 2011-03-02 20:06:20 +01:00
Kjartan Maraas
ab453dc044 Initialize variable to avoid using uninitialized memory later 2011-03-02 20:06:20 +01:00
Matthias Clasen
8936c853c2 Fix a typo
The new AutostartCondition syntax is 'if-session', not 'is-session'.
2011-02-28 13:25:03 -05:00
Thomas Wood
e2f944a66a configure: Group pkg-config checks based on how they are used
Group the pkg-config checks so that pkg-config can remove duplicated CFLAGS
and LIBS.

https://bugzilla.gnome.org/show_bug.cgi?id=636593
2011-02-19 16:46:26 +00:00
William Jon McCann
ecc078edc1 sound: try using symbolic icons for range widgets
Since they replace texual descriptions of "low" / "high".

https://bugzilla.gnome.org/show_bug.cgi?id=614213
2011-02-18 16:33:34 -05:00
Matthias Clasen
174162ed96 Only autostart the sound applet in the fallback session
This uses new AutostartCondition support that just landed
in gnome-session.
2011-02-16 12:08:43 -05:00
Cosimo Cecchi
0132e4be37 all: make GCC stop complaining about set but unused variables 2011-02-04 15:43:40 -05:00
Matthias Clasen
6e848ce81a Fix up issues with the speaker test dialog
Set a parent on the dialog, and add a close button.
Also hide the resize grip (even though that should happen automatically).
https://bugzilla.gnome.org/show_bug.cgi?id=636898
2011-01-20 13:40:06 -05:00
Alban Browaeys
7dde087d47 Fix assert in gtkcellrenderer in sound output tab.
Gtk:ERROR:gtkcellrenderer.c:1661:gtk_cell_renderer_get_aligned_area: assertion failed:
 (aligned_area->x >= cell_area->x && aligned_area->x < cell_area->x + cell_area->width)
Was missing the icon cell content for the output tab.

https://bugzilla.gnome.org/show_bug.cgi?id=639280
2011-01-14 13:54:09 +00:00
Benjamin Otte
1dc763da8c sound: Don't set update policy
Update policies are gone from GTK. It was set to its default value
anyway, so the call was essentially a no-op.
2011-01-05 18:27:13 +01:00
Vincent Untz
ef78caee86 sound: Do not build with $DISABLE_DEPRECATED
This should not be active by default in tarballs, and it's the only
panel building with this.

If someone wants to use the DISABLE_*_DEPRECATED flags, then please add
support for this only when building from git.
2010-12-23 15:14:41 +01:00
Matthias Clasen
eb77b474a1 Make the sound panel build against recent GTK+
Switch to use GIO for launching preferences instead of gdk_spawn.
2010-12-22 11:14:34 -05:00
Thomas Wood
dfd897496b sound: Remove the reconnect timeout during the dispose of GvcMixerControl
Remove the reconnect timeout so that the callback function is not called
after the object has been destroyed.
2010-12-20 16:50:26 +00:00
Rodrigo Moya
5758cc07e6 sound: Add 'devices' icons dir to build 2010-11-29 14:32:04 +01:00
Rodrigo Moya
fea8fc045e sound: Add 'devices' icons dir to build 2010-11-29 14:27:42 +01:00
Rodrigo Moya
1e128627c3 sound: Add 'devices' icons dir to build 2010-11-29 14:25:05 +01:00
Rodrigo Moya
9efcba5bf3 sound: Add 'devices' icons dir to build 2010-11-29 14:22:12 +01:00
Bastien Nocera
325747abcc sound: Fix copy/paste error
When setting the default output programmitically.
2010-11-22 13:34:57 +00:00
William Jon McCann
4c06652dfc sound: remove window and button sounds checkbox 2010-11-21 21:37:26 -05:00
William Jon McCann
d2bacbfa59 sound: remove theme selection
Like appearance themes this is something that should move to
a tweakers paradise app.
2010-11-21 21:36:46 -05:00
William Jon McCann
e3367c92f0 Don't assume that get_preferred_* arguments can't be NULL
Fixes a crash introduced by f5f5aac5c0
2010-11-20 13:33:19 -05:00
Matthias Clasen
1865429130 sound: avoid initial resizing
The initial small size is due to a 'Connecting to sound system..."
label that is shown for a split second before the real UI comes in.
Better to just not do that, I think.
2010-11-19 14:08:35 -05:00
Javier Jardón
5c53a050f8 gvc-sound-theme-chooser: Replace size_request signal
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=635117
2010-11-19 17:39:12 +00:00
Bastien Nocera
342112ad51 sound: Remove radio buttons
I hate them, and they made switching the default input or output
too complicated, and probably very unaccessible.
2010-11-19 17:37:27 +00:00
Bastien Nocera
e6fc259fb0 Add headset icon
Icon from Hylke Bons, and Andreas Nilsson:
https://bugzilla.gnome.org/show_bug.cgi?id=581917
2010-11-19 16:23:32 +00:00
Bastien Nocera
744871943a Show icons for devices
Show device icons in the stream treeviews. Use GIcon
to get automatic fallback.

https://bugzilla.gnome.org/show_bug.cgi?id=581917
2010-11-19 16:23:32 +00:00
Bastien Nocera
d08cfeae5c sound: Make the level bar draw correctly again
The patch in
http://git.gnome.org/browse/gnome-media/commit/?id=5b71e80a54faf7bc8172bddccd74e2688435e571
was broken, as it didn't remove the translation that used to be
necessary when using ->expose_event, but not with ->draw.
2010-11-18 16:09:26 +00:00
Bastien Nocera
799b499082 sound: Make level bar descend from GtkWidget
As there's no need for it to descend from GtkHBox (it doesn't
actually contain anything).
2010-11-18 16:08:09 +00:00
Bastien Nocera
968d421083 sound: Simplify check_rectangle() macro
As the x and y never change.
2010-11-18 16:06:53 +00:00
Bastien Nocera
adc34ac019 sound: Avoid second warning when no theme
When the freedesktop sound theme isn't installed, avoid warnings
on startup above and beyond the existing one.
2010-11-18 15:21:27 +00:00
Bastien Nocera
c3926dbc03 sound: Remove dead code
The sound theme editor wasn't used, and wasn't going to be used.
2010-11-18 14:41:15 +00:00
Javier Jardón
9aa37efb15 gvc-level-bar: Replace size_request by get_preferred_width/height
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=635117
2010-11-18 14:34:07 +00:00
Bastien Nocera
032d6326d5 panels: Add keywords to all the panels we ship
https://bugzilla.gnome.org/show_bug.cgi?id=399754
2010-11-17 16:02:47 +00:00
Bastien Nocera
f052f0ad16 sound: Don't allow long profile names to resize toplevel
When profile names were overly long, the whole panel was wider than
before. This allows us to clip the combobox when not popped up, but
show the full text when it is, thus avoiding problems with some
profile names looking the same because of the missing end.

https://bugzilla.gnome.org/show_bug.cgi?id=613040
2010-11-16 18:04:39 +00:00