Commit graph

26 commits

Author SHA1 Message Date
Matthias Clasen
3d27d8caaf shell: Fittsify panels
Make it possible for panels to go all the way to the edge of the
shell. This is particularly important for panels that scroll, such
as the new power panel. All other panels are changed to compensate
for the loss of external padding.

https://bugzilla.gnome.org/show_bug.cgi?id=691229
2013-01-07 10:51:29 +01:00
David Henningsson
4da83dbba8 sound: Don't crash if pa_stream_peek returns NULL
pa_stream_peek can return NULL, even though it's unusual. In the upcoming
version of PulseAudio this has been clarified in the documentation.

In that case, don't crash, just call pa_stream_drop so that the
pointer moves forward.

https://bugzilla.gnome.org/show_bug.cgi?id=689079
2012-11-27 11:03:15 +01:00
Bastien Nocera
5b8509088c sound: Spell "Can't" properly in debug 2012-08-28 11:49:23 +01:00
Bastien Nocera
8c7632e66e sound: Avoid use-after-free of destroyed streams
When switching between 2 outputs that share the same device with
different connector types, the old stream is destroyed, and a new one
with the new connector type created.

We were generating warnings because the old stream was destroyed, and
we were trying to access it. Instead we should remove the reference
to that old stream from the GvcLevelBars used for output and input
levels.
2012-08-21 17:43:27 +01:00
David Henningsson
4513207bfb sound: Remove hardware tab
Since the output and input tabs now offer the possibility to select
profile, we can remove the hardware tab completely.

https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-08-21 17:43:27 +01:00
David Henningsson
ac2a8ced05 sound: Move "Test speakers" to the output tab
Test speakers will now test the speakers of the active output on
the output tab.

https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-08-21 17:43:27 +01:00
David Henningsson
b3fe98e7c1 sound: Make the dialog UI use GvcMixerUIDevice
The input and output treeview now represent GvcMixerUIDevices,
not sinks and sources. Also turn the connector combobox into a
profile combobox.

https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-08-21 17:43:26 +01:00
Robert Ancell
fb88ac92ba sound: Stop using deprecated gtk_hbox_new/gtk_vbox_new
https://bugzilla.gnome.org/show_bug.cgi?id=669619
2012-02-08 12:11:02 +00:00
Antoine Jacoutot
2c57a2896c sound: fix a couple of implicit declarations
Include math.h to prevent implicit/incompatible declarations on round(3).

https://bugzilla.gnome.org/show_bug.cgi?id=669025
2012-01-30 14:12:23 +00:00
Bastien Nocera
d453a9841d sound: Add a minimum height for the output list
Combined with the changes to the output list to only
use a single line instead of multi-line status, this should
make it easier to see multiple devices listed.

https://bugzilla.gnome.org/show_bug.cgi?id=660582
2011-10-24 14:41:44 +01:00
Bastien Nocera
eeffc8e385 sound: Remove unused variable 2011-09-08 17:00:58 +01:00
Bastien Nocera
53f86cca2c sound: Don't use multiple lines in the output selection
https://bugzilla.gnome.org/show_bug.cgi?id=642033
2011-09-07 18:09:38 +01:00
Bastien Nocera
1792220c20 sound: Reorder the panel pages
So that the oft used page is the first one in the list.
2011-09-07 17:48:51 +01:00
Bastien Nocera
9c530a43e2 sound: Fix sizing of sliders 2011-08-26 23:12:31 +01:00
Bastien Nocera
dde5d76045 sound: Don't warn without a sizegroup
Makes it easier to disable the sizegroup to debug layout problems
2011-08-26 23:03:59 +01:00
Bastien Nocera
3406d2bd47 sound: Remove trailing spaces in strings
https://bugzilla.gnome.org/show_bug.cgi?id=657169
2011-08-25 17:30:08 +01:00
Bastien Nocera
ec0c15e7e1 sound: Make hadware page tree a little taller
By default.
2011-07-14 23:28:17 +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
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
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
Bastien Nocera
325747abcc sound: Fix copy/paste error
When setting the default output programmitically.
2010-11-22 13:34:57 +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
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
William Jon McCann
6638e984ca Initial import of sound panel
Copied from gnome-media.  See that module for git history.
2010-10-30 14:48:55 -04:00