Commit graph

15733 commits

Author SHA1 Message Date
Marek Kasik
cb07ee03a0 printers: Use GtkListStore for device list
Remove the GList holding printing devices and use already present
GtkListStore for this in the New printer dialog.

This avoids us to install wrong printer when there is more devices
with the same name since we have GtkTreeIter of the selected row.

Use GtkTreeModelFilter for filtering of current devices.

Update test for canonicalize_device_name() since I had to change one
of its parameters.

https://bugzilla.gnome.org/show_bug.cgi?id=749830
2015-08-03 16:56:41 +02:00
Andika Triwidada
2946d08c22 Updated Indonesian translation 2015-08-03 06:50:17 +00:00
Aurimas Černius
f2fd1b17e2 Updated Lithuanian translation 2015-08-02 17:47:27 +03:00
Dušan Kazik
f62e659d93 Updated Slovak translation 2015-08-01 14:37:23 +00:00
Jordi Mas
223c9e3832 Update Catalan translation 2015-08-01 11:39:56 +02:00
Pedro Albuquerque
91b1116a8f Updated Portuguese translation 2015-08-01 09:36:58 +00:00
Bastien Nocera
2fbac9b23b bluetooth: More tweaks to "off mode" pages
Some small changes labels, spacing and icons changes.
2015-07-31 15:08:17 +02:00
Kjartan Maraas
99cfba59ce Updated Norwegian bokmål translation from Åka Sikrom. 2015-07-31 11:54:04 +02:00
Bastien Nocera
15c8f0d012 bluetooth: Better UI when Bluetooth is disabled
We now offere separate "Bluetooth is off" and "Airplane mode is on"
pages. The "Airplane mode is on" offers to turn off airplane mode
altogether.

We also have better explanations for all the other modes, and a filler
Bluetooth logo to make the page seem less empty.

https://bugzilla.gnome.org/show_bug.cgi?id=751483
2015-07-30 20:13:29 +02:00
Bastien Nocera
e59e43b242 bluetooth: Add Obex sharing keywords
https://bugzilla.gnome.org/show_bug.cgi?id=740369
2015-07-30 20:13:29 +02:00
Bastien Nocera
9d45904f3c sharing: Remove "Bluetooth" (Obex) sharing
It will be moved to the Bluetooth panel instead.

https://bugzilla.gnome.org/show_bug.cgi?id=740369
2015-07-30 20:13:29 +02:00
Bastien Nocera
8d6bdda036 bluetooth: Remove useless FIXME
Who knows what that was for...
2015-07-30 20:13:29 +02:00
Marek Kasik
60bf057bab printers: Merge device-class and is-network-device properties
'device-class' property of PpPrintDevice can contain "network"
or "direct" values. This information can be stored in already
present property 'is-network-device' as well.

https://bugzilla.gnome.org/show_bug.cgi?id=749830
2015-07-30 16:28:09 +02:00
Marek Kasik
7b21b22eef printers: Make PpPrintDevice a regular class
Create class PpPrintDevice with properties taken
from the original PpPrintDevice structure.

https://bugzilla.gnome.org/show_bug.cgi?id=749830
2015-07-30 16:28:06 +02:00
Kjartan Maraas
6542c89659 Updated Norwegian bokmål translation. 2015-07-30 11:35:43 +02:00
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