Commit graph

15718 commits

Author SHA1 Message Date
Marek Kasik
48ef91a0b9 printers: Fix compile-time warning
pp-new-printer-dialog.c:673:18: warning: 'device' may be used uninitialized
in this function [-Wmaybe-uninitialized]
2015-07-29 15:48:08 +02:00
Benjamin Steinwender
463189a3da Updated German translation 2015-07-29 04:20:07 +00:00
Akom Chotiphantawanon
00f498f0dd Updated Thai translation 2015-07-28 13:54:43 +07:00
Joanmarie Diggs
cfb12e4e22 sharing: Accessibility improvements
* Add label-for/labelled-by AtkRlation pair between the "Computer Name"
  label and its entry.
* Give an accessible name to the switch in the header bar. In order to
  not break string freeze, used "Sharing" since that's what's shown in
  the header bar.
* Fix the incorrect mnemonic widget for media sharing so that Orca speaks
  the label in the main sharing panel, and the name in the media sharing
  dialog

https://bugzilla.gnome.org/show_bug.cgi?id=746759
2015-07-27 19:48:49 +02:00
Marek Kasik
68e92988a8 printers: Cache pointer to devices-treeview
Store device-treeview in PpNewPrinterDialogPrivate so we
don't need to search for it each time we need it.

https://bugzilla.gnome.org/show_bug.cgi?id=749830
2015-07-27 16:28:39 +02:00
Marek Kasik
c26553ed3e printers: Use macro for getting widgets from builder
Use macro for getting widgets from builder in the New printer dialog.

https://bugzilla.gnome.org/show_bug.cgi?id=749830
2015-07-27 16:28:36 +02:00
Marek Kasik
087c4ff208 notifications: Don't crash because of zero-length string
Check whether given application child is at least 1 character
long to avoid crash which can happen as a result of creating
of GDesktopAppInfo with NULL desktop file id.
To reproduce this run "gnome-control-center notifications" and
"gsettings set org.gnome.desktop.notifications application-children "['']"".

https://bugzilla.gnome.org/show_bug.cgi?id=752525
2015-07-27 16:23:19 +02:00
Dušan Kazik
5aadc1a44f Updated Slovak translation 2015-07-27 09:28:41 +00:00
Sebastian Keller
81e89fb7f8 network: Fix unintentionally centered checkbutton labels
See https://bugzilla.gnome.org/show_bug.cgi?id=732361

https://bugzilla.gnome.org/show_bug.cgi?id=732374
2015-07-27 00:00:43 +02:00
Bastien Nocera
50d4cc2263 network: Rename hotspot security key to "Password"
https://bugzilla.gnome.org/show_bug.cgi?id=735909
2015-07-26 23:58:17 +02:00
Martin Hatina
000dae6e98 printers: Replace deprecated widgets
Replace some deprecated widgets.

https://bugzilla.gnome.org/show_bug.cgi?id=723378
2015-07-26 23:49:39 +02:00
Bastien Nocera
557dc46d97 datetime: Load backward file from GResource
So it doesn't warn when not installed in the target prefix yet.

https://bugzilla.gnome.org/show_bug.cgi?id=752831
2015-07-26 23:48:48 +02:00
Fabio Tomat
062807d19d Updated Friulian translation 2015-07-26 18:47:16 +00:00
Fabio Tomat
4b845511d6 Updated Friulian translation 2015-07-26 09:22:12 +00:00
Fabio Tomat
b492105a9d Updated Friulian translation 2015-07-25 11:27:20 +00:00
Rui Matos
66604d4ae6 region: Don't ever show all input sources in the chooser
While filtering we're adding all the input source rows to the
GtkListBox. This is a performance issue since GtkListBox doesn't
really cope with a big number of rows.

Instead, we'll filter the locale rows in a way such that we'll show a
locale row for which any input source name matches. From this filtered
locales view, users will still need to activate a locale row to get to
the input source rows view.

