Commit graph

14989 commits

Author SHA1 Message Date
Marek Kasik
7eded1afa5 printers: Add functions for searching for LPD printers
Add pp_host_get_lpd_devices_async() and
pp_host_get_lpd_devices_finish() functions to PpHost class.
pp_host_get_lpd_devices_async() starts searching for LPD printer
on given address.
The test consist in connection to the default port 515 (or the one
given by creator of PpHost) of the address and sending a print job
to it, which in turn returns a status (we test several standard
queue names).
We suppose that there is a LPD printer on the address if a buffer
with zero length is returned (rfc 1179 5.2).

https://bugzilla.gnome.org/show_bug.cgi?id=695564
2014-07-31 11:44:16 +02:00
Marek Kasik
89fe4eda12 printers: Allow to add AppSocket/HP JetDirect printers
Add pp_host_get_socket_devices_async() and
pp_host_get_socket_devices_finish() functions to PpHost class.
pp_host_get_socket_devices_async() starts searching for socket printer
on given address.
The test consist in connection to the default port 9100 (or the one
given by creator of PpHost) of the address.
We suppose that there is an AppSocket/HP JetDirect printer on the address
if the connection succeeds.

See these links for additional info:
http://en.wikipedia.org/wiki/JetDirect
http://www.cups.org/documentation.php/network.html

https://bugzilla.gnome.org/show_bug.cgi?id=695564
2014-07-31 11:44:16 +02:00
Marek Kasik
6576db1a16 printers: Make pp_devices_list_free() generally available
Move pp_devices_list_free() to pp-utils.h and optimize it
using g_list_free_full().

https://bugzilla.gnome.org/show_bug.cgi?id=695564
2014-07-31 11:44:16 +02:00
Marek Kasik
a15c2f831a printers: Don't request port during creation of PpHost
This allows us to distinguish between situations when the port
was specified and when it was not.

https://bugzilla.gnome.org/show_bug.cgi?id=695564
2014-07-31 11:44:16 +02:00
Marek Kasik
8331c88bcd printers: Export name of selected PPD from PPD dialog
Add pp_ppd_selection_dialog_get_ppd_display_name() function
which returns human-readable name of selected PPD.

https://bugzilla.gnome.org/show_bug.cgi?id=695564
2014-07-31 11:44:16 +02:00
Marek Kasik
375c5b0086 printers: Separate canonicalization of device name
Move code for canonicalization of device names to
a separate function for reusability.

https://bugzilla.gnome.org/show_bug.cgi?id=695564
2014-07-31 11:44:16 +02:00
Marek Kasik
190d27b8aa printers: Merge TDevice into PpPrintDevice
PpPrintDevice has grown quite a lot since its introduction.
It contains almost all members of TDevice now.
Merging members of TDevice into PpPrintDevice saves us some work
and allows us to process TDevice's data out of pp-new-printer-dialog.c.

