Showing it whenever we have a saved connection goes wrong for
all items where we have both an ap and a saved connection.
Also, use the same details page for out-of-range saved connections.
Copy the 'Last used' item for non-active, in-range access
points.
This is another step towards using the same details page
for all aps and connections.
When showing the details for an in-range, but not active access
point, we were just always showing details for the currently
active connection. This commit starts to sort things apart.
'Connect to hidden' is not really an access point.
Update the function name to reflect that. Also, update
the translator comment to be more to the point.
The code was assuming that 'editing' always means editing the
currently active connection. With the new design of the wifi
details tabs, that is no longer the case, we want to be able
to edit non-active connections. This commit makes it so.
Make the details pages for in-range and out-of-range aps more
similar, by adding 'Forget Network' and 'Settings...' buttons
to both.
This is a step towards using the same details page for all
aps and connections.
When we find a saved connection among the access points already
in the list, we forget to mark it as saved, so the arrow to go
to the details page is not shown.
ibus_engine_desc_get_language() may return an empty string or language
codes that gdm_get_language_from_name() doesn't understand. Use
ibus_get_language_name() instead to handle such cases properly.
This also allows us to use the same method in gnome-shell to get
consistent display strings.
https://bugzilla.gnome.org/show_bug.cgi?id=682851
We used to destroy and recreate the custom widgets whenever any of
the properties changed. Now we make sure that the custom widgets are
only destroyed and recreated when the device selected is a different one.
This fixes NetworkManager's Bluetooth plugins getting destroyed
because the Connected property changed, as it was trying to connect to
the device.
https://bugzilla.gnome.org/show_bug.cgi?id=681456
We need to save event areas with the correct transformation.
The following things need to be take into account:
* Current cairo matrix (translations)
* Widget allocation because it is painting on the parents widgets window
* Cairo device offset, which GTK+ sets (but not for a full window redraw)
https://bugzilla.gnome.org/show_bug.cgi?id=681475
The original palette for color selection was a bit flat.
The new selection includes 9 "fun" colors that are highly
saturated and people would be initialy drawn to select, as well
as 6 colors that are more appropriate wallpapers and are good to
use for extended periods of time.
https://bugzilla.gnome.org/show_bug.cgi?id=682556
This commit implements design changes from
https://live.gnome.org/Design/SystemSettings/Printers.
The new printer dialog gets informations about connected devices
from CUPS server asynchronously and separately for each backend now.
Entering an address into the entry and pressing the icon inside
the entry or enter starts to detect printers on the entered host.
Entering a text which is a substring of a name of a device or its location
filters the list to contain just devicess with the string in it (e.g. Canon
will keep devices with "Canon" in their name).
The PpNewPrinterDialog is regular object now. It emits signal "pre-response"
when dialog is closed and a printer is being added and signal "response" when
the new printer was added, addition of the new printer failed or the dialog was
cancelled.
This commit removes FirewallD support from new printer dialog. (#683229)
Set longer timeouts for GetBestDrivers, PrinterAddOption and
PrinterAddOptionDefault. These can take more time than already
specified timeouts. (#683229)
PpNewPrinter contains asynchronous method for installation of
new printer. The new printer is specified by given parameters (e.g. name,
device-id, device-uri, ppd-name, info, location, ...). (#683229)
This commit adds PpHost object which represents a remote
host from which we want to get printers. It contains
asynchronous method for enumerating printers list from the host
using CUPS' SNMP backend and method for enumerating printers list
directly from the remote CUPS server running on the host. (#683229)
This commit adds asynchronous function get_cups_devices_async() which
sequentially executes CUPS' backends and returns found devices
by a callback. (#683229)
PpCups object represents local CUPS server. It contains
asynchronous method for getting printers installed on
the server. It is an asynchronous version of cupsGetDests().
(#683229)
<cups/cups.h> has to be included in pp-utils.h because there
are functions in pp-utils.h which accepts types defined
in the cups.h as their parameters. (#683229)