Commit graph

2226 commits

Author SHA1 Message Date
Matthias Clasen
ac67290cb7 network: Make the 'Settings...' buttons work properly
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.
2012-09-13 15:50:43 +01:00
Matthias Clasen
56a0be0422 network: Add more buttons
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.
2012-09-13 15:50:43 +01:00
Matthias Clasen
31dade6279 network: Mark all rows representing saved connections as such
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.
2012-09-13 15:50:43 +01:00
Matthias Clasen
ec629b73ad network: Add a separator before the arrow when needed
The separator is giving a hint that there are two clickable
areas in the row.

https://bugzilla.gnome.org/show_bug.cgi?id=682270
2012-09-13 15:50:43 +01:00
Matthias Clasen
7ef84e87e9 mouse: Fix accessible labels for switches in mouse panel
Setting mnemonic-widget on the labels makes orca read out meaningful
text for the switches.
https://bugzilla.gnome.org/show_bug.cgi?id=683703
2012-09-13 06:42:38 -04:00
Matthias Clasen
828e896e12 bluetooth: Fix accessible labels for switches in bluetooth panel
Setting mnemonic-widget on the labels makes orca read out meaningful
text for the switches.
https://bugzilla.gnome.org/show_bug.cgi?id=683703
2012-09-13 06:42:03 -04:00
Matthias Clasen
1db660c410 screen: Make notification checkbox focusable
This was certainly just an oversight, but it makes the
checkbox essentially nonaccessible.
2012-09-13 06:41:07 -04:00
Matthias Clasen
539d78cb63 universal access: Fix labels for switches in zoom options
Setting mnemonic-widget on the labels makes orca read out meaningful
text for the switches.
https://bugzilla.gnome.org/show_bug.cgi?id=683703
2012-09-13 06:37:51 -04:00
Matthias Clasen
4e24e944eb Universal access: Fix up whitespace in zoom options dialog
https://bugzilla.gnome.org/show_bug.cgi?id=683544
2012-09-13 06:37:43 -04:00
Matthias Clasen
d5a186d26c universal access: Fix accessible labels for switches
Setting mnemonic-widget on the labels makes orca read out meaningful
text for the switches.
https://bugzilla.gnome.org/show_bug.cgi?id=683703
2012-09-13 06:37:35 -04:00
Bastien Nocera
2a88736cf6 wacom: Add link to wacom docs
And not the generic control-center docs.

https://bugzilla.gnome.org/show_bug.cgi?id=675471#c40
2012-09-12 10:24:19 +01:00
Marek Kasik
1eb906515f printers: Use GPLv2+ for files created by Marek Kasik
This commit is related to the bug #683420.
2012-09-11 15:02:26 +02:00
Bastien Nocera
0a0bc59afa printers: Avoid redefinition of UserResponseCallback
It was declared to be the same value in all three headers, which
causes problems with old version of GCC.

https://bugzilla.gnome.org/show_bug.cgi?id=683696
2012-09-10 14:55:58 +01:00
William Jon McCann
312a5dfe87 Set pixbuf renderer stock size to 32 so emblems render at 16px
https://bugzilla.gnome.org/show_bug.cgi?id=682123
2012-09-10 09:47:48 -04:00
Daiki Ueno
8af69625d3 region: Use ibus_get_language_name() to get a language from its code
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
2012-09-09 23:16:07 +02:00
Michael Terry
5f353fa2b6 power: Use GCancellable better, to avoid a crash
https://bugzilla.gnome.org/show_bug.cgi?id=683533
2012-09-07 15:37:42 -04:00
Bastien Nocera
12a319875a bluetooth: Don't break the custom widgets on connect
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
2012-09-07 13:32:06 +01:00
Matthias Clasen
ba7171a579 Set a window title on the add printer dialog
Otherwise, it shows up as gnome-control-center, which is ugly.
2012-09-06 19:17:21 -04:00
Matthias Clasen
299530a7a6 Set a window title on the add network dialog
Otherwise, it shows up as gnome-control-center, which is ugly.
2012-09-06 19:12:19 -04:00
Matthias Clasen
cd0363d3f5 Set a window title on the hotspot dialog
Set a blank title on the hotspot dialog, otherwise it shows up
as gnome-control-center, which is ugly.
2012-09-06 19:10:37 -04:00
Matthias Clasen
a955ec4152 Switch files created by me to GPLv2+
This matches the rest of the control-center code base.
https://bugzilla.gnome.org/show_bug.cgi?id=683420
2012-09-06 19:07:09 -04:00
Benjamin Berg
c1857b0f9c display: Fix mouse events not working in preview
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
2012-09-06 14:16:27 +01:00
Florian Müllner
eee381abdd mouse: Add penta-click test in addition to double-click
Clicking anything five times should obviously bring up an image (by
Jakub Steiner) of a five-legged goat :-)

https://bugzilla.gnome.org/show_bug.cgi?id=682492
2012-09-05 19:41:48 +01:00
Stefano Facchini
49797e8ae2 printers: Add missing definition of HAVE_CUPS_1_6
Commit 1532d7ef forgot to actually define HAVE_CUPS_1_6
when building against CUPS 1.6