https://bugzilla.gnome.org/show_bug.cgi?id=752383
2015-07-22 16:10:27 +02:00
Fabio Tomat
9cc44b9c8b Updated Friulian translation 2015-07-22 12:40:59 +00:00
Fabio Tomat
24f94e2fdf Updated Friulian translation 2015-07-21 23:44:47 +00:00
Fabio Tomat
566b9fe0e8 Updated Friulian translation 2015-07-21 23:06:08 +00:00
Fabio Tomat
8c3f805073 Updated Friulian translation 2015-07-21 16:22:39 +00:00
Bastien Nocera
33b5f0a9c0 3.17.3 2015-07-21 16:16:51 +02:00
Bastien Nocera
f7467d2175 datetime: Make it possible to focus the time spin buttons
https://bugzilla.gnome.org/show_bug.cgi?id=752609
2015-07-20 12:08:59 +02:00
Daniel Mustieles
50fc04fbb1 Updated Spanish translation 2015-07-20 12:03:41 +02:00
Pedro Albuquerque
109d9e28b3 Updated Portuguese translation 2015-07-18 09:56:40 +00:00
Marek Černocký
5d59ee5288 Updated Czech translation 2015-07-18 09:08:22 +02:00
Balázs Úr
4b4a19ee0d Updated Hungarian translation 2015-07-17 13:15:52 +00:00
Sveinn í Felli
4748b469d3 Updated Icelandic translation 2015-07-16 13:32:07 +00:00
Yosef Or Boczko
af861bf954 Updated Hebrew translation 2015-07-16 13:25:21 +03:00
Christophe Fergeau
3717e985eb shell: Don't call gtk_clutter_init() when using cheese
cheese_gtk_init() is called as well and will be taking care of that for
us.

https://bugzilla.gnome.org/show_bug.cgi?id=751597
2015-07-16 11:51:07 +02:00
Christophe Fergeau
a70172cfea shell: Move cheese_gtk_init() call earlier
Now that we handle local command line arguments, the 'command_line'
vfunc can no longer get the initial argc/argv passed to the process.
Now, cheese_gtk_init() is called unconditionally from main()
where argc/argv are available.

https://bugzilla.gnome.org/show_bug.cgi?id=751597
2015-07-16 11:51:07 +02:00
Christophe Fergeau
3f586c4a95 shell: Handle --version as a regular argument
It was handled through a callback calling exit(). Now that we have a
handle-local-options callback, we can handle it as a regular argument
from there.

https://bugzilla.gnome.org/show_bug.cgi?id=751597
2015-07-16 11:51:07 +02:00
Christophe Fergeau
b484470e56 shell: Handle --list from the local instance
This is an help-like parameter, so we want its output to show up in the
terminal from which gnome-control-center was just started, not from the
terminal from which the main gnome-control-center instance was started.

https://bugzilla.gnome.org/show_bug.cgi?id=751597
2015-07-16 11:51:06 +02:00
Christophe Fergeau
b3138a4c0f shell: Connect to "handle-local-options" signal
https://bugzilla.gnome.org/show_bug.cgi?id=751597
2015-07-16 11:50:48 +02:00
Christophe Fergeau
e8485dea69 shell: Parse command line args into a GVariantDict
Since we are using g_application_add_main_option, we can remove the
global variable used to parse the arguments into, and get the parsed
arguments from the GVariantDict returned by
g_application_command_line_get_options_dict().
This is in preparation for handling some command line options in the
local gnome-control-center instance, and others in the remote instance.

https://bugzilla.gnome.org/show_bug.cgi?id=751597
2015-07-16 11:49:40 +02:00
Christophe Fergeau
750bb5158d shell: Use g_application_add_main_option_entries
Since GApplication provides this API, we can as well use it, this will
be useful in order to correctly split option handling between the local
instance and the main instance.

https://bugzilla.gnome.org/show_bug.cgi?id=751597
2015-07-16 11:49:40 +02:00
Christophe Fergeau
0db5500232 shell: Don't handle --help ourselves
GOption can handle --help for us, so we don't need to reimplement this
ourselves. This causes a small regression as starting a main
gnome-control-center instance and then running gnome-control-center
--help will cause the main instance-control-center to exit. This will be
fixed in the following patches, and this fixes the opposite bug:
if gnome-control-center is not running, gnome-control-center --help
would not exit after displaying the help before this commit.

