Commit graph

16870 commits

Author SHA1 Message Date
Mohammed Sadiq
7bebbc0099 info: Remove unused code
The GraphicsData structure wasn't being used
in CcInfoPanel's code, and can be safely dropped.

https://bugzilla.gnome.org/show_bug.cgi?id=779216
2017-05-21 10:15:34 -03:00
Piotr Drąg
31f337435d Fix Keywords in translations 2017-05-21 01:26:01 +02:00
Rui Matos
585b1fdd9c network: Remove remaining traces of firewalld zones support
These were overlooked in commit
b36924567e.
2017-05-18 18:57:26 +02:00
Rui Matos
8bf07fc414 display: Handle monitor scales on the arrange displays dialog
We need to simply scale monitors' width and height where appropriate
and the API allows us.

https://bugzilla.gnome.org/show_bug.cgi?id=782785
2017-05-18 18:57:26 +02:00
Rui Matos
4b30ecb758 display: Add a slider to select a monitor's scale when available
Mutter's new display configuration API allows configurable per-monitor
scales within a finite set determined by mutter. We expose the
available values in a simple slider widget for each monitor.

https://bugzilla.gnome.org/show_bug.cgi?id=782785
2017-05-18 18:57:26 +02:00
Rui Matos
39c6db2772 display: Don't do automatic layout adjustments with the new API
The new API checks with mutter every time update_apply_button() is
called and mutter is very strict about this so it already does these
adjustments internally.

https://bugzilla.gnome.org/show_bug.cgi?id=782785
2017-05-18 18:57:26 +02:00
Rui Matos
e1d5885ad4 display: Unset primary from a turned off monitor
When setting the primary monitor off we were setting all other
monitors as non-primary which is clearly wrong. It only worked
correctly because the backend code in GnomeRR would implicitly
select a primary for us.

https://bugzilla.gnome.org/show_bug.cgi?id=782785
2017-05-18 18:57:26 +02:00
Rui Matos
d83d613103 display: Choose config manager implementation according to DBus API
Use mutter's new display configuration API if it's available or
fallback to the old API via GnomeRR. The new API requires a new way to
identify outputs so we also need to use an alternative monitor labeler
API.

https://bugzilla.gnome.org/show_bug.cgi?id=782785
2017-05-18 18:57:26 +02:00
Rui Matos
8a175d1106 display: Provide an implementation for mutter's new display config API
This adapts as much as possible mutter's new display config API to the
current display panel's expectations. In particular we keep the
concept of logical monitors hidden from the panel. They will later be
exposed when we re-design the panel to make full use of the new API.

https://bugzilla.gnome.org/show_bug.cgi?id=782785
2017-05-18 18:57:26 +02:00
Rui Matos
71aef22ae0 display: Port the display panel to the new abstract API
This removes the direct dependency on GnomeRR while keeping the
existing functionality.

All the tiled monitor special casing was removed since the new API
doesn't expose tiled monitors in the first place.

A check for virtual size limits was removed but it wasn't being
enforced anyway.

We also introduce a blank error state for when the backend API isn't
available.

https://bugzilla.gnome.org/show_bug.cgi?id=782785
2017-05-18 18:57:26 +02:00
Rui Matos
f82bd7d7db display: Provide a GnomeRR based implementation for the new api
This allows us to keep the panel working with GnomeRR while the new
mutter api develops.

https://bugzilla.gnome.org/show_bug.cgi?id=782785
2017-05-18 18:57:26 +02:00
Rui Matos
918fd9a333 display: Introduce an abstract API for display configuration
This will allow us to switch the display panel away from using the
GnomeRR api directly in order to gracefully move to a new DBus display
configuration API to be provided by mutter while still keeping the
existing functionality on top of the GnomeRR api while the new one
is developed.

https://bugzilla.gnome.org/show_bug.cgi?id=782785
2017-05-18 18:57:26 +02:00
Bastien Nocera
c0f8575fab MAINTAINERS: Point to doap file instead 2017-05-18 17:43:04 +02:00
Silvère Latchurié
c890872843 datetime: Fix the style of the date/time selection dialog
Fix the size of the AM/PM button. Add padding to the time widgets and to the panel.

https://bugzilla.gnome.org/show_bug.cgi?id=778146
2017-05-17 17:30:07 +02:00
Benjamin Berg
2c95c6a5d0 network: Include the connection title in the sort string
The list of networks is sorted by connection type. If a user has e.g. a
lot of VPN connections, then the unsorted list is hard to browse.
To fix this, include the title of the connection in the sort order and
ensure the list is kept sorted when a title is changed.

