Commit graph

3963 commits

Author SHA1 Message Date
Matthias Clasen
93427f8b35 network: Stop "gateway" entry from becoming too wide
https://bugzilla.gnome.org/show_bug.cgi?id=732974
2015-04-21 14:29:33 +02:00
Bastien Nocera
98221832a8 network: Stop "Bridge slaves" entry from becoming too wide
https://bugzilla.gnome.org/show_bug.cgi?id=732974
2015-04-21 14:29:33 +02:00
Marek Kasik
30a743a94c printers: Update printer options correctly
Set 'ppd_filename_set' and 'destination_set' always to FALSE
before requesting the destination and updated PPD file so we can
distinguish when we have all information needed for update
of the PpPPDOptionWidget.

https://bugzilla.redhat.com/show_bug.cgi?id=1211580
2015-04-16 15:14:07 +02:00
Ondrej Holy
afe0a62267 user-accounts: show restart notification when account type changed
https://bugzilla.gnome.org/show_bug.cgi?id=674429
2015-04-15 16:27:24 +02:00
Ondrej Holy
b1f3f3e458 mouse: Fix tap-to-click toggle sensitivity with libinput
Set tap_to_click_toggle sensitive if there is any device which supports
tapping.

https://bugzilla.gnome.org/show_bug.cgi?id=745601
2015-04-15 15:33:44 +02:00
Ondrej Holy
155d440623 mouse: Fix sensitivity of two-finger toggle with libinput
Check "libinput Scroll Methods Available" and set two_finger_scroll_toggle
sensitivity appropriately. Many libinput devices don't have edge scroll,
see http://who-t.blogspot.cz/2015/03/why-libinput-doesnt-support-edge.html
Allow changing scroll methods only if both two-finger and edge scroll is
supported.

https://bugzilla.gnome.org/show_bug.cgi?id=745601
2015-04-15 15:18:54 +02:00
Ondrej Holy
2f84534388 mouse: Fix checking capabilities for multiple devices
Two finger scroll toggle should be sensitive if at least one of the
devices support it. g-s-d is responsible to set edge-scroll for the
devices which don't support double touch.

https://bugzilla.gnome.org/show_bug.cgi?id=745601
2015-04-15 15:18:54 +02:00
Prince781
e01951ede8 printers: Recognize more supply types
Recognize 'inkCartridge' and 'tonerCartridge' supply types.

https://bugzilla.gnome.org/show_bug.cgi?id=743331
2015-04-14 16:29:05 +02:00
Ondrej Holy
3594f12cea mouse: remove unused graphics
Commit eee381a introduced unused graphics file double-click-gegl.png.
The file should be removed.

https://bugzilla.gnome.org/show_bug.cgi?id=746344
2015-04-14 13:57:14 +02:00
Damián Nohales
073d49ea88 color: Allow to change profile color by activating the list box row 2015-04-14 12:54:41 +01:00
Debarshi Ray
d45f093fbf online-accounts: Widen the accounts list
https://bugzilla.gnome.org/show_bug.cgi?id=746538
2015-04-13 15:05:40 +02:00
Bastien Nocera
cff4336032 online-accounts: Prevent the attention-needed icon from getting hidden
By making sure that the label inside each of the list items gets
only whatever space is left by the left and right-side icons.

https://bugzilla.gnome.org/show_bug.cgi?id=746538
2015-04-13 15:05:40 +02:00
Carlos Garnacho
6365dafd92 wacom: Sync gsd-wacom-device.[ch] with g-s-d
And use the GdkDevice getter where it applies.
2015-04-13 14:38:24 +02:00
Debarshi Ray
b24bfa8197 online-accounts: Disable the remove button for locked accounts
Bump required GOA version for the IsLocked property.

https://bugzilla.gnome.org/show_bug.cgi?id=737665
2015-04-13 14:19:59 +02:00
Rui Matos
03d9a96c67 display: Close the dialog when the RR configuration changes
We assume that the RR configuration is valid in various callbacks from
both our modal dialogs which doesn't hold if there's an hotplug while
a dialog is open (e.g. monitor is plugged/unplugged).

Closing the dialog in that case seems the right thing to do since it
would be operating on an outdated view of the world otherwise and
likely end up crashing.

https://bugzilla.gnome.org/show_bug.cgi?id=655041
2015-04-13 14:05:49 +02:00
Rui Matos
0d6369a762 display: Don't leak GnomeRRModes
GnomeRRMode is a boxed type which means that if stored as such in a
tree model, the model creates a copy to use internally. In addition,
it means that gtk_tree_model_get() will also get a copy which must be
freed by the caller which we were not doing.

In this case though, we don't need the copies since all the
GnomeRRModes that we use outlive the model so we can simplify things
by just storing a plain pointer in the model instead.

