Commit graph

1181 commits

Author SHA1 Message Date
Rui Matos
22f7c182bd region: trigger the layout chooser dialog response on 'row-activated' signal
Allows the user to choose a new layout by double clicking or hitting enter.

https://bugzilla.gnome.org/show_bug.cgi?id=652409
2011-06-13 21:11:53 +01:00
Rui Matos
60a2507366 region: remove helper function not needed since GTK+ 3.0
GTK+ 3.0 introduced gtk_tree_model_iter_previous() so we no longer need to
keep this helper function.

Also, simplify the use of GtkTreeIters by allocating them on the stack.

https://bugzilla.gnome.org/show_bug.cgi?id=652374
2011-06-12 14:08:00 +01:00
Rui Matos
6db9b9fbfa region: fix infinite loop dealing with gsettings 'changed' signal
Setting updating_settings in update_layouts_list() and checking for it in the
gsettings 'changed' signal handler doesn't prevent a loop because the signal
handler is only called after update_layouts_list() returns and thus
updating_settings is already FALSE at that point.

By using the 'drag-end' signal instead of 'row-inserted', etc. we continue to
support DnD re-ordering of layouts while avoiding the loop from
xkb_layouts_fill_selected_tree() deleting and inserting rows into the model.

https://bugzilla.gnome.org/show_bug.cgi?id=652361
2011-06-12 14:07:18 +01:00
Rui Matos
efbe184019 region: fix a couple of memory leaks
https://bugzilla.gnome.org/show_bug.cgi?id=652360
2011-06-11 18:18:05 +01:00
Bastien Nocera
36cc21db32 user-accounts: Fix deleting users on 32-bit systems
https://bugzilla.gnome.org/show_bug.cgi?id=652073
2011-06-11 12:41:35 +01:00
Sergey V. Udaltsov
c05e531bfb Fix the labels according to the usability gurus
https://bugzilla.gnome.org/show_bug.cgi?id=641021
2011-06-11 01:59:00 +01:00
Matthias Clasen
5ffae5b569 user-accounts: Fix fingerprint assistant
https://bugzilla.gnome.org/show_bug.cgi?id=649678
2011-06-10 17:57:29 +01:00
Bastien Nocera
1b183a5fa2 info: Fix disk space showing free space
An error in porting to async code in
c22a98dcb7 made the info panel
report the free space rather than the disk space.

https://bugzilla.gnome.org/show_bug.cgi?id=639376
2011-06-10 16:37:14 +01:00
Florian Müllner
ee73a6cf2b datetime: Fix date sensitivity on permission changes
Setting the date manually should be disabled when using NTP, but
the "Network Time" setting is not taken into account when updating
sensitivities after permission changes. As a result, the date is
always editable after unlocking the panel - to fix, take the NTP
setting into account on permission changes.

https://bugzilla.gnome.org/show_bug.cgi?id=652240
2011-06-10 00:12:11 +02:00
Piotr Drąg
a61cbccf46 network: Remove spaces before question marks 2011-06-06 16:24:07 +02:00
Marek Kasik
3fe26cfe50 Printers: Move check for availability of CUPS to better place
Fixes problem of not showing information about stopped CUPS and
missing printers.
2011-06-03 12:51:57 +02:00
Richard Hughes
5912f00273 color: Don't emit a critical warning if the panel starts with a colorimeter already plugged in 2011-06-02 16:39:09 +01:00
Richard Hughes
6c691dacf2 color: Actually sort the new profile box by name by setting the sort column 2011-06-01 18:24:08 +01:00
Richard Hughes
f4228e48ce color: Only attempt to get the main window after the widget has been realized
This fixes a critical warning when adding a profile.
2011-06-01 18:24:08 +01:00
Frédéric Péters
1e064c8b96 [info] skip test-hostnames if en_US.UTF-8 is not available 2011-06-01 17:57:33 +02:00
Richard Hughes
a44d36f993 color: Connect to the profile before doing cd_profile_equal -- we use the ID not the path 2011-05-31 10:43:31 +01:00
Richard Hughes
203046ccfb color: Fix a critical warning when devices are removed
It's a treeview, not a listview...
2011-05-30 23:08:00 +01:00
Richard Hughes
e51b037b76 color: Adapt to new async colord API
The libcolord async API used to use a thread to get the properties for the
device and profiles in the background.