https://bugzilla.gnome.org/show_bug.cgi?id=751597
2015-07-16 11:49:40 +02:00
Christophe Fergeau
c33ac8bca9 shell: Fix GVariantBuilder leak
When a GVariantBuilder is created with g_variant_builder_new(), it must
be unref'ed with g_variant_builder_unref() when no longer needed. In
this case, we can just use a local stack-allocated GVariantBuilder to
avoid the leak.

https://bugzilla.gnome.org/show_bug.cgi?id=751597
2015-07-16 11:49:40 +02:00
Christophe Fergeau
c84722248e shell: Revert "Let panels have their own commandline flags"
This reverts commit 31a8a99440.

This was meant for bgo#695885 which has stalled for a while, so this
feature has no in-tree user. This commit removes it for now, this can be
readded when users for it materialize.

https://bugzilla.gnome.org/show_bug.cgi?id=751597
2015-07-16 11:49:34 +02:00
Ondrej Holy
7ce6ce6807 user-accounts: Fix enterprise user login permitting
Commit 3e6b741a introduced check for NULL on um_realm_object_get_common.
Unfortunatelly one check is wrong and breaks the login permitting.
The patch fixes the wrong check.

https://bugzilla.gnome.org/show_bug.cgi?id=752405
2015-07-15 17:34:49 +02:00
Rui Matos
f2f4626f64 region: Avoid overly long labels causing horizontal scrolling
Just ellipsize them instead.

https://bugzilla.gnome.org/show_bug.cgi?id=752383
2015-07-15 15:24:27 +02:00
Rui Matos
c8986f602a network/net-device-ethernet: Re-work how we keep track of connections
When we're finalizing, the remote settings instance might already be
gone and thus we can't list connections. In particular this happens at
panel finalization resulting in the following warning:

libnm-glib-CRITICAL **: nm_remote_settings_list_connections: assertion
'NM_IS_REMOTE_SETTINGS (settings)' failed

because cc_network_panel_dispose() unrefs the remote settings object
before all the NetDevice instances are finalized.

Since we only need to list connections on finalize to disconnect a
signal we can instead use g_signal_connect_object() and keep the
connections that we're keeping track of in a hash table instead of
g_object_set_data().

https://bugzilla.gnome.org/show_bug.cgi?id=749850
2015-07-15 15:24:21 +02:00
Pedro Albuquerque
12898d3e19 Updated Portuguese translation 2015-07-15 08:53:01 +00:00
Hannie Dumoleyn
753cc48797 Updated Dutch translation Master 3.18 2015-07-14 17:35:28 +02:00
Marek Kasik
880cc01550 printers: Don't show the same device multiple times
Pass all discovered devices to 'GroupPhysicalDevices' instead of just
the devices already present in the list and the newly discovered ones.
Replace an existing device in the list if there is a better device
(e.g. replace 'usb:' by 'hp:' device).

https://bugzilla.gnome.org/show_bug.cgi?id=693186
2015-07-13 12:07:59 +02:00
Marek Kasik
b02f7722dd printers: Check whether we have a device name
Check whether we've been able to find a usable name of given device
to avoid dereference of NULL in canonicalize_device_name().

https://bugzilla.gnome.org/show_bug.cgi?id=749896
2015-07-13 11:21:53 +02:00
Daniel Mustieles
61a0a8c633 Updated Spanish translation 2015-07-13 10:32:57 +02:00
Bastien Nocera
ac59708d3f datetime: Fix incorrect sensitivity when permission is missing
When the permission is missing, we shouldn't make the rows sensitive.

https://bugzilla.gnome.org/show_bug.cgi?id=709774
2015-07-10 17:14:02 +02:00
Dušan Kazik
fc2dc5a046 Updated Slovak translation 2015-07-10 14:56:17 +00:00
Piotr Drąg
9403d055f6 Updated Polish translation 2015-07-10 16:32:30 +02:00
Matthias Clasen
83a55046ca power: Make the automatic suspend row accessible
Orca was not reading this row at all - since the row is
clickable (role 'push button'), orca expects it to have
an accessible name. So, lets set one.

https://bugzilla.gnome.org/show_bug.cgi?id=746756
2015-07-10 13:06:51 +02:00