Commit graph

3906 commits

Author SHA1 Message Date
Rui Matos
511265e574 display: In clone mode, set geometry of all outputs when one changes
Otherwise we could fail to validate the new configuration depending on
which output we're initializing mirror mode from.

gnome_rr_config_applicable() creates a temporary array of outputs for
validation and, in clone mode, all of them are assigned the same
geometry but, since it lacks context about which output the user is
currently on, it just uses the first one's geometry for all of
them. If this first output isn't the one the user is changing in the
UI then we never called _set_geometry() on it with a clone mode
geometry and thus the validation would fail because the geometry used
is that output's current mode which might not match the clone mode's.

https://bugzilla.gnome.org/show_bug.cgi?id=743816
2015-02-23 19:38:56 +01:00
Ondrej Holy
de821d5922 user-accounts: don't show fingerprint options if disabled
Don't show fingerprint configuraiton if the administrator disabled
fingerprint authentication:
https://help.gnome.org/admin/system-admin-guide/stable/login-fingerprint.html

https://bugzilla.gnome.org/show_bug.cgi?id=744332
2015-02-23 12:57:18 +01:00
Bastien Nocera
d9f08df39c info: Fix crash when application supports no mime-type
It seems to be possible for Firefox Nightly to set itself up as the
default x-scheme-handler/http without actually handling any mime-types.

See https://bugzilla.redhat.com/show_bug.cgi?id=1193680

https://bugzilla.gnome.org/show_bug.cgi?id=744695
2015-02-19 15:21:51 +01:00
Rui Matos
8ea40157b6 keyboard: Add proper casts to silence compiler warnings 2015-02-17 14:55:43 +01:00
Marcus Karlsson
fe9fe99439 keyboard: custom shortcut should require name and command
It is possible to press the Add button in the custom shortcut dialog
when the name and command fields are empty. Disable the button by
default, and only enable it when the name and command is non-empty.

https://bugzilla.gnome.org/show_bug.cgi?id=739647
2015-02-10 13:50:17 +01:00
Tim Waugh
dba40e1301 network: Allocate storage for zone name during D-Bus call
The call to nm_setting_connection_get_zone() returns a pointer to
memory that will be freed before the D-Bus reply handler is called.
Make sure to take a copy of the string, and free it when finished.

https://bugzilla.gnome.org/show_bug.cgi?id=739971
2015-02-10 12:40:28 +01:00
Piotr Drąg
d07a704186 Updated Polish translation of timezones
Sync with fixes sent upstream.
2015-02-09 19:38:27 +01:00
Rui Matos
38180662cd sharing: Don't add the folder if the dialog isn't explicity accepted
E.g. selecting a folder and then dismissing the dialog via the cancel
button or by pressing escape would still add the folder to the shared
folders list.
2015-02-09 17:25:36 +01:00
Rui Matos
c6970ec8eb display: Replace CcRRLabeler with gnome-shell's DBus monitor labeler
CcRRLabeler assumes an X11 session using override redirect toplevel
windows which are positioned in global desktop coordinates. Since this
isn't available on Wayland sessions, we're moving to a DBus API which
gnome-shell implements and works the same on both X11 an Wayland
sessions.

As side-effects, we get native looking gnome-shell OSD labels without
having to mimic the style ourselves and we're also now able to easily
show labels on mirrored setups.

https://bugzilla.gnome.org/show_bug.cgi?id=743743
2015-02-05 14:37:05 +01:00
Michael Catanzaro
643a7a6849 power: ambiguous wifi and mobile broadband labels
Currently these switches function the opposite of their descriptions.
E.g. the wi-fi switch says "turns off wireless devices" which means that
if the switch is on, wi-fi would go off, but actually the behavior is
the opposite. Reword the labels to be less confusing.

