Commit graph

12031 commits

Author SHA1 Message Date
Richard Hughes
b48fc1b65c network: Add a GCancellable property to NetObject for future use 2012-07-17 10:21:26 +01:00
Richard Hughes
7fcc4666ac network: Set the correct page when using mobile broadband devices 2012-07-17 10:21:13 +01:00
Matthias Clasen
64150f1458 Avoid losing the selection
When the active input sources list is changed in any way (add or
remove or reorder a source), we write the list to the setting,
and then we get a changed signal for the setting, and rebuild
the list from the setting. Doing so loses the selection, unless
we take extra precaution to keep it.

https://bugzilla.gnome.org/show_bug.cgi?id=680027
2012-07-17 00:01:54 -04:00
Matthias Clasen
54835c8f44 Remove one more leftover reference to a filter model
The active input sources are no longer stored in a filter model.
Also, use gtk_list_store_insert_with_values for atomic insertion.
2012-07-16 23:59:03 -04:00
Bastien Nocera
ee32c358f1 shell: Don't handle shortcuts with excess modifiers
Ctrl+Alt+W shouldn't be handled the same way as Ctrl+W.

https://bugzilla.gnome.org/show_bug.cgi?id=675475
2012-07-16 18:05:04 +01:00
Olivier Fourdan
1fdfa6bc32 wacom: show calibration success
by drawing an "emblem-ok-symbolic" icon when calibration is
successful

https://bugzilla.gnome.org/show_bug.cgi?id=668610
2012-07-16 17:25:13 +01:00
Matthias Clasen
953cc81b0f Region: Remove references to a no-longer-existing filter model
There was some code left around for dealing with a filter model,
but we don't have the active input sources in a filtered list
anymore. This was leading to crashes when removing or rearranging
input sources.
2012-07-16 12:13:18 -04:00
Bastien Nocera
3b4f577652 shell: Fix not being able to assign Ctrl+Q to a shortcut
Because the shell window was capturing it before the key editing
cell had a change to get to it.

s/g_signal_connect/g_signal_connect_after/

https://bugzilla.gnome.org/show_bug.cgi?id=671448
2012-07-16 17:05:48 +01:00
Bastien Nocera
ab0594239c region: Fix compilation failure
A use of the removed tree_view_get_actual_model() crept in.
2012-07-16 17:05:48 +01:00
Piotr Drąg
bf710914be Updated POTFILES.in 2012-07-16 17:49:55 +02:00
Daniel Mustieles
5dd45a964d Updated Spanish translation 2012-07-16 16:43:23 +02:00
Bastien Nocera
661019dadc region: Remove unneeded signal blockers
The value isn't going to change from under us, as the settings
object is in delayed mode.
2012-07-16 15:24:23 +01:00
Rui Matos
3579d7bb97 region: Try to keep the current input source when modifying the list
When modifying the input sources list the currently active source's
index might change. We must change the current setting accordingly to
keep it active.

https://bugzilla.gnome.org/show_bug.cgi?id=662489
2012-07-16 15:23:37 +01:00
Rui Matos
49f7d379bc region: Fix a couple of memory leaks
Unref the GSettings object and build the GnomeXkbInfo only
once. There's no need to free and keep rebuilding the latter since it
doesn't keep any state and is a bit expensive to build.

https://bugzilla.gnome.org/show_bug.cgi?id=662489
2012-07-16 15:18:33 +01:00
Bastien Nocera
03f08fd36c region: Never hide items from view
If IBus is unavailable to get the input source's display name,
just show the ID instead, and populate the display name when we get
a change (eg. when fetching the input sources from IBus is done).
2012-07-16 15:17:24 +01:00
Rui Matos
5e737900b0 region: Wire up the input source settings button
For XKB input sources the settings button remains unsensitive. For
IBus sources we make it sensitive and launch the engine's setup tool
on clicked if there is one.

https://bugzilla.gnome.org/show_bug.cgi?id=662489
2012-07-16 15:17:24 +01:00
Rui Matos
412e53079f region: Add IBus input sources
We query IBus for the available engines and present them alongside XKB
layouts.

https://bugzilla.gnome.org/show_bug.cgi?id=662489
2012-07-16 15:17:24 +01:00
Marek Kasik
7ae3027b47 printer: Add "Options" dialog
Add Options dialog which allows users to set more options than current dialog.
The dialog reads printer's PPD file and add its options to the dialog together
with some preselected IPP options (#678637).
All operations in the dialog are asynchronous.
During implementation of this, the option for setting allowed users was removed
because this is not suitable for this panel (the option is intended for
administrators).
2012-07-16 15:26:33 +02:00
Richard Hughes
e61ec214b0 network: Ensure to install the VPN .ui file 2012-07-16 14:08:25 +01:00
Marek Kasik
dd7479caea printers: Allow users to change printer's PPD file
This commit adds popup window which when activated allows
user to select PPD from local database of installed PPDs,
select directly PPD from filesystem or select one from 3
recommended PPDs (#678637).
The popup is activated by clicking on model field (the panel
has to be unlocked). It starts to search for the best PPDs
available immediately after its popup.
All operations are asynchronous.
2012-07-16 13:53:40 +02:00
Cosimo Cecchi
1b3e877ef2 shell: remove CcStrengthBar
Panels are all ported to GtkLevelBar instead.

https://bugzilla.gnome.org/show_bug.cgi?id=679984
2012-07-16 11:29:26 +01:00
Cosimo Cecchi
dfe03a1173 user-accounts: port to GtkLevelBar
This also adds another out parameter to pw_strength(), which is a discrete
indication of the password strength (to be used with GtkLevelBar). The
advantage of having such a parameter back from pw_strength() is that we
can make sure the fill value and the hint string change at the same
time, for better consistency.

https://bugzilla.gnome.org/show_bug.cgi?id=679984
2012-07-16 11:29:25 +01:00
Cosimo Cecchi
b05591b165 power: port to GtkLevelBar
https://bugzilla.gnome.org/show_bug.cgi?id=679984
2012-07-16 11:29:25 +01:00
Ihar Hrachyshka
38411a0d46 Updated Belarusian translation. 2012-07-15 12:10:30 +03:00
Chao-Hsiung Liao
59c159da2b Updated Traditional Chinese translation(Hong Kong and Taiwan) 2012-07-14 13:54:46 +08:00
Piotr Drąg
118d5c276d Updated POTFILES.in 2012-07-12 22:23:22 +02:00
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
a995cfac99 build: Require PulseAudio 2.0 for the sound changes 2012-07-11 16:35:38 +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
Bastien Nocera
0d4aa158d8 build: Require newer gsettings-desktop-schemas 2012-07-11 11:01:11 +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