Reported-by: Oliver Haessler <oliver@redhat.com>

https://bugzilla.gnome.org/show_bug.cgi?id=778685
2017-05-17 15:14:10 +02:00
Benjamin Berg
f70ac1d863 network: Re-render connection title whenever it changes
The title of network connections may change if the user edits it or if
it was changed programatically by another program. This worked fine, but
the UI was not updated. This patch ensures the network list in the UI is
updated.

Reported-by: Oliver Haessler <oliver@redhat.com>

https://bugzilla.gnome.org/show_bug.cgi?id=778685
2017-05-17 11:24:39 +02:00
Benjamin Berg
93fc508061 network: Remove unused "title" column from devices liststore
The title column is not used as the title is fetched from the net object
on the fly when it is needed.

https://bugzilla.gnome.org/show_bug.cgi?id=778685
2017-05-17 11:24:39 +02:00
Silvère Latchurié
7bd7fcdf2c user-accounts: Handle EXIF orientation
Apply the EXIF orientation of the picture that has been picked.

https://bugzilla.gnome.org/show_bug.cgi?id=706547
2017-05-15 11:51:08 +02:00
Balázs Úr
c4ecb0e95d Update Hungarian translation 2017-05-14 21:05:54 +00:00
Kukuh Syafaat
dd508af0d4 Update Indonesian translation 2017-05-12 23:24:52 +00:00
Piotr Drąg
8d177456b5 Update Polish translation 2017-05-12 22:41:30 +02:00
Khaled Hosny
b1d2dac1a9 Update Arabic translation 2017-05-12 15:03:08 +02:00
Mario Blättermann
92c9a9a22e Update German translation 2017-05-12 12:15:26 +00:00
Baurzhan Muftakhidinov
bd50e1d456 Update Kazakh translation 2017-05-11 14:10:36 +00:00
Georges Basile Stavracas Neto
7c405d77a7 keyboard: Inform that 'backspace' is the clear key
The Keyboard shortcut editor dialog gives no clue on how
to disable a shortcut, and users were confused by this
lack of information.

Fix that by informing the user about the Backspace role
when editing a shortcut.

https://bugzilla.gnome.org/show_bug.cgi?id=777401
2017-05-10 20:45:07 -03:00
Felipe Borges
870b4e7190 printers: Filter the printer-location in the search
Show printer search results where the searched string matches
the printer-location.

https://bugzilla.gnome.org/show_bug.cgi?id=779656
2017-05-10 11:04:29 +02:00
Felipe Borges
34aedbe992 printers: Add search capabilities to the panel
Due to the recent changes towards the new design, it became slightly
harder to find a printer given a long list of entries.

This patch introduces search capabilities to the panel, filtering
based on the printer name.

https://bugzilla.gnome.org/show_bug.cgi?id=779656
2017-05-09 15:52:12 +02:00
Felipe Borges
e26756d7e3 printers: Make printers-list a GtkListBox
By making the printers list a GtkListBox instead of a GtkBox, we
can use listbox's capabilities for sorting and filter.

https://bugzilla.gnome.org/show_bug.cgi?id=779656
2017-05-09 15:47:04 +02:00
Jordi Mas
bd2ca67678 Update Catalan translation 2017-05-08 22:17:05 +02:00
Daniel Mustieles
a26e337920 Update Spanish translation 2017-05-08 10:19:45 +00:00
Kukuh Syafaat
c7618a45a0 Update Indonesian translation 2017-05-07 02:32:03 +00:00
gogo
26fc8fa705 Update Croatian translation 2017-05-06 19:27:13 +00:00
Bastien Nocera
4ee2055027 network: Better debug when creating a hotspot 2017-05-05 19:05:45 +02:00
Mohammed Sadiq
d153b9b4ee hostname-helper: don't read past '\0'
g_utf8_find_next_char() doesn't do checks whether the char
is '\0' or not. We have to take care of that ourself.

This commit fixes heap-buffer-overflow found by test-hostname

ERROR: AddressSanitizer: heap-buffer-overflow on address
READ of size 1 at 0x60200000cd76 thread T0
 #0 0x7f8b26920d08 in g_utf8_find_next_char glib/glib/gutf8.c:179
 #1 0x55c2b8eacaee in pretty_hostname_to_ssid gnome-control-center/shell/hostname-helper.c:199

