Commit graph

2301 commits

Author SHA1 Message Date
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
Rui Matos
658083fffa region: Don't use IBus if running in fallback mode
In fallback mode we don't want to touch IBus since the gnome-shell UI
isn't there to provide the full integrated user experience.

We expect users to continue using existing IBus UIs in fallback mode.

https://bugzilla.gnome.org/show_bug.cgi?id=682864
2012-08-28 14:26:53 +02:00
Rui Matos
dee8e0917a region: Use a filter model on input sources
This allows us to hide some entries which for whatever reason we can't
display without removing them from gsettings.

This reverts commit 54835c8f44.
This reverts commit 953cc81b0f.
This reverts commit ab0594239c.
This reverts commit 03f08fd36c.

https://bugzilla.gnome.org/show_bug.cgi?id=682864
2012-08-28 14:26:52 +02:00
Ondrej Holy
14dde72dfe mouse: Fix of bad radio spacing in RTL.
https://bugzilla.gnome.org/show_bug.cgi?id=669961
2012-08-28 12:05:51 +01:00
Ondrej Holy
3e5cdb6fce mouse: Switch left/right radios according text direction.
https://bugzilla.gnome.org/show_bug.cgi?id=669961
2012-08-28 12:05:51 +01:00
Bastien Nocera
b0dcb29857 sound: The angry flower read the comments again 2012-08-28 11:49:23 +01:00
Bastien Nocera
5b8509088c sound: Spell "Can't" properly in debug 2012-08-28 11:49:23 +01:00
Giovanni Campagna
4d80e47776 system info: set related mime types when changing preferred apps
Setting the preferred music or video app only changed the handler
for ogg audio/video, leaving an inconsistent state where the previous
(system default) app would be used for other images, audio and video
formats.
Instead make it so that when the user changes his preferences,
the application becomes the default for all mime types in the same
group that it supports.
Nothing changes if configuration is modified externally (e.g.
by hand or through nautilus): expose as preferred app the one that
is configured to handle the primary content type.

https://bugzilla.gnome.org/show_bug.cgi?id=674084
2012-08-24 19:50:21 +02:00
Bastien Nocera
f4c3d190bc display: Avoid possible warning on exit
(gnome-control-center:8728): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gnome-control-center:8728): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
2012-08-23 14:22:19 +01:00
Zan Dobersek
570bafaf6b user-accounts: Fix match icon not updating in some cases
Check the new password matching after focusing out either entries.

Validate the content of the verify password entry after
focusing out either the new password entry or the verify entry.

Previously the user could mistype his new password in the new
password entry, but when it was corrected, the verify entry
would still be indicating that the confirmation password did not
match when it did.

https://bugzilla.gnome.org/show_bug.cgi?id=668844
2012-08-23 11:08:38 +01:00
Bastien Nocera
af8a644075 user-accounts: Fix login keyring password not getting updated
By passing the environment down to passwed rather than an empty one.
This means that passwd's PAM modules will be able to access the session
D-Bus, for the gnome-keyring PAM module to change the keyring password
for example.

https://bugzilla.gnome.org/show_bug.cgi?id=616703
2012-08-22 16:31:59 +01:00
Javier Jardón
b682a3c6e9 common: Add Arabic as a common language
https://bugzilla.gnome.org/show_bug.cgi?id=671530
2012-08-22 16:17:20 +01:00
Bastien Nocera
0e2b4a9600 common: Add Russian as a common language
https://bugzilla.gnome.org/show_bug.cgi?id=671530
2012-08-22 16:16:14 +01:00
Dan Winship
8f1b6d6787 network: don't try to activate slave connections
https://bugzilla.gnome.org/show_bug.cgi?id=682469
2012-08-22 10:32:59 -04:00
Dan Winship
8df1069f7d network: fix wired/mobile activation
You have to pass the NMDevice to nm_client_activate_connection() for a
device-specific connection. This got broken at some point in the
rewrites since 3.4.

https://bugzilla.gnome.org/show_bug.cgi?id=682469
2012-08-22 10:32:59 -04:00
Dan Winship
ecdb1d8477 network: ignore unrecognized device types
rather than showing a blank line in the device-type list that doesn't
do anything.

https://bugzilla.gnome.org/show_bug.cgi?id=678210
2012-08-22 10:32:59 -04:00
Colin Walters
20a980d6ca Fix missing = 2012-08-22 09:42:18 -04:00
Matthias Clasen
4d62e05fb0 common: Add Policykit rules for hostname setting
Allow setting the computer's pretty hostname if the user is an admin.

https://bugzilla.gnome.org/show_bug.cgi?id=679281
2012-08-22 14:16:46 +01:00
Jasper St. Pierre
d2aa0ce5d8 common: Fix memory leaks in language sorting
https://bugzilla.gnome.org/show_bug.cgi?id=679836
2012-08-22 13:47:40 +01:00
Rico Tzschichholz
ddf8c56caf background: Add missing include
bg_pictures_source_get_*_path is defined in bg-pictures-source.h
2012-08-22 12:52:29 +02:00
Bastien Nocera
03a88bbba5 mouse: Remove unused variable 2012-08-22 10:38:34 +01:00
Bastien Nocera
905b7f999c mouse: Remove italics from test page
https://bugzilla.gnome.org/show_bug.cgi?id=682397
2012-08-22 10:38:04 +01:00
Jasper St. Pierre
eaef6e5d50 um-user: Use GdkCairo operations to draw on the pixbuf
Remove a bunch of bit twiddling code.

https://bugzilla.gnome.org/show_bug.cgi?id=682391
2012-08-22 03:35:54 -03:00
Frédéric Péters
e87c564cdb printers: remove blank class_finalize function 2012-08-21 22:10:14 +02:00
Ray Strode
b0e7a5efa8 panels: add register macro
Bastien says he doesn't like the blank class_finalize
functions in every panel and he would like a wrapper
macro to hide them.

This commit does that.
2012-08-21 14:32:33 -04:00
Ray Strode
3bf8bcf3f8 online-accounts: set up finalize handler at class init time
It was being set up at class finalization time, which is too late.

Fixes crash when switching from panel to shell and back
(and then try to interact with the switches).

https://bugzilla.gnome.org/show_bug.cgi?id=682379
2012-08-21 13:37:54 -04:00