This was racy as hell, and was not good API design. Connect to each device and
profiles explicitly before we access the properties.
2011-05-30 22:07:14 +01:00
Richard Hughes
63c7019e95 color: fix up some minor indenting issues 2011-05-30 22:07:14 +01:00
Bastien Nocera
b041e65955 sound: Fix direction of speaker test in RTL languages
https://bugzilla.gnome.org/show_bug.cgi?id=651273
2011-05-27 18:47:18 +01:00
Marek Kasik
fba02faa49 Printers: Use SNMP CUPS backend to discover printers on given address
Search for printers on address given by user using CUPS's SNMP backend.
This modification typically finds network printers publishing themselves
on port 9100.
2011-05-27 15:38:59 +02:00
Marek Kasik
8f4895559a Printers: Allow editing of printer name and location
Use CcEditableEntry for editing name and location of local printers
(#649511).
2011-05-27 13:38:15 +02:00
Matthias Clasen
03b2a21e7d Network: Use the 'pretty hostname' for hotspots
Also, prevent crashes when nm_active_connection_get_devices()
decides to return NULL instead of an array.
2011-05-26 20:22:34 -04:00
Matthias Clasen
a7c3024998 Network: Improve wording of warnings
Also, add a warning when stopping hotspots, too, and consequently
add the dots back to the stop button as well.
2011-05-26 18:47:27 -04:00
Matthias Clasen
24c320a2c3 Network: put the dots back in the hotspot button
After all we are showing a dialog now, sometimes...
2011-05-26 17:42:14 -04:00
Matthias Clasen
0273e3b926 Network: disable the hotspot button when the device is off 2011-05-26 17:34:56 -04:00
Matthias Clasen
fea89403bf Network: Add warning dialogs
We warn if there is no connection to the internet (questionable
to create a hotspot in that case) or if creating the hotspot
would drop the default connection to the internet (ditto).
2011-05-26 17:19:58 -04:00
Matthias Clasen
b8529164d6 Network: prevent a possible crash
Some of the settings may be NULL when we call is_hotspot_connection()
on random connections. No need to crash then...
2011-05-26 17:16:54 -04:00
Matthias Clasen
1b60a6fd6b Network: Remove ellipses from hotspot buttons
There's no dialogs anymore...
2011-05-26 11:59:16 -04:00
Matthias Clasen
b3067539f6 Network: simplify security string for hotspots
Dan recommends that we do not discriminate between WPA and WPA2,
so we don't have to bother with showing multiple strings at all
anymore, it is just None or WEP or WPA now.
2011-05-26 11:57:49 -04:00
Matthias Clasen
97982f395e Network: fix the build 2011-05-26 07:05:00 -04:00
Matthias Clasen
64e94a0adb Implement network sharing
This is an implementation of network sharing (aka 'Hotspot').
The new 'Use as hotspot' button lets you use a wifi device
as a hotspot for sharing network connections with others.

Currently, the panel generates a ssid based on the hostname,
sets the security to WEP, and generates a random key. These
parameters can be edited afterwards.

It is currently not possible to show how many connections
are using the hotspot. Apart from this, the implementation
is pretty much complete.
2011-05-26 06:47:27 -04:00
Matthias Clasen
d4b88f12a6 Network: refresh ui in an idle
This seems a lot safer than doing it directly from all kinds
of callbacks.
2011-05-25 08:54:35 -04:00
Matthias Clasen
c390d4f36d Network: use the correct condition for the option button
The button needs a connection to edit; so set the sensitivity
based on the existence of a connection.
2011-05-25 08:33:56 -04:00
Matthias Clasen
e5675435c2 Network: avoid a possible crash
When there are no active connections, nm_device_get_active_connections
returns NULL.
2011-05-25 07:05:44 -04:00
Matthias Clasen
f9a186a272 Network: fix the wpad warning
Due to size allocation changes in GTK+, wrapping labels without
a minimal width now become very high. So we need to set a reasonable
width-chars value to ensure the label shows up.
2011-05-24 20:03:50 -04:00
Bastien Nocera
6af3db5994 datetime: Add mention of a few gdbus-codegen bugs 2011-05-23 16:10:04 +01:00
Bastien Nocera
a0d0a4c28f datetime: Regenerate dtm.[ch]
Fixes a few compilation warnings.
2011-05-23 16:10:04 +01:00
Matthias Clasen
d8bbb0af66 users: don't add a lockbutton
Instead, implement get_permission to get a lockbutton
in the toolbar.

https://bugzilla.gnome.org/show_bug.cgi?id=650292
2011-05-23 16:10:04 +01:00
Matthias Clasen
be35c2a834 Datetime: Don't add a lockbutton
Instead, implement get_permission to get a lockbutton
in the toolbar.

https://bugzilla.gnome.org/show_bug.cgi?id=650292
2011-05-23 16:10:04 +01:00
Matthias Clasen
3e263c5764 Printers: Don't add a lockbutton
Instead, implement get_permission to get a lockbutton
in the toolbar.

https://bugzilla.gnome.org/show_bug.cgi?id=650292
2011-05-23 16:10:04 +01:00
Matthias Clasen
13a08f4994 Users: strip out periods when generating proposals
Some systems seem to disallow them in usernames, but more
importantly, the proposals look just wrong for abbreviated
middle initials with a period.

https://bugzilla.gnome.org/show_bug.cgi?id=650777
2011-05-23 09:19:19 -04:00
Richard Hughes
e7863d0e02 color: Add the virtual device UI which is used when a physical device connection is impossible
This is designed so power users can create virtual devices (just like in
ColorSync) that represent things like 'Hexachrome Press #2' or 'Cinema'.

This new UI isn't actually wired up yet, and there are no new UI controls as
the UI still needs love from the designers.

This was added at this point for two reasons:

1. To get the translations early so we can enable this later
2. To be able to delete the code out of gcm-prefs.c
2011-05-20 20:40:15 +01:00
Matthias Clasen
0ad983ebff info: add padding to the list
For consistency with sidebar lists in other panels. Almost like
this was a designed application, and not just a grabbag of panels...
2011-05-20 12:43:51 -04:00
Matthias Clasen
f93fee0121 Network: use the new sidebar-list icon size
Also add some padding. The designers like it like this.
2011-05-20 12:32:18 -04:00
Matthias Clasen
02c26cd2c0 Printers: use the new sidebar-list icon size
Also add some padding for good looks.
Overwhelmingly approved by #gnome-design.
2011-05-20 12:32:18 -04:00
Richard Hughes
d75adefd96 color: Force the color treeview scrolled window to be at least 6 rows in height 2011-05-20 16:34:35 +01:00
Richard Hughes
391cd73e5e color: install a preferences-color icon to avoid using the gnome-color-manager icon name 2011-05-20 15:59:06 +01:00
Richard Hughes
2e7e54c3c2 Add a color panel based on the functionality available in gnome-color-manager
All the major functionality is present, but the virtual device stuff needs
further work with the designers before being included.
2011-05-20 15:59:00 +01:00
Matthias Clasen
aef79bbf79 Move username related utilities to um-utils.[hc]
This will make it easier to reuse them in gdm-initial-setup.
2011-05-18 21:20:39 -04:00