https://bugzilla.gnome.org/show_bug.cgi?id=782216
2017-05-05 15:01:28 +02:00
Matej Urbančič
da43d79022 Updated Slovenian translation 2017-05-05 13:21:12 +02:00
Fabio Tomat
51a78d7e27 Update Friulian translation 2017-05-05 09:13:32 +00:00
Georges Basile Stavracas Neto
f981eb58ac keyboard: Add more key aliases
To improve even more the search feature, add the
following new key aliases:

Option  → Alt
Command → Super
Apple   → Super

https://bugzilla.gnome.org/show_bug.cgi?id=772565
2017-05-04 10:42:14 +02:00
Georges Basile Stavracas Neto
1cb787e8b8 keyboard: Also search shortcut accelerators
When managing the keyboard shortcuts, the user might want
to check for keybindings based on their accelerators, not
only their names. Currently, however, the Keyboard panel
only supports searching for the keybinding description.

Fix that by also considering the normalized keybinding
accelerator when performing the search.

https://bugzilla.gnome.org/show_bug.cgi?id=772565
2017-05-04 10:41:38 +02:00
Felipe Borges
936899277c user-accounts: Explicitly set photo_popup transient_for window
Instead of relying in the underlying machinery for guessing the
correct window.

https://bugzilla.gnome.org/show_bug.cgi?id=780498
2017-05-03 13:58:45 +02:00
Felipe Borges
9536dcdd63 user-accounts: Use gtk_menu_popup_at_widget for user photo popup
gtk_menu_popup has been deprecated since version 3.22.

The use of gtk_menu_popup lately was causing gtk+ to have to guess
the right position to present the widget, causing the menu to
eventually appear in a wrong position under Wayland.

https://bugzilla.gnome.org/show_bug.cgi?id=780498
2017-05-03 13:05:49 +02:00
Ondrej Holy
4cad3ca408 user-accounts: Change colors of password strength indicator
Use red-yellow- green colors for strength indicator levels.

https://bugzilla.gnome.org/show_bug.cgi?id=780002
2017-05-03 11:39:44 +02:00
Ondrej Holy
cd1f96f8ba user-accounts: Improve password hints
Don't say "Good password!" for all acceptable password (e.g. weak passwords).
Say explicitely that password needs to be longer for short passwords.

https://bugzilla.gnome.org/show_bug.cgi?id=780002
2017-05-03 11:39:42 +02:00
Ondrej Holy
e89d4f59c2 user-accounts: Add strength indicator level for weak passwords
Add first level for short, or weak passwords to be obvious that
the strength indicator signalize something.

https://bugzilla.gnome.org/show_bug.cgi?id=780002
2017-05-03 11:37:28 +02:00
Ondrej Holy
9e4123363e user-accounts: Remove unused password hints
Short password hints are not used for some time. Let's remove them.

https://bugzilla.gnome.org/show_bug.cgi?id=780002
2017-05-03 11:37:28 +02:00
Ondrej Holy
466264e78d user-accounts: Simplify scale-factor handling
Remove redundant on_scale_factor_changed function and call render_image
function directly.

https://bugzilla.gnome.org/show_bug.cgi?id=778458
2017-05-03 10:34:38 +02:00
Ondrej Holy
c09e8f5b37 user-accounts: Handle pixel-size changes
Commit 8e6fccc introduced pixel-size handling for user icon, however,
the icon is not resized on each pixel-size change as it should. This
is not problem currently, but might be problem in the future...

https://bugzilla.gnome.org/show_bug.cgi?id=778458
2017-05-03 10:33:46 +02:00
Ondrej Holy
3d8d45ab6b user-accounts: Fix wording mistake
https://bugzilla.gnome.org/show_bug.cgi?id=781133
2017-05-03 10:30:34 +02:00
Mohammed Sadiq
4c0928f324 sharing: Don't leak path
g_file_get_path() allocates new memory for path.
So using g_strdup() later would leak the previous allocation.

https://bugzilla.gnome.org/show_bug.cgi?id=782045
2017-05-02 12:55:26 +02:00
Mohammed Sadiq
aebf04f6f2 region: Fix memory leak
The returned result of g_variant_get_strv() has to be freed
when no-longer needed

https://bugzilla.gnome.org/show_bug.cgi?id=782047
2017-05-02 12:55:04 +02:00
Mohammed Sadiq
a09a5d7e9e search: Fix memory leak
g_variant_get_strv() returns newly allocated memory.
This should be freed when no longer required.

https://bugzilla.gnome.org/show_bug.cgi?id=782048
2017-05-02 12:54:37 +02:00