https://bugzilla.gnome.org/show_bug.cgi?id=655041
2015-04-13 14:05:49 +02:00
Rui Matos
5e0b26dac5 display: Fix GtkListStore leak in setup dialog
https://bugzilla.gnome.org/show_bug.cgi?id=655041
2015-04-13 14:05:49 +02:00
Matthias Clasen
a14e772cad power: Make section headings accessible
The section headings are useful to understand the content
of this panel. Sadly, orca does not currently read them
at all. We can fix this by setting up accessible relations
that help orca figure this out.

https://bugzilla.gnome.org/show_bug.cgi?id=746755
2015-04-10 15:57:48 +02:00
Bastien Nocera
7ae145cc2b sound: Update submodule to fix duplicated Bluetooth devices
https://bugzilla.gnome.org/show_bug.cgi?id=697545
2015-04-01 14:18:03 +02:00
Bastien Nocera
2e18538cc8 sound: Remove unused enumeration
Left-over from when we had a separate hardware tab.
2015-04-01 14:18:03 +02:00
Benjamin Tissoires
e2a14f4d4c wacom: add an icon for stylii without an eraser
wacom-stylus-no-eraser.svg is an adaptation of wacom-stylus.svg

https://bugzilla.gnome.org/show_bug.cgi?id=746117
2015-04-01 11:15:29 +02:00
Benjamin Tissoires
e463a1eb55 wacom: Update from gnome-settings-daemon
https://bugzilla.gnome.org/show_bug.cgi?id=746117
2015-04-01 11:15:29 +02:00
Benjamin Tissoires
66cb45bdad wacom: do not bail out if the tablet doesn't have an eraser
Tablets have not always an eraser (most of the generic tablets like Huion,
UC-Logic, etc... don't). We should not reject such tablets.

Commit 54849a9 (wacom: Only the stylus and eraser tools need to exist)
mentioned that we were not sure about eraser, and I think we should not
assume one either.

To do so, we simply ignore the eraser xinput node and rely on
libwacom to actually provide the eraser information.

If the stylus does not have the eraser tip, we may fall in the
LAYOUT_OTHER case. We have a picture of a generic Wacom pen with an
eraser, and the leaders linking the widget to the picture are scrambled.

To prevent that, gray out the eraser pressure slider so that we do not
break the layout.

https://bugzilla.gnome.org/show_bug.cgi?id=746117
2015-04-01 11:15:29 +02:00
Rui Matos
c12cb21065 network: Fix a crash on IPv6 settings dialog
Commit 219a94ed1e added a
g_object_unref() on the wrong line.
2015-03-27 15:00:46 +01:00
Richard Hughes
ff16c19832 color: Set the users profile title when generating a profile 2015-03-25 13:46:57 +00:00
Richard Hughes
d94d512dd1 color: Set the default profile quality at startup
I assume once we got a spurious callback from GTK to set this.
2015-03-25 13:46:28 +00:00
Debarshi Ray
7509af9d22 online-accounts: Don't scroll single entry lists
Create the scrolled window with vertical scrolling turned off. Turn it
on when there are more than one items in the list.

Note that the immediate parent of the list is a GtkViewport, so we
need to explicitly look for the GtkScrolledWindow.

https://bugzilla.gnome.org/show_bug.cgi?id=745584
2015-03-22 07:59:46 +01:00
Bastien Nocera
f6f4e7b774 network: Remove use of temporary variable
No need to copy a static string before using it.

https://bugzilla.gnome.org/show_bug.cgi?id=746411
2015-03-19 16:32:45 +01:00
Bastien Nocera
ba6da7636e network: Fix warning on panel exit
Now that the VPN object is getting finalized, make sure not to warn if
the NMClient is already gone.

https://bugzilla.gnome.org/show_bug.cgi?id=746411
2015-03-19 16:32:45 +01:00
Bastien Nocera
2cf597eb97 network: Fix reference leak of NetProxy
Every time we got the list of devices from the devices GtkListStore, we
were leaking the only element that wasn't a NetDevice, the proxy page.
Make sure to unref' it by hand if we're not going to add it to the list
(the elements of which will be unref'ed properly).

https://bugzilla.gnome.org/show_bug.cgi?id=746411
2015-03-19 16:32:45 +01:00
Bastien Nocera
a6781932e9 network: Fix reference leak of NetVirtualDevices
The only reference is owned by the devices GtkListStore.

https://bugzilla.gnome.org/show_bug.cgi?id=746411
2015-03-19 16:32:45 +01:00
Bastien Nocera
eb14e558e5 network: Fix reference leak of NetVpn
The only reference is owned by the devices GtkListStore.

https://bugzilla.gnome.org/show_bug.cgi?id=746411
2015-03-19 16:32:45 +01:00
Bastien Nocera
234ed23138 network: Add sanity checks NetDevice and NetObject
https://bugzilla.gnome.org/show_bug.cgi?id=746411
2015-03-19 16:32:44 +01:00
Bastien Nocera
219a94ed1e network: Fix GtkListStore leak in IPv{4,6} dialogues
https://bugzilla.gnome.org/show_bug.cgi?id=746411
2015-03-19 16:32:44 +01:00
Bastien Nocera
0e428f2881 network: Remove unused GtkListStore objects
https://bugzilla.gnome.org/show_bug.cgi?id=746411
2015-03-19 16:32:44 +01:00
Bastien Nocera
60f6ba1d72 network: Fix the network panel being kept alive
NetObjects and CcNetworkPanel aren't widgets, and hold references to
each other. Simplify things by having NetObject hold a pointer to
CcNetworkPanel (and the singletons NMRemoteSettings and NMClient)
instead, and clear their pointers when the original object is unref'ed.

https://bugzilla.gnome.org/show_bug.cgi?id=746411
2015-03-19 16:32:44 +01:00
Bastien Nocera
5e7c1544fd sound: Fix output/output bars not following external changes
When looking up a bar for a particular stream, special-case the input
and output bars/streams, as they will not be added to the "bars"
hashtable (which is, as per comment, only for applications and the sound
events bar).

https://bugzilla.gnome.org/show_bug.cgi?id=738869
2015-03-17 12:21:22 +01:00
Bastien Nocera
2476dde3b5 Revert "sound: Fix the main volume bars to correctly display changes in volume"
This results in crashes when switching inputs or outputs, as other parts
of the code expect only application bars being added to that hashtable.
The bar was destroyed when switching outputs (as the stream is removed before
a new one being added) but with the bar pointing to freed memory.

This reverts commit 22fa7f1292.

https://bugzilla.gnome.org/show_bug.cgi?id=746227
2015-03-17 12:21:15 +01:00
Bastien Nocera
857f6ea8ef sound: Default to horizontal channel bars
This stops unnecessary orientation changes on panel startup.
2015-03-17 11:49:24 +01:00
Bastien Nocera
e9a833af12 sound: Fix visibility of bar when orientation is the same as the default
This will fix the bar not showing up when we switch the default
orientation. When we changed the orientation, we went through
update_layout() which shows the frame at the end. _init() didn't do
that.
2015-03-17 11:31:54 +01:00
Benjamin Tissoires
5fcf43a135 wacom: Allow button mapping if the stylus has one button too
The airbrush tool has only one button, and the button mapping combo box
does not work.
We should not bail out if the widget has been removed, that means that
the stylus does not support the second button.

Check upfront the number of buttons to know if the top button parameter
is available.

https://bugzilla.gnome.org/show_bug.cgi?id=746263
2015-03-16 12:53:41 +01:00
Cosimo Cecchi
6137c60195 sound: use row-activated to listen to alert sound changes
We currently install two signal handlers for button-press-event and
selection-changed. As the former also calls the latter, the two interact
in non-obvious ways that can lead to two alerts being played at the same
time under certain circumstances.
Avoid this problem by setting activate-on-single-click on the tree view
and listening to the row-activated signal to drive previews and model
changes.

https://bugzilla.gnome.org/show_bug.cgi?id=671446
2015-03-15 12:28:22 -07:00
Benjamin Tissoires
cf29acae5d wacom: test: add Huion H610 Pro panel
The tablet does not have an eraser, so it's good to have a test for it.

https://bugzilla.gnome.org/show_bug.cgi?id=746117
2015-03-13 17:00:30 +01:00
Bastien Nocera
555429009e wacom: Update from gnome-settings-daemon 2015-03-13 17:00:30 +01:00
Joaquim Rocha
abb0592866 region: Reuse the input chooser instance
The language input chooser is being created and destroyed every time
it is opened and closed. This is noticeably slow and is hardly
necessary as the values it contains should not change.

To fix this, these changes reuse the same instance of the input chooser
(by hiding and showing it) instead of renewing it.
The input chooser is also now shown using gtk_dialog_run to avoid having
it destroyed from the default delete event.
2015-03-10 19:45:07 +01:00
Joaquim Rocha
bd6347d02a region: Clear input chooser rows instead of unrefing them
These changes prevent warnings when unreferencing the default input
source, locale and back rows which are never instanced by some locales
(and thus null).
2015-03-10 19:45:07 +01:00
Joaquim Rocha
bbae930988 region: Fix leak in input chooser
The language input chooser is being leaked. The reason for the leak
is a "circular reference": the input chooser keeps a GtkBuilder
instance that gets destroyed when the chooser is, itself, destroyed.
However, the input chooser is never destroyed because the GtkBuilder
instance keeps a reference to it.

These changes dismiss the GtkBuilder once it is no longer needed in the
input chooser which fixes the leak.
2015-03-10 19:45:07 +01:00
Matthias Clasen
165be44369 users: Fix fingerprint delete dialog formatting
The manual borderwidth setting breaks message dialog appearance.
While we are here, remove some unnecessary calls.

https://bugzilla.gnome.org/show_bug.cgi?id=745908
2015-03-10 06:43:12 -04:00
Bastien Nocera
78c22d24f8 power: Fix alignment of "Screen brightness" label 2015-03-09 18:10:55 +01:00
Bastien Nocera
0a96aa3bcd network: Make "only for this network" work for IPv6 VPNs
https://bugzilla.gnome.org/show_bug.cgi?id=738029
2015-03-09 16:12:25 +01:00