Commit graph

1075 commits

Author SHA1 Message Date
Marek Kasik
7b830a3c6a printers: Cache PPD files for later use
Don't get PPD file from CUPS server every time user needs
an information from it. Have PPD files stored on disk and
delete them on exit.
2011-04-22 14:30:26 +02:00
Marek Kasik
6b0c9cacb2 printers: Set default PaperSize of new printer according to the locale
Set Letter or A4 according to the locale when adding new printer (rhbz#691714).
2011-04-19 13:30:02 +02:00
Cosimo Cecchi
8e19a10930 media: actually bind the 'autorun-never' key to the checkbox widget
The 'Never prompt or start programs on media insertion' checkbox was not
wired properly with the relevant settings key.

https://bugzilla.gnome.org/show_bug.cgi?id=648108
2011-04-18 11:28:37 -04:00
Marek Kasik
6e479859ed printers: Make call of DevicesGet cancellable
Pass a GCancellable object to g_dbus_proxy_call() for DevicesGet
method. This assures that g-c-c won't crash when user cancels addition
of new printer before the call is finished (rhbz#691931).
2011-04-18 16:14:27 +02:00
Bastien Nocera
07e51912e6 datetime: Unset TZ after we're done
Just in case we call localtime() for something else...
2011-04-15 04:15:30 +01:00
Bastien Nocera
3746d6e2c5 datetime: Shrink the number of messages in test-tz
So that we avoid showing duplicates. Also don't show errors for
the Factory and posixrules timezones.
2011-04-15 02:40:21 +01:00
Bastien Nocera
3e8afd5750 datetime: Add hacks to support all the TZs
On a recent Linux system, so all the existing timezones
(apart from factory and posixrules) are attached to a location,
or a GMT offset.

https://bugzilla.gnome.org/show_bug.cgi?id=644782
2011-04-15 02:40:21 +01:00
Bastien Nocera
8d15af48c8 datetime: Move backward TZ DB to tz.[ch]
So we can add hacks in one location
2011-04-15 02:40:20 +01:00
Bastien Nocera
f8c3b0c59e user-accounts: Don't include link in translation
And use a link to local documentation, rather than an
external website in English.

Removed mentions of "in English" for the languages that mentioned it.

https://bugzilla.gnome.org/show_bug.cgi?id=643118
2011-04-15 02:40:20 +01:00
Marek Kasik
75cfa6db4d printers: Block callback of printer selection when setting treemodel
Don't trigger callback of printer selection when setting treemodel
of printers list. Don't actualize jobs list when printer hasn't changed.
2011-04-13 18:14:13 +02:00
Bastien Nocera
846dca05af Revert "Users: Use a local document for 'How to choose a good password'"
This reverts commit 76ba785b06.

It's actually a string change, because the link is within the
translatable string.
2011-04-13 15:19:28 +01:00
Matthias Clasen
76ba785b06 Users: Use a local document for 'How to choose a good password'
The user guide contains a suitable page, so lets just use it.
https://bugzilla.gnome.org/show_bug.cgi?id=643118
2011-04-13 13:25:40 +01:00
Bastien Nocera
995be4e6f0 keyboard: Handle shortcuts conflict in different section
https://bugzilla.gnome.org/show_bug.cgi?id=646504
2011-04-13 12:51:54 +01:00
Bastien Nocera
0f3cf2286f keyboard: Use correct type for enum 2011-04-13 12:51:54 +01:00
Matthias Clasen
59db8d3716 Users: try harder not to show system accounts
When used with accountsservice >= 0.6.9, this fixes the problem where,
when you click the unlock button on the user panel, the root user pops
up in the user list, unexpectedly.

When used with 0.6.8 it silently does nothing, since the system-account
property is not available.

https://bugzilla.gnome.org/show_bug.cgi?id=647487
2011-04-12 20:37:36 -04:00
Marek Kasik
2b3da7feb8 printers: Set default printer properly
Clean "~/.cups/lpoptions" file before setting default printer
on local CUPS server. Store default printer to "~/.cups/lpoptions"
if we are connected to a remote CUPS server (#646100).
2011-04-12 16:43:36 +02:00
Bastien Nocera
c22a98dcb7 info: Make free space checking async
https://bugzilla.gnome.org/show_bug.cgi?id=647125
2011-04-10 18:40:49 +01:00
Richard Hughes
03d17a95c4 network: add a 'Other...' entry to the wireless combobox so users can connect to hidden access points
A suprising number of people need this to be able to get onto their wireless
network. This is also a Fedora blocker if that matters.

This patch also adds a string. I don't feel there is a way around it, although
we could steal the translations from another project. I think using a real word
is better than displaying a blank entry or a picture or something. I dunno.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=645002
2011-04-10 10:31:48 +01:00
Bastien Nocera
ce561eb68f sound: Prevent > 100% volume showing up as 100%
When the output of input bar changes from a non-decibel capable
output, to one that is (such as on startup), don't clip the
volume displayed at 100%, by setting the level of the bar again.

https://bugzilla.gnome.org/show_bug.cgi?id=646254
2011-04-08 16:12:56 +01:00
Bastien Nocera
58e4fab6be background: Allow adding multiple images
https://bugzilla.gnome.org/show_bug.cgi?id=647053
2011-04-08 13:41:47 +01:00
Bastien Nocera
6233c7d20f info: Use correct destructor for GUnixMountEntry 2011-04-08 13:00:38 +01:00
Bastien Nocera
9d94d2dfae keyboard: Fix reloading keyboard shortcuts
When reloading entries, we also need to clear the section
hash tables, otherwise we won't be adding the keys as they
already exist in the hashtables.

Fixes empty keyboard shortcuts when creating a new workspace (eg.
moving any window to an empty workspace in gnome-shell)

https://bugzilla.gnome.org/show_bug.cgi?id=646949
2011-04-07 16:16:52 +01:00
Matthias Clasen
01b639d64f Sound: Only autostart the applet in gnome
Other desktops don't appreciate the extra sound control.
https://bugzilla.gnome.org/show_bug.cgi?id=646987
2011-04-07 11:08:05 -04:00
Cosimo Cecchi
534a7a1eac datetime: fix a critical when showing the panel
The critical was spawned because we were calling gtk_style_attach()
before calling gtk_widget_set_window(), but that code can go away
entirely.

https://bugzilla.gnome.org/show_bug.cgi?id=646836
2011-04-07 09:12:47 -04:00
Richard Hughes
3a0bb1c7f2 network: use the correct widget name for the IP address of the mobile broadband device. Fixes #646837 2011-04-06 10:07:15 +01:00
Richard Hughes
81799838a3 network: do not assert if a widget is missing, instead print a critical warning with the widget name
This helps us debug bugs like #646837

I've also asked the designers to clarify what entries we should show on the mobile broadband page too.
2011-04-06 10:06:12 +01:00
Cosimo Cecchi
7b7f67fbae background: fix a compilation warning 2011-04-05 12:08:42 -04:00
Marek Kasik
84a2b3e353 printers: Don't set reason when setting AcceptJobs
Set reason to NULL when setting AcceptJobs to TRUE (rhbz#691154).
2011-04-05 17:50:18 +02:00
Marek Kasik
aedbc186a8 printers: Check whether the requested policy is available
Check whether the system has policy
"org.opensuse.cupspkhelper.mechanism.all-edit" before using it (#646813).
2011-04-05 17:10:54 +02:00
Marek Kasik
3349308ea2 printers: Actualize printer list and job list automatically
This patch makes Printers panel to automatically refresh printers list
when a new printer is added or removed. It is refreshed also when a printer
changes its state (to see changes in paused/unpaused state) (rhbz#691718).
It also automatically refresh list of jobs (and also number of active jobs in
main tab) for actual printer (rhbz#691737).
2011-04-05 15:54:09 +02:00
Bastien Nocera
8390f73f4b datetime: Fix test-endianess on OpenSUSE
https://bugzilla.gnome.org/show_bug.cgi?id=646780
2011-04-05 09:40:30 +01:00
Matthias Clasen
3256adcb7e Network: Make creating vpn connections work again
Somehow the 'Create' button lost its action id.
Don't trust glade on these files...
2011-04-02 18:12:00 -04:00
Marek Kasik
885bab172f printers: Do not delete browsed printers
Make "printer-remove-button" button insensitive when
a browsed printer is selected (rhbz#691831).
2011-04-01 16:19:16 +02:00
Matthias Clasen
23f239e461 Network: display more detailed status for unavailable devices
If NetworkManager knows that firmware is missing, say so.
This matches recent changes in the gnome-shell network menu.
It adds one new string, "Firmware missing", for which I have
pulled existing translations from the similar "firmware missing"
string in gnome-shell.
https://bugzilla.gnome.org/show_bug.cgi?id=646027
2011-04-01 00:42:13 -04:00
Matthias Clasen
ecd99dc1f3 Network: reset the network name combo when disconnected
While we are not connected, showing the name of an access point
in the combobox is misleading.
https://bugzilla.gnome.org/show_bug.cgi?id=646031
2011-03-31 22:27:44 -04:00
Richard Hughes
f3d02cd0e8 network: Do not add bluetooth devices to the panel to avoid asserting the control-center
There's no mockup for bluetooth devices, and it's not clear what any of the
buttons or sliders should do.
I'll actually wire up bluetooth devices for 3.2, but this at least fixes the
assert ready for 3.0.
2011-03-31 17:07:07 +01:00
Bastien Nocera
e46c3267ba background: Don't assert() for typos in XML files
https://bugzilla.gnome.org/show_bug.cgi?id=646250
2011-03-31 13:08:29 +01:00
Bastien Nocera
7280f14460 sound: Make sound applet work again in fallback
Seems to work fine without us trying to popdown the dock
by ourselves.

https://bugzilla.gnome.org/show_bug.cgi?id=646044
2011-03-31 13:08:29 +01:00
Bastien Nocera
6dd3318b80 keyboard: Set repeat-interval correctly
This sets the repeat-interval key in milliseconds. From a minimum of
one char per 2 seconds up to 50 characters per second (as per
requirements listed in 84eed6b0cf).

https://bugzilla.gnome.org/show_bug.cgi?id=646241
2011-03-31 12:21:20 +01:00
Cosimo Cecchi
76eaa6cc43 universal-access: don't incorrectly mark some hboxes as insensitive
https://bugzilla.gnome.org/show_bug.cgi?id=646240
2011-03-30 15:12:01 -04:00
Cosimo Cecchi
7cef6dc582 background: don't use the GnomeBG thumbnails for the preview area
Instead, use gnome_bg_draw(), which renders the preview directly at the
desired size.

https://bugzilla.gnome.org/show_bug.cgi?id=646180
2011-03-30 10:40:27 -04:00
Cosimo Cecchi
eac562b162 region: make the layout options modal
https://bugzilla.gnome.org/show_bug.cgi?id=646183
2011-03-30 10:36:56 -04:00
Cosimo Cecchi
5f3acad39a sound: make the volume icons smaller and center them properly in the bar
https://bugzilla.gnome.org/show_bug.cgi?id=646153
2011-03-29 22:14:38 -04:00
Cosimo Cecchi
b3af71f37f network: hide the security cell renderer if there's no icon to display
This allows the mode renderer which is on the left to slide in and
replace it in case.

https://bugzilla.gnome.org/show_bug.cgi?id=646140
2011-03-29 14:58:55 -04:00
Cosimo Cecchi
44847a571c network: use symbolic icon for ad-hoc wireless connections
https://bugzilla.gnome.org/show_bug.cgi?id=646140
2011-03-29 14:58:55 -04:00
Bastien Nocera
d361022907 background: Don't show errors when loading default bg
Check whether the file exists so we don't get warnings
when loading the default wallpaper on startup.

https://bugzilla.gnome.org/show_bug.cgi?id=646056
2011-03-29 16:39:40 +01:00
Marek Kasik
8444b2e38a printers: Make "Print Test Page" button always sensitive
Since "Printer Test Page" prints CUPS' testing page, we don't
need to make it insensitive when the printer doesn't support
"PrintSelfTestPage" maintenance command.
2011-03-29 16:21:14 +02:00
Richard Hughes
d5d0ec3b06 network: don't segfault the network panel if the user restarts NetworkManager with it open 2011-03-28 18:09:59 +01:00
William Jon McCann
8613d54e9a Network: Use grids for alignment instead of a huge set of size groups
https://bugzilla.gnome.org/show_bug.cgi?id=645772
2011-03-27 20:01:03 -04:00
Matthias Clasen
4576e48c19 Network: properly track vpn connection state
We were not listening for state changes on the ActiveConnection
objects representing actual connections, but only listened for
active connections appearing or disappearing. This caused
the VPN tab to get stuck on 'Authentication required' or similar
'intermediate' states until you manually switch tabs and back.

Also keep the switch from jumping back to off while the
vpn auth dialog is up, by adjusting the states we consider 'off'.
2011-03-27 20:00:00 -04:00