https://bugzilla.gnome.org/show_bug.cgi?id=695417
2015-02-04 13:22:48 -06:00
Bastien Nocera
c3f9546952 power: Hide device battery when !is_present
iDevice batteries might show up before they're actually available
to read from, so check "is-present" before showing the device in the UI.
2015-02-03 23:10:45 +01:00
Elias Toivanen
ef72c19ebf Tooltips for the rotation buttons in Displays
When rotating a screen, the user has to first select the kind of
rotation and then press Apply. However, the meaning of the symbolic
icons may not be clear before actually pressing one of them.

This patch adds appropriate tooltips to the buttons so that the user has
a textual clue about what is going to happen.

https://bugzilla.gnome.org/show_bug.cgi?id=743888
2015-02-03 08:40:25 -06:00
Bastien Nocera
15e8a9542f power: Fix initial state of Bluetooth switch
The initial state of the switch was never set, so if it happened to be
on, the switch didn't match reality.

https://bugzilla.gnome.org/show_bug.cgi?id=725654
2015-01-28 17:20:29 +01:00
Ondrej Holy
a4521c15d5 user-accounts: update padding on style-updated
Padding is updated for some widgets once, when creating the widgets.
But it seems style may not be loaded yet. Therefore the padding has
to be updated on "style-updated" signal to reflect style changes.

https://bugzilla.gnome.org/show_bug.cgi?id=743180
2015-01-27 16:35:48 +01:00
Bastien Nocera
c1a87d4d62 info: Fix spelling of VMware
See http://www.thelowercasew.com/about for details
2015-01-26 13:41:57 +01:00
David King
64014362eb wacom: Fix final use-stock deprecated property
https://bugzilla.gnome.org/show_bug.cgi?id=736052
2015-01-25 14:05:07 +01:00
Bastien Nocera
9140b47fe3 common: Fix build on non-Linux systems
Only define HAVE_WAYLAND when GDK_WINDOWING_WAYLAND is defined.

https://bugzilla.gnome.org/show_bug.cgi?id=743266
2015-01-25 14:04:53 +01:00
Bastien Nocera
72e25ad405 privacy: Mark new string for translation
https://bugzilla.gnome.org/show_bug.cgi?id=742375
2015-01-21 19:24:54 +01:00
Bastien Nocera
7977521336 privacy: Add automatic problem reporting setting
This functionality requires:
- a system service owning the org.freedesktop.problems.daemon [1]
- a session service listening to the "report-technical-problems"
  GSetting and acting upon it [2]
- /etc/os-release linking to a PRIVACY_POLICY_URL [3]

[1] Added in ABRT in this commit:
73a98e3aaf
[2] Added to abrt-applet, see:
https://github.com/abrt/gnome-abrt/issues/107
[3] Defined in systemd in:
http://cgit.freedesktop.org/systemd/systemd/commit/?id=ed9e8bf66d1b3a00aa7fb6d57ec89dd8a3b8d7dc
Note that Fedora does not currently define this URL.
See https://bugzilla.redhat.com/show_bug.cgi?id=1182635

https://bugzilla.gnome.org/show_bug.cgi?id=742375
2015-01-21 18:09:31 +01:00
Rui Matos
0ae0f4abe4 mouse: Use GsdDeviceManager to check for device type presence
This allows us to work on non-X11 backends.

https://bugzilla.gnome.org/show_bug.cgi?id=743266
2015-01-21 14:26:00 +01:00
Rui Matos
d341f77756 mouse: Check synaptics capabilities only on X11
On other backends we don't have a way to check for synaptics
capabilities so we just show all the touchpad knobs there.

https://bugzilla.gnome.org/show_bug.cgi?id=743266
2015-01-21 14:26:00 +01:00
Bastien Nocera
3c41d02b09 common: Fix build by providing dummy header
https://bugzilla.gnome.org/show_bug.cgi?id=743266
2015-01-21 14:26:00 +01:00
Bastien Nocera
1be3811717 common: Update from gnome-settings-daemon
https://bugzilla.gnome.org/show_bug.cgi?id=743266
2015-01-21 14:26:00 +01:00
Bastien Nocera
fcbdf920e6 common: Update commit message prefix for "update-from-gsd"
https://bugzilla.gnome.org/show_bug.cgi?id=743266
2015-01-21 14:26:00 +01:00
Marek Kasik
3a068dae10 printers: Improve add printer search text
Use a clearer text in the new printer dialog as hint in the search box.

