Commit graph

13 commits

Author SHA1 Message Date
Robert Ancell
43129a1cfd sound: Use G_DEFINE_TYPE 2017-09-26 21:09:56 -04:00
Rui Matos
70c33f473a sound: Fix deprecated API usage
https://bugzilla.gnome.org/show_bug.cgi?id=740986
2014-12-05 16:23:07 +01:00
Debarshi Ray
fa35a97fb2 sound: Use GtkBox instead of GtkHBox
We need to account for the fact that unlike GtkHBox, GtkBox does not
expand the child in gtk_container_add.

https://bugzilla.gnome.org/show_bug.cgi?id=732624
2014-07-02 17:44:51 +02:00
Daniel Mustieles
2c5951819d Updated FSF's address 2014-01-29 11:27:38 +01:00
Cosimo Cecchi
0a083ca973 sound: set has-origin = FALSE for the balance bar scale
The scale here is used for Left<->Right, so it doesn't have an origin.

https://bugzilla.gnome.org/show_bug.cgi?id=692238
2013-01-22 10:01:41 -05:00
Cosimo Cecchi
9b0a509966 sound: remove old GTK2 styling code
gtk_rc_parse_string() doesn't do anything these days, and we don't need
a name on the widget anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=692238
2013-01-22 10:01:40 -05:00
Bastien Nocera
89fbf2b35b sound: Use PulseAudio's implementation of pa_cvolume_set_position() 2012-07-11 16:26:28 +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
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
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
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
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