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
Bastien Nocera
3686cf7eb8
shell: Make all control-center plugins static
...
This makes loading faster, with less I/O, avoids unnecessary
code duplication (around 1k lines shaved), and ensures that
all the panels link and work appropriately.
By the same token, it will stop external panels from being
created, and loaded.
https://bugzilla.gnome.org/show_bug.cgi?id=690036
2012-12-11 17:07:39 +01:00
Bastien Nocera
139c9888b5
sound: Dim the low/high icons associated with volume sliders
...
https://bugzilla.gnome.org/show_bug.cgi?id=689636
2012-12-06 16:25:15 +01:00
Giovanni Campagna
f1812b2707
Use libgnome-volume-control from a submodule
...
To be shared with gnome-settings-daemon and gnome-shell
https://bugzilla.gnome.org/show_bug.cgi?id=686488
2012-11-27 11:35: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
94506721aa
sound: Remove fallback applet
...
As fallback is now gone. #fallback
https://bugzilla.gnome.org/show_bug.cgi?id=682861
2012-11-09 15:58:51 +01:00
Bastien Nocera
401274cee6
sound: Clarify "sound events"
...
"Event sounds" is clearer.
https://bugzilla.gnome.org/show_bug.cgi?id=687564
2012-11-06 11:14:19 +01:00
Matthias Clasen
fb8b858cba
sound: Flip the input level bar in RTL languages
...
https://bugzilla.gnome.org/show_bug.cgi?id=684603
2012-09-25 13:12:26 +02:00
Bastien Nocera
b0dcb29857
sound: The angry flower read the comments again
2012-08-28 11:49:23 +01:00
Bastien Nocera
5b8509088c
sound: Spell "Can't" properly in debug
2012-08-28 11:49:23 +01:00
Ray Strode
b0e7a5efa8
panels: add register macro
...
Bastien says he doesn't like the blank class_finalize
functions in every panel and he would like a wrapper
macro to hide them.
This commit does that.
2012-08-21 14:32:33 -04: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
Bastien Nocera
e34dd3bb83
sound: Fix incorrectly documented return type
...
gvc_mixer_control_get_stream_from_device returns a GvcMixerStream,
not a container that contains one of those.
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
db8ee1eabe
sound: Make speaker test work for sinks without card
...
By speaker-test taking a stream/sink instead of card as
parameter, it can be used for outputs that don't have cards
(e g network sinks).
https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-08-21 17:43:26 +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
Bastien Nocera
89fbf2b35b
sound: Use PulseAudio's implementation of pa_cvolume_set_position()
2012-07-11 16:26:28 +01:00
Bastien Nocera
3cf252f4f0
sound: Remove support code for older PulseAudio
...
our define of PA_VOLUME_UI_MAX was only needed for PA 0.9.22 and older.
2012-07-11 16:24:53 +01:00
Conor Curran
1dfd464a59
sound: Add support for GvcMixerUIDevices in GvcMixerControl
...
https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-07-11 16:20:47 +01:00
Bastien Nocera
3201240eee
sound: Add more debug
2012-07-11 16:20:44 +01:00
Conor Curran
2a567809a2
sound: Add "available" member to GvcMixerStreamPort
...
https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-07-11 16:20:40 +01:00
Bastien Nocera
6135c964a7
sound: Add gvc_mixer_ui_device_get_active_profile() helper
...
https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-07-11 16:20:36 +01:00
Bastien Nocera
0489296c33
sound: Fix indentation
2012-07-11 16:20:36 +01:00
Conor Curran
e32a02e2dd
sound: Make sort_profiles public
...
And rename it to gvc_mixer_card_profile_compare()
https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-07-11 16:20:32 +01:00
Conor Curran
e5e7080e4e
sound: Add get_gicon() function to GvcMixerCard
...
https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-07-11 12:28:52 +01:00
Bastien Nocera
4da83052d2
sound: Indentation in gvc-mixer-card.h
2012-07-11 12:25:31 +01:00
Conor Curran
fd75ccd894
sound: Expose ports in GvcMixerCard
...
https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-07-11 12:25:17 +01:00
Conor Curran
db6afc8266
sound: Add new UIDevice object
...
GvcMixerUIDevice objects correspond to an item on either the input
or output tab - typically "Headphones", "Speaker", "Internal Mic" etc.
https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-07-11 12:04:08 +01:00
Bastien Nocera
e2a75e76c2
sound: Remove unused eol parameter
2012-07-11 11:21:18 +01:00
David Henningsson
ca29f85201
sound: Fixup "set default source" patch
...
The previous commit introduced a segfault due to referencing a
NULL pointer.
https://bugzilla.gnome.org/show_bug.cgi?id=674925
2012-07-11 11:04:14 +01:00
David Henningsson
fe69f4f135
sound: Move running input streams when default source is changed
...
When changing the default input source, active recording streams
are not moved. This patch will fix that, which will make input
and output behaviour consistent.
As a bonus, it will not destroy pulseaudio's input database when
changing default sink anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=674925
2012-06-27 16:13:47 +01:00
Bastien Nocera
25708e9c8e
sound: Make sure the event sound stream stays unmuted
...
Apply mute changes to the stream straight away so that we don't get a
race with gvc_mixer_event_role_push_volume().
See https://bugs.freedesktop.org/show_bug.cgi?id=51413 for details.
https://bugzilla.gnome.org/show_bug.cgi?id=677478
2012-06-25 16:38:16 +01:00
Matthias Clasen
bb531687ca
sound: Fix mouse scrolls on sliders
...
Use gdk_event_get_scroll_deltas() to get the scroll direction.
https://bugzilla.gnome.org/show_bug.cgi?id=671724
2012-06-25 13:41:31 +01:00
Bastien Nocera
75cc274a3b
sound: Fix use of deprecated gtk_vscale_new()
2012-06-25 13:33:31 +01:00
Bastien Nocera
9859ffbc27
sound: Remove left-click behaviour work-around
...
https://bugzilla.gnome.org/show_bug.cgi?id=678598
2012-06-25 13:33:31 +01:00
Bastien Nocera
e9288acf1c
sound: Add audio keyword
...
https://bugzilla.gnome.org/show_bug.cgi?id=678303
2012-06-18 11:05:19 +01:00
Florian Müllner
45b793848f
sound: Add get_help_uri() implementation
...
https://bugzilla.gnome.org/show_bug.cgi?id=675471
2012-05-18 18:48:38 +02:00
Robert Ancell
01f7545df2
sound: Stop using deprecated gtk_hscale_new
...
https://bugzilla.gnome.org/show_bug.cgi?id=669622
2012-02-08 12:11:02 +00: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
ca0f4b204b
sound: Scrolling on balance only works for right
...
We used to use 0.0 as the lower bound value but the lower bound
value is -1.0, which means "all the way to the left" for right-left
balance.
Spotted by Jo-Erlend Schinstad
https://bugzilla.gnome.org/show_bug.cgi?id=668315
2012-01-23 21:12:19 +00:00
Guillaume Desmottes
d0db3c96e2
gvc-level-bar: fix shadow global declaration warnings
...
Those variables are already defined in some headers (like bits/math-finite.h)
making gcc unhappy.
https://bugzilla.gnome.org/show_bug.cgi?id=666240
2012-01-09 10:57:17 +00:00
Guillaume Desmottes
5568917080
gvc-level-bar: define priv->scale as a GvcLevelScale
...
That's cleaner and fix a sign-compare warning in gcc.
https://bugzilla.gnome.org/show_bug.cgi?id=666240
2012-01-09 10:57:17 +00:00
Florian Müllner
4cd7b6c6dc
.desktop: Drop prefix from X-GNOME-Keywords
...
The field has now been included in the spec, so use the standardized
name.
2011-12-19 16:26:40 +01:00
Bastien Nocera
a8e2bbfdc6
sound: Port audible-bell to GSettings
...
Now that metacity and mutter have been ported to GSettings
https://bugzilla.gnome.org/show_bug.cgi?id=625899
2011-11-14 10:50:13 +00:00
Bastien Nocera
6665b60422
panels: Update for Shell API changes
2011-11-07 18:03:14 +00:00
Bastien Nocera
b202b0a9b3
sound: Export sysfs path in stream properties
...
Which makes it easier to locate devices in the UDev tree.
2011-11-03 17:56:29 +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
f625fbbb59
sound: Fix possible infinite loop in combo box
2011-10-20 16:10:06 +01:00