https://bugzilla.gnome.org/show_bug.cgi?id=683441
2012-09-05 18:47:59 +01:00
Jakub Steiner
dbff39026b background: Use a varied color palette
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
2012-09-05 18:00:41 +01:00
Rui Matos
9d46f8393c region: Expand the supported IBus engines whitelist
Thanks to Daiki Ueno for assembling the list.

https://bugzilla.gnome.org/show_bug.cgi?id=682313
2012-09-04 16:11:30 +02:00
Marek Kasik
a0ad46365f printers: Remove redundant functions
Remove functions which are not used anymore. (#683229)
2012-09-04 14:09:06 +02:00
Marek Kasik
45ba8e89e8 printers: Redesign of new printer dialog
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)
2012-09-04 14:09:06 +02:00
Marek Kasik
9428b7a641 printers: Set longer timeouts
Set longer timeouts for GetBestDrivers, PrinterAddOption and
PrinterAddOptionDefault. These can take more time than already
specified timeouts. (#683229)
2012-09-04 14:09:06 +02:00
Marek Kasik
c34e282bab printers: Return after callback
Return from get_ppds_attribute_async() right after callback
was called. Otherwise the callback could be called twice. (#683229)
2012-09-04 14:09:06 +02:00
Marek Kasik
dea424dbee printers: Add PpNewPrinter object for installation of new printer
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)
2012-09-04 14:09:05 +02:00
Marek Kasik
6f8b9e8825 printers: Allow printer_get_ppd_async() to get PPD from remote host
Adds host_name and port parameters to printer_get_ppd_async(). If host_name
is NULL then it gets the PPD from local CUPS server. (#683229)
2012-09-04 14:09:05 +02:00
Marek Kasik
8695554557 printers: Make get_paper_size_from_locale() available to other source files
Export get_paper_size_from_locale() in pp-utils.h. (#683229)
2012-09-04 14:09:05 +02:00
Marek Kasik
1532d7ef1a printers: Add PpMaintenanceCommand object for execution of commands
PpMaintenanceCommand object contains asynchronous method which executes
given CUPS maintenance command (e.g. "AutoConfigure"). (#683229)
2012-09-04 14:09:05 +02:00
Marek Kasik
142d2c65b4 printers: Add PpHost object for listing print devices
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)
2012-09-04 14:09:05 +02:00
Marek Kasik
0cb0dab377 printers: Add async method for listing print devices
This commit adds asynchronous function get_cups_devices_async() which
sequentially executes CUPS' backends and returns found devices
by a callback. (#683229)
2012-09-04 14:09:05 +02:00
Marek Kasik
5a2794a7fe printers: Add PpCups object for getting destinations
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)
2012-09-04 14:09:05 +02:00
Marek Kasik
cc2e15a592 printers: Move common constants to pp-utils.h
Move constants which are used in more than one source file
to pp-utils.h. (#683229)
2012-09-04 14:09:05 +02:00
Marek Kasik
1f76a739e3 printers: Include missing header
<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)
2012-09-04 14:09:05 +02:00
Rui Matos
2a87480f26 region: Honor the 'show-all-sources' gsettings key
This setting overrides our supported IBus engines whitelist and makes
us show every engine installed on the system when enabled.

https://bugzilla.gnome.org/show_bug.cgi?id=682313
2012-09-04 14:06:01 +02:00
Federico Mena Quintero
f0be9146d4 displays: bgo#592412 - Make 'Mirrored Displays' string consistent with GnomeRRLabeler
We had 'Mirror displays' as a command in the control center, but 'Mirror screens' as a description in
GnomeRRLabeler.  Now we have 'Mirrored Displays' as a description of the current state.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
2012-09-03 14:07:29 -05:00
Rui Matos
7171520e72 region: Use the async IBus engines getter
https://bugzilla.gnome.org/show_bug.cgi?id=683035
2012-09-03 18:43:24 +02:00
William Jon McCann
0703d545a5 datetime: make the map insensitive when the panel is locked
https://bugzilla.gnome.org/show_bug.cgi?id=672445
2012-09-03 12:01:42 -04:00
Ondrej Holy
936c188bf0 mouse: Widget allocated size fallback
https://bugzilla.gnome.org/show_bug.cgi?id=579135
2012-08-30 11:11:55 +01:00
Ondrej Holy
1f68f46d74 mouse: Reset timeouts id to zero
https://bugzilla.gnome.org/show_bug.cgi?id=579135
2012-08-30 11:11:55 +01:00
Ondrej Holy
1cf9c9b078 mouse: New testing area according to mockup
https://bugzilla.gnome.org/show_bug.cgi?id=579135
2012-08-30 11:11:55 +01:00
Bastien Nocera
8b7fd5787f universal-access: Remove unused object
One less thing for translators to translate.
2012-08-28 16:51:47 +01:00
Jiro Matsuzawa
8c921b2dd4 network: add translation context for Wifi security
https://bugzilla.gnome.org/show_bug.cgi?id=682876
2012-08-28 16:51:47 +01:00
Jiro Matsuzawa
41584b6e5b universal-access: add translation context for Zoom
https://bugzilla.gnome.org/show_bug.cgi?id=682876
2012-08-28 16:51:46 +01:00
Jiro Matsuzawa
ce53dc7fd9 wacom: add translation context for Wacom action type
https://bugzilla.gnome.org/show_bug.cgi?id=682876
2012-08-28 16:51:46 +01:00