https://bugzilla.gnome.org/show_bug.cgi?id=695564
2014-07-31 11:44:16 +02:00
Olav Vitters
68c611f255 doap category core 2014-07-30 16:28:19 +02:00
Richard Hughes
e9b0527b4b color: Do not set the 'Details' button for virtual profiles
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1119408
2014-07-29 19:46:22 +01:00
Yuri Myasoedov
265621bc4c Updated Russian translaion 2014-07-29 22:31:51 +04:00
Yuri Myasoedov
faca9c3b0d Updated Russian translaion 2014-07-29 21:59:20 +04:00
Daniel Mustieles
98a2a45f77 Updated Spanish translation 2014-07-28 18:22:09 +02:00
Rafael Ferreira
9420e1e7c3 Updated Brazilian Portuguese translation 2014-07-28 06:33:03 +00:00
Aron Xu
0967a45bf5 Update zh_CN translation 2014-07-28 00:14:26 +08:00
Bastien Nocera
36dc06fd97 network: Add DNS to the keywords
https://bugzilla.gnome.org/show_bug.cgi?id=733763
2014-07-26 15:56:25 +02:00
Balázs Úr
a833df0e47 Updated Hungarian translation 2014-07-26 07:58:52 +00:00
Aurimas Černius
367ec19e9e Updated Lithuanian translation 2014-07-25 22:48:44 +03:00
Kjartan Maraas
fc6bdf9f3e Updated Norwegian bokmål translation. 2014-07-25 13:47:38 +02:00
Daniel Mustieles
b31853552d Updated Spanish translation 2014-07-24 15:14:44 +02:00
Rafael Ferreira
43eac4fa33 Updated Brazilian Portuguese translation 2014-07-24 12:36:06 +00:00
Bastien Nocera
1fe3d1fe1c network: Remove "..." from dialogue titles
https://bugzilla.gnome.org/show_bug.cgi?id=696845
2014-07-24 13:19:09 +02:00
Bastien Nocera
3de071f8e3 network: Fix network icon names for newer versions
network-wireless-signal-excellent and network-cellular-signal-excellent
don't exist in non-symbolic variants anymore, so use the fallback
names instead.

https://bugzilla.gnome.org/show_bug.cgi?id=695480
2014-07-24 13:00:35 +02:00
Bastien Nocera
22c4db538f sharing: Avoid truncated folders list in media sharing
When XDG user dirs are badly setup, and the folders list contains items
such as @VIDEOS@ or @MUSIC@, g_get_user_special_dir() returns NULL and
we would insert NULL into the string array. That would cause the code
reading it to assume the end of the array was reached.

Go through a temporary array instead to build it.

https://bugzilla.gnome.org/show_bug.cgi?id=733489
2014-07-24 12:39:08 +02:00
Bastien Nocera
056784e60e sharing: Fix crash in media preferences
When XDG user dirs are badly setup, g_get_user_special_dir() will return
NULL, causing us to crash. Use g_strcmp0() instead.

https://bugzilla.gnome.org/show_bug.cgi?id=733489
2014-07-24 12:39:08 +02:00
Ondrej Holy
4f2e590cf5 user-accounts: fix response sensitivity of photo dialog
Preview has to be generated after default handler of "selection-changed"
signal, otherwise dialog response sensitivity is rewritten (Bug 547988).
Preview also has to be generated on "selection-changed" signal to reflect
all changes (Bug 660877).

https://bugzilla.gnome.org/show_bug.cgi?id=721683
2014-07-24 11:40:32 +02:00
Josef Andersson
b3baecdc29 Updated Swedish translation 2014-07-23 20:40:23 +00:00
Rui Matos
042d3302ee 3.13.4 2014-07-23 15:50:37 +02:00
Cosimo Cecchi
84a9c519ec power: always connect to power settings changes
We were failing to connect to the signal when CanHibernate returned
FALSE; in that case, we would never update the automatic suspend label
when a setting in the dialog was changed.

https://bugzilla.gnome.org/show_bug.cgi?id=733412
2014-07-23 14:37:17 +02:00
Kjartan Maraas
ec6fdf359b Updated Norwegian bokmål translation. 2014-07-23 10:47:44 +02:00
Cosimo Cecchi
059ee0bb97 mouse: use resource instead of pixbuf to load SVG
This will let us load the image with appropriate scale factor when
necessary.

https://bugzilla.gnome.org/show_bug.cgi?id=733417
2014-07-22 20:06:34 -07:00
Cosimo Cecchi
8b3a689f8d info: use resource instead of pixbuf to load SVG
This will let us load the image with appropriate scale factor when
necessary.

