Commit graph

2214 commits

Author SHA1 Message Date
Richard Hughes
0a98c5a921 network: Provide a vfunc for refreshing a NetObject 2012-07-12 17:29:47 +01:00
Richard Hughes
8384a0b741 network: Split the VPN parts from the .c and .ui file 2012-07-12 16:58:11 +01:00
Richard Hughes
ddabc6049f network: Add a vfunc so a NetObject can be deleted
We will only support this for VPN 'devices' but it seemed a cleaner abstraction this way.
2012-07-12 16:55:20 +01:00
Richard Hughes
eeecc61d05 network: Share a NMClient instance between NetObjects
Creating a NMClient is expensive and slow. This will be used in future code.
2012-07-12 16:35:06 +01:00
Richard Hughes
c26e14518e network: Split the proxy parts from the .c and .ui file
A source file with 4k lines of code is not understandable, and the glade file
was becoming quite a challenge for glade.
To add more features we need to split things up just to keep them maintainable.

This is the first patch that just splits out the proxy bits. Other device types
will follow in the next few days.
2012-07-12 14:09:24 +01:00
Richard Hughes
298489ee16 network: Add a boolean 'removable' property to NetObject for future use
Also add GObject getters and setters for the other two properties.
2012-07-12 14:00:40 +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
Bastien Nocera
4d4aab542a Revert "Brightness & Lock: add Show Notifications setting"
This reverts commit 11ad5954c6.

Committed in error
2012-07-11 11:06:34 +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
Giovanni Campagna
11ad5954c6 Brightness & Lock: add Show Notifications setting
Add a switch to control the visibility of notifications when
the screen is locked.

https://bugzilla.gnome.org/show_bug.cgi?id=658660
2012-07-11 11:01:11 +01:00
Olivier Fourdan
836755f593 wacom: Update from gnome-settings-daemon 2012-07-05 18:27:56 +02:00
Olivier Fourdan
3083fda606 wacom: Destroy display mapping dialogue on unplug
https://bugzilla.gnome.org/show_bug.cgi?id=679159
2012-07-04 14:48:54 +02:00
Rui Matos
13b64e0486 keyboard: Plug a GSettings object leak
Also, rename the variable holding it since there are other 'settings'
variables in the same file.

https://bugzilla.gnome.org/show_bug.cgi?id=679328
2012-07-03 16:56:47 +02:00
Rico Tzschichholz
f2df6d7fbb user-accounts: Fix build with -Werror=format-security 2012-07-03 13:54:38 +02:00
Olivier Fourdan
1612735104 wacom: apply display rotation to device
When an output is mapped to a device, match the device rotation
with the output (bug #676170)
2012-07-03 11:50:36 +02:00
Olivier Fourdan
62f34db332 wacom: Update from gnome-settings-daemon 2012-07-03 11:49:36 +02:00
Matthias Clasen
75e74cc09b network: Use g_clear_object where appropriate
Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-28 17:04:54 +01:00
Matthias Clasen
b154ebd1d6 network: Remove redundant returns
https://bugzilla.gnome.org/show_bug.cgi?id=678158

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-28 17:04:40 +01:00
Matthias Clasen
31cd509a75 network: Sort access points by strength
Keep the active network at the top, and 'Other' at the bottom.
the other access points are sorted by strength now.
https://bugzilla.gnome.org/show_bug.cgi?id=678505

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-28 13:54:13 +01:00
Matthias Clasen
dcb34090cc network: avoid crashes due to leftover signal handlers
The libnm objects can survive the disposal of the network panel.
If we don't disconnect the signal handlers on them, bad things
can happen. Use g_signal_connect_object to tie the life-cycle
of the signal handlers to the panel.
https://bugzilla.gnome.org/show_bug.cgi?id=677969

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-28 13:46:03 +01:00
Richard Hughes
6689012eb8 network: Show multiple connections in the mobile broadband panel
Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=647170
2012-06-28 13:43:58 +01:00
Richard Hughes
f0b88883d0 network: Increase the amount of debugging for mobile-bb 2012-06-28 13:42:44 +01:00
Richard Hughes
59b7500fb6 network: Don't try to show a wizard that failed to setup
This fixes a critical warning when mobile-broadband-provider-info isn't
installed into the correct prefix.
2012-06-28 13:41:33 +01:00
Richard Hughes
fd059a2d14 network: Don't try to set the mobile broadband speed widgets
This fixes a critical warning when using mobile broadband adaptors.
2012-06-28 13:40:08 +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
49e3d8b4ce wacom: Update from gnome-settings-daemon 2012-06-27 10:59:11 +01:00
Bastien Nocera
ba5aea5ef7 wacom: Update from gnome-settings-daemon 2012-06-26 16:33:45 +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
Debarshi Ray
8138227ae3 online-accounts: Improve the layout when there is no configured account
Use a GtkButton instead of a GtkLabel to incite the user to configure
a new account, and insensitize the GtkBox on the left.

Fixes: https://bugzilla.gnome.org/672421
2012-06-25 16:18:39 +02: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
Stef Walter
973adfa43b user-accounts: Update the realmd dbus interface to latest
The changes in the realmd dbus interface are futureproofing to
support cancellation.

In addition during this time of interface flux, check the
daemon version number to make sure we can talk to it.

https://bugzilla.gnome.org/show_bug.cgi?id=678105
2012-06-22 16:29:51 +02:00
Debarshi Ray
c920ba6d4f online-accounts: The treeview should be in BROWSE mode and not SINGLE
This ensures that if there are configured accounts, then atleast one
of them will stay selected.

Fixes: https://bugzilla.gnome.org/672421
2012-06-21 14:48:51 +02:00
Debarshi Ray
651431dd83 online-accounts: We might have an object even when the error is set
Fixes: https://bugzilla.gnome.org/674165
2012-06-20 15:05:26 +02:00
Luca Ferretti
4f935ad4bd backgrounds: add translation context for background sytles 2012-06-20 11:40:50 +02:00
Luca Ferretti
9d002d98fd universal-access: add translator context for Zoom label 2012-06-20 11:40:15 +02:00
Olivier Fourdan
22ea414271 wacom: Update from gnome-settings-daemon 2012-06-19 15:42:45 +02:00