https://bugzilla.gnome.org/show_bug.cgi?id=690366
2015-01-21 13:47:06 +01:00
Carlos Garnacho
be8d68c591 Update device configuration from gnome-settings-daemon
GsdWacomDevice has been updated, dragging GsdDeviceManager as a dependency
from g-s-d, which has been added to panels/common, and compiled as a
separate static libary, which is used by the wacom and mouse modules.

gsd-input-helper.[ch] is now in such library and has been removed from
the panel directories.

https://bugzilla.gnome.org/show_bug.cgi?id=743196
2015-01-20 20:44:13 +01:00
Timm Bäder
9ffaff7472 wifi: Use a GtkStack to switch between button/spinner
Instead of only adding a button and/or spinner when constructing the
row, always add both to a GtkStack and only show that stack when
necessary. This also removes the need for a GtkSizeGroup and the big
spinner caused by it.

https://bugzilla.gnome.org/show_bug.cgi?id=742853
2015-01-20 20:19:39 +01:00
Ondrej Holy
27428f1d19 mouse: put check buttons in one row
https://bugzilla.gnome.org/show_bug.cgi?id=743198
2015-01-20 17:28:22 +01:00
Ondrej Holy
dba7bf76c4 user-accounts: hidpi support for user's icons in tree view
This patch adds UmCellRendererUserImage object which respect scale factor.

https://bugzilla.gnome.org/show_bug.cgi?id=742395
2015-01-20 17:08:19 +01:00
Ondrej Holy
5c30530271 user-accounts: hidpi support for user's icons
This patch adds UmUserImage widget which respect scale factor.

https://bugzilla.gnome.org/show_bug.cgi?id=742395
2015-01-20 17:08:15 +01:00
Ondrej Holy
006b5970a6 user-accounts: render user's icons as surface with scale
This patch is needed for future hidpi support.

https://bugzilla.gnome.org/show_bug.cgi?id=742395
2015-01-20 17:08:11 +01:00
Marek Kasik
e923c5d5c7 notifications: Shrink application icons
Shrink application icons and add some margin to them so
the overall size is the same.

https://bugzilla.gnome.org/show_bug.cgi?id=742522
2015-01-20 15:17:20 +01:00
Marek Kasik
9407015730 notifications: Place switches into GtkListBox
Place panel switches into GtkListBox and change their
behaviour so that:

When "Notifications" switch is off, all other switches in the dialog are
insensitive.
"Notifications Banners" switch is off and insensitive when corresponding
panel switch is off.
"Show Message Content in Banners" switch is off and insensitive when switch
above is off.
"Lock Screen Notifications" switch is off and insensitive when corresponding
panel switch is off.
"Show Message Content on Lock Screen" switch is off and insensitive when switch
above is off.

https://bugzilla.gnome.org/show_bug.cgi?id=742521
2015-01-20 15:17:20 +01:00
Marek Kasik
b1c51fd5d1 notifications: Change switch labels
Change "Show Pop Up Banners" to "Notification Banners" and
"Show in Lock Screen" to "Lock Screen Notifications".

https://bugzilla.gnome.org/show_bug.cgi?id=742521
2015-01-20 15:17:20 +01:00
Marek Kasik
52f63a0ce3 notifications: Add label Applications
Add label with text "Applications" above the list of applications.

https://bugzilla.gnome.org/show_bug.cgi?id=742521
2015-01-20 15:17:20 +01:00
Marek Kasik
1a4fdd47dc notifications: Move switches to a GtkListBox
Place the "Show Pop Up Banners" and "Show in Lock Screen" labels
in a list. This makes the UI easier to read.
Add frame around the list box.

https://bugzilla.gnome.org/show_bug.cgi?id=742521
2015-01-20 15:17:20 +01:00
Marek Kasik
5641299a2a notifications: Scroll the view not just the list
Scrolling the view gives more room for viewing the list and
provides a larger scroll area, making the list easier to use.
Set height of content of the panel to 400 pixels.
Add frame around the list box.

https://bugzilla.gnome.org/show_bug.cgi?id=742520
2015-01-20 15:17:20 +01:00
Rui Matos
f5eb204741 mouse: Switch to new peripherals settings schema
Most peripherals settings have been moved to
gsettings-desktop-schemas.

There are some semantic differences:

* pointer and touchpad speed is now a single value in the [-1..1]
  range (from "unaccelerated" to "fast"). A value of 0 is the default;

* touchpad enabled is now an enum which can be enabled, disabled or
  disabled-on-external-mouse. This patch keeps the same UI so the last
  value is the same as disabled in the UI and can't be set for now;

* disable while typing is now always enabled so the checkbox has been
  removed;

* horizontal scrolling is always enabled when two finger scroll is
  disabled. It wasn't in the UI but we no longer need to set it since
  it doesn't exist anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=743194
2015-01-20 15:02:06 +01:00
Michael Catanzaro
1522790461 displays: Apply buttons should use suggested-action style class
https://bugzilla.gnome.org/show_bug.cgi?id=743216
2015-01-20 07:43:31 -06:00
Rui Matos
2a36a4c607 keyboard: Switch to new peripherals settings schema
Most peripherals settings have been moved to
gsettings-desktop-schemas.

https://bugzilla.gnome.org/show_bug.cgi?id=743194
2015-01-20 14:09:09 +01:00
Rui Matos
386a996a19 network: Remove unused variable 2015-01-20 14:09:09 +01:00
Rui Matos
b45d08b603 network: Display an error instead of the panel on NM absence
This is more in line with current GNOME UI and allows us to drop
deprecated gtk+ API usage.

https://bugzilla.gnome.org/show_bug.cgi?id=740986
2015-01-20 14:08:41 +01:00
Marek Chalupa
1cca6545dd background: Fix crash when choosing background due to missing icon
https://bugzilla.gnome.org/show_bug.cgi?id=742656
2015-01-19 14:01:47 +01:00
Ondrej Holy
8bd1a5f18d user-accounts: do not show notification if not needed
Restart notification is shown if there is different language in
accountsservice. However restart isn't needed if user selects original
language (after several changes), which is already used in the system.

https://bugzilla.gnome.org/show_bug.cgi?id=703392
2015-01-19 13:12:34 +01:00
Ondrej Holy
b0e6526c46 user-accounts: do not set the language twice
The act_user_set_language function is called twice as a result of
commit 96c0c0a, which is not necessary.

https://bugzilla.gnome.org/show_bug.cgi?id=703392
2015-01-19 13:05:36 +01:00
Yosef Or Boczko
d6c7e67d4f sharing: Put a real description string in the media dialog
https://bugzilla.gnome.org/show_bug.cgi?id=736537
2015-01-18 11:32:25 -05:00
Bastien Nocera
7564b79518 info: Add debug for unmodified GL_RENDERER string
Useful to know what the original version looks like.
2015-01-16 00:47:15 +01:00
Bastien Nocera
f30e6df1d4 network: Also work with NM 1.0
Remove the NetworkManager version checking altogether. The code was made
to check for now very old versions of NetworkManager, and anything newer
than ancient should degrade gracefully if we support newer features.

https://bugzilla.gnome.org/show_bug.cgi?id=741661
2015-01-15 14:59:44 +01:00
Bastien Nocera
d82ca8d842 privacy: Remove margin_left usage
And correct the margin-start usage when it was different.
2015-01-15 14:59:44 +01:00
Bastien Nocera
05a3af45ec privacy: Fix mnemonic widget for software switch
Copy/paste error.
2015-01-15 14:59:44 +01:00