https://bugzilla.gnome.org/show_bug.cgi?id=733417
2014-07-22 20:06:32 -07:00
Daniel Mustieles
32c5783c60 Updated Spanish translation 2014-07-22 12:29:54 +02:00
Arnaud Bonatti
eb6a9c656a online-accounts: Increase the height of the panel
https://bugzilla.gnome.org/show_bug.cgi?id=732636
2014-07-22 11:58:33 +02:00
Kjartan Maraas
9ed2ef3efe Updated Norwegian bokmål translation. 2014-07-21 14:10:27 +02:00
Kjartan Maraas
dce9ee78d0 Updated Norwegian bokmål translation. 2014-07-21 14:06:10 +02:00
Rui Matos
509bf4b5d0 keyboard: Add "print screen" and "scroll lock" to compose key options
These are reasonable enough that we don't have to hide them.

https://bugzilla.gnome.org/show_bug.cgi?id=733400
2014-07-21 11:22:26 +02:00
Michael Catanzaro
4ad8e2e85e shell: Use correct window icon
The window icon should match the icon specified in the desktop file.

https://bugzilla.gnome.org/show_bug.cgi?id=724937
2014-07-18 18:28:36 +02:00
Bastien Nocera
c33e98d1c7 background: Fix semi-random placement style when selecting "Picture"
When selecting a background from the Pictures source, make sure that
the placement is reset from whatever it was set to before, otherwise
it will make use of the previous one, leading to tiled wallpapers if a
colour was selected before, for example.

https://bugzilla.gnome.org/show_bug.cgi?id=703057
2014-07-18 18:28:36 +02:00
Bastien Nocera
65d4ba163a background: Create a placeholder for manually added items
When adding things that might be screenshots, always create a
placeholder if the image was added manually.

https://bugzilla.gnome.org/show_bug.cgi?id=689351
2014-07-18 18:28:36 +02:00
Bastien Nocera
41be6eeace background: Copy all the manually added backgrounds
Except the ones already in the Pictures directory

https://bugzilla.gnome.org/show_bug.cgi?id=689351
2014-07-18 18:28:36 +02:00
Bastien Nocera
e8e3d5ff05 background: Ensure screenshots are removed from the list
Even the ones that weren't detected as PNG in the first place.
2014-07-18 18:28:36 +02:00
Bastien Nocera
cf26e6ca93 background: Make placeholder the same size as thumbnails
Otherwise they look tiny and compacted.

https://bugzilla.gnome.org/show_bug.cgi?id=689351
2014-07-18 18:28:36 +02:00
Bastien Nocera
c3fc12893a background: Split up creation of loading icon
https://bugzilla.gnome.org/show_bug.cgi?id=689351
2014-07-18 18:28:36 +02:00
Bastien Nocera
ebbda7a9e3 background: Remember added colours
https://bugzilla.gnome.org/show_bug.cgi?id=689351
2014-07-18 18:28:36 +02:00
Bastien Nocera
8115ba4600 background: Allow dropping colours as well
https://bugzilla.gnome.org/show_bug.cgi?id=689351
2014-07-18 18:28:36 +02:00
Bastien Nocera
ccf7dc70d4 background: Re-add drag'n'drop support
Inside the chooser dialogue itself.

https://bugzilla.gnome.org/show_bug.cgi?id=689351
2014-07-18 18:28:36 +02:00
Bastien Nocera
e1fab88105 background: Prevent monitor_pictures_model() running multiple times
https://bugzilla.gnome.org/show_bug.cgi?id=689351
2014-07-18 18:28:36 +02:00
Enrico Nicoletto
0586f3f09d Updated Brazilian Portuguese translation 2014-07-18 16:21:12 +00:00
Ondrej Holy
924872ba0c user-accounts: do not generate previews for directories
https://bugzilla.gnome.org/show_bug.cgi?id=721683
2014-07-18 18:19:12 +02:00
Rui Matos
cf0c9f6134 common: Add Cancel/OK buttons to the language chooser
These were lost with the transition to headerbars.

https://bugzilla.gnome.org/show_bug.cgi?id=732725
2014-07-18 16:05:42 +02:00