Commit graph

2402 commits

Author SHA1 Message Date
Richard Hughes
76e451fd51 color: Do not use a combobox when listing profiles to add to devices
On some machines used for pre-press or animation the number of display-suitable
profiles is going to be large. We really don't want to have a GtkComboBox
several times bigger than the height of the screen to navigate.

Also, while we're here get some design feedback from the #gnome-design guys and
fix up some spacing and alignment issues.
2012-11-20 16:10:07 +00:00
Thomas Wood
2e2cfce6e0 user-accounts: remove unused variables from the password dialog
https://bugzilla.gnome.org/show_bug.cgi?id=688401
2012-11-19 13:30:49 +00:00
Thomas Wood
33e360d4a7 user-accounts: show the password by default once generated
Make sure the user can see the newly generated password without having to
activate the show password check box.

https://bugzilla.gnome.org/show_bug.cgi?id=688401
2012-11-19 13:30:49 +00:00
Bastien Nocera
7889482576 info: Set the transient hostname too
As we need that to get the right name from "hostname".
2012-11-16 19:59:49 +01:00
Bastien Nocera
a4cf283937 background: Fix not having 3 columns in high contrast
Increase the width slightly to 860 from 850.

https://bugzilla.gnome.org/show_bug.cgi?id=683499
2012-11-14 23:07:16 +01:00
Cosimo Cecchi
d834ebc321 a11y: also set the WM HighContrast theme when the switch is flipped
Now that we have a HighContrast-specific WM theme.

https://bugzilla.gnome.org/show_bug.cgi?id=688257
2012-11-13 11:23:18 -05:00
Thomas Wood
4f322b8c1c screen: include string.h to avoid implicit declaration of function 'strstr' 2012-11-13 14:46:00 +00:00
Thomas Wood
6528b4d789 info: remove the use of the deprecated GtkTable class
GtkTable was deprecated in GTK+ 3.4.

https://bugzilla.gnome.org/show_bug.cgi?id=688254
2012-11-13 14:12:09 +00:00
Thomas Wood
7dab589e9e common: remove the use of the GDK thread functions
Remove the use of gdk_threads_enter and gdk_threads_leave functions, as
they have been deprecated, and also replace gdk_threads_add_idle with
g_idle_add.

https://bugzilla.gnome.org/show_bug.cgi?id=688231
2012-11-13 13:49:08 +00:00
Thomas Wood
288c3f8309 common: remove the use of the deprecated g_type_init function
The g_type_init function was deprecated in glib 2.35.1 and the type system
is now initialised automatically.

https://bugzilla.gnome.org/show_bug.cgi?id=688231
2012-11-13 10:44:53 +00:00
Thomas Wood
66f5b5703b zoom-options: set the dialog hint on the window
Set the dialog hint on the window so that it is treated correctly by the
window manager.

https://bugzilla.gnome.org/show_bug.cgi?id=688198
2012-11-13 09:52:36 +00:00
Bastien Nocera
cae3bc20a4 info: "Don't translate it"
Then don't mark it for translation. Duh.
2012-11-13 07:27:59 +01:00
Michael Meeks
527945b29e re-license GPLv2-only code to GPLv2+ permission from SUSE/RH legal
cf. https://bugzilla.gnome.org/show_bug.cgi?id=681834
2012-11-12 15:57:09 +00:00
Debarshi Ray
be47ee93ee bluetooth: Align the device list with the all settings button
Fixes: https://bugzilla.gnome.org/688055
2012-11-10 18:48:25 +01:00
Debarshi Ray
9b26f2410a online-accounts: Align the accounts list with the all settings button
Fixes: https://bugzilla.gnome.org/668312
2012-11-10 18:42:01 +01:00
Debarshi Ray
704f70ae77 online-accounts: Don't preselect the first item when adding an account
Fixes: https://bugzilla.gnome.org/687875
2012-11-09 20:03:14 +01:00
Bastien Nocera
cb8c667962 user-accounts: Rename panel to Users
Online Accounts and User Accounts are very similar names.

https://bugzilla.gnome.org/show_bug.cgi?id=688003
2012-11-09 18:41:36 +01:00
Bastien Nocera
967b8b51ef info: Remove force fallback switch
As fallback is going away. #fallback

https://bugzilla.gnome.org/show_bug.cgi?id=682863
2012-11-09 16:54:05 +01:00
Bastien Nocera
e0260ac5de region: Revert "Don't use IBus if running in fallback mode"
As the fallback mode is going away. #fallback

This reverts commit 658083fffa.

https://bugzilla.gnome.org/show_bug.cgi?id=682871

Conflicts:
	panels/region/gnome-region-panel-input.c
2012-11-09 16:05:44 +01:00
Bastien Nocera
74c407d8e1 region: Revert "Use a filter model on input sources"
As the fallback mode is going away. #fallback

This reverts commit dee8e0917a.

https://bugzilla.gnome.org/show_bug.cgi?id=682871
2012-11-09 16:05:40 +01:00
Bastien Nocera
94506721aa sound: Remove fallback applet
As fallback is now gone. #fallback

https://bugzilla.gnome.org/show_bug.cgi?id=682861
2012-11-09 15:58:51 +01:00
Bastien Nocera
c384570bac universal-access: Always show the zoom options
Now that the fallback mode is gone. #fallback

https://bugzilla.gnome.org/show_bug.cgi?id=682862
2012-11-09 15:58:51 +01:00
Thomas Wood
8a2d00f436 info-panel: fix the hostname permission debug message 2012-11-09 13:13:18 +00:00
Bastien Nocera
b831fcad33 network: Avoid type clashes with the Bluetooth panel
Done with:
sed -i -e 's/RfkillGlib/CcRfkillGlib/g'         \
	    -e 's/RFKILL_GLIB/CC_RFKILL_GLIB/g' \
	    -e 's/rfkill_glib/cc_rfkill_glib/g' \
	    -e 's/RFKILL_TYPE_GLIB/CC_RFKILL_TYPE_GLIB/g' \
	    rfkill-glib.[ch] cc-network-panel.c

This would need to be done when we reset the copy/paste from
gnome-bluetooth.
2012-11-09 11:50:23 +01:00
Bastien Nocera
b72c1c5541 network: Make sure Airplane mode switch everything off
And not just wireless. We need to use /dev/rfkill directly
to make sure that all the devices (3G, GPS, Bluetooth, etc.) get
switched off correctly when airplane mode is on.

https://bugzilla.gnome.org/show_bug.cgi?id=675778

Conflicts:
	panels/network/cc-network-panel.c
2012-11-09 11:50:22 +01:00
Bastien Nocera
0d180857ab network: Make sure flight mode is always visible
Because it's not just about disabling the network, it needs
to disable a host of other wireless devices, and those need to
be blocked even if you end up plugging them into your computer.

Conflicts:
	panels/network/cc-network-panel.c
2012-11-09 11:50:22 +01:00
Bastien Nocera
c148fb2836 bluetooth: Use spinner when connecting
Rather than having an unusable switch (which wouldn't represent
the real state of the connection), show a spinner until the
connection is finished doing.
2012-11-08 18:52:28 +01:00
Bastien Nocera
77d134c4df bluetooth: Simplify ->finalize 2012-11-08 18:37:48 +01:00
Bastien Nocera
9818f3b256 bluetooth: Fix main switch acting bizarrely
The only time we were looking at the powered state of the adapter
is when the killswitch state was changing. Except that we're fast enough
that bluetoothd didn't have time to power up the adapter, so its
state was unpowered, which we would set the switch to.

The switch was off, the adapter was on.

We fix that problem by tracking the powered state of the adapter
separately.

https://bugzilla.redhat.com/show_bug.cgi?id=841881
2012-11-08 18:37:48 +01:00
Bastien Nocera
80c2739d27 bluetooth: Add UI code for a spinner during the connection 2012-11-08 18:37:48 +01:00
Bastien Nocera
f1e20c395d bluetooth: Remove unused variable 2012-11-08 18:37:48 +01:00
Bastien Nocera
876e4d4559 bluetooth: Avoid possible loops when Connection fails
If we switch "Connection" on via the switch, the disabling on failure
will create a loop where it always tries to connect again. Break that
loop.
2012-11-08 18:37:47 +01:00
Bastien Nocera
ede310d39c bluetooth: Expand properties notebook by default 2012-11-08 18:37:47 +01:00
Marek Kasik
a153f43b4e printers: Resolve symlink when passing a PPD to CUPS
root is not able to resolve symlinks in /tmp/ created by ordinary users
because of a new policy and PPDs got from CUPS are symlinks to /etc/cups/ppd/*
placed to /tmp/.
Since we need to pass PPD file of original printer to CUPS when renaming
a printer we resolve given symlink and pass original filename to the CUPS.
2012-11-08 13:39:14 +01:00
Debarshi Ray
8afea39c60 datetime: Do not offer the 12 hr clock in locales without AM/PM
https://bugzilla.gnome.org/show_bug.cgi?id=673721
2012-11-08 12:29:44 +01:00
Cosimo Cecchi
fdb42333d1 network: don't add the header widget in an idle
Add it in constructed() instead, since we need the value of the
construct-only shell property in order for it to work.

https://bugzilla.gnome.org/show_bug.cgi?id=687864
2012-11-07 12:32:21 -05:00
Cosimo Cecchi
8bf26a0b91 mouse: don't add the header widget in an idle
Add it in constructed() instead, since we need the value of the
construct-only shell property in order for it to work.

https://bugzilla.gnome.org/show_bug.cgi?id=687863
2012-11-07 12:32:06 -05:00
Thomas Wood
53d06c7085 info-panel: Set the hostname only after a small delay
Avoid setting the hostname from the entry on every single key press and
instead wait for a second after the last key press.

https://bugzilla.gnome.org/show_bug.cgi?id=679284
2012-11-06 11:55:26 +00:00
Bastien Nocera
401274cee6 sound: Clarify "sound events"
"Event sounds" is clearer.

https://bugzilla.gnome.org/show_bug.cgi?id=687564
2012-11-06 11:14:19 +01:00
Bastien Nocera
e264df66b1 region: Fix possible crasher on startup
When the X11Variant localed property was empty, variants[i] was
being checked even though only variants[0] was defined (an empty
string).

==17035== Invalid read of size 8
==17035==    at 0x26B9529A: on_localed_properties_changed (gnome-region-panel-system.c:339)
==17035==    by 0x26B95546: localed_proxy_ready (gnome-region-panel-system.c:381)
==17035==    by 0x8CA2589: g_simple_async_result_complete (gsimpleasyncresult.c:775)
==17035==    by 0x8CA25BB: complete_in_idle_cb (gsimpleasyncresult.c:787)
==17035==    by 0x94B8ED4: g_idle_dispatch (gmain.c:4806)
==17035==    by 0x94B6890: g_main_dispatch (gmain.c:2715)
==17035==    by 0x94B7440: g_main_context_dispatch (gmain.c:3219)
==17035==    by 0x94B7623: g_main_context_iterate (gmain.c:3290)
==17035==    by 0x94B76E7: g_main_context_iteration (gmain.c:3351)
==17035==    by 0x8CDB1A1: g_application_run (gapplication.c:1620)
==17035==    by 0x4083C6: main (control-center.c:256)
==17035==  Address 0x13b92e18 is 0 bytes after a block of size 8 alloc'd
==17035==    at 0x4A0883C: malloc (vg_replace_malloc.c:270)
==17035==    by 0x94BE97B: standard_malloc (gmem.c:85)
==17035==    by 0x94BEA04: g_malloc (gmem.c:159)
==17035==    by 0x94BED2F: g_malloc_n (gmem.c:400)
==17035==    by 0x94DB26A: g_strsplit (gstrfuncs.c:2281)
==17035==    by 0x26B95169: on_localed_properties_changed (gnome-region-panel-system.c:319)
==17035==    by 0x26B95546: localed_proxy_ready (gnome-region-panel-system.c:381)
==17035==    by 0x8CA2589: g_simple_async_result_complete (gsimpleasyncresult.c:775)
==17035==    by 0x8CA25BB: complete_in_idle_cb (gsimpleasyncresult.c:787)
==17035==    by 0x94B8ED4: g_idle_dispatch (gmain.c:4806)
==17035==    by 0x94B6890: g_main_dispatch (gmain.c:2715)
==17035==    by 0x94B7440: g_main_context_dispatch (gmain.c:3219)
2012-11-05 09:37:55 +01:00
Bastien Nocera
21c7325f1c common: Quiet valgrind when checking lang codeset 2012-11-05 09:37:54 +01:00
Jeremy Bicha
4285c4fd47 keyboard: Point help to more specific page
https://bugzilla.gnome.org/show_bug.cgi?id=687486
2012-11-02 21:06:54 -04:00
Jeremy Bicha
e32494f2f0 Show Printers & Region panels in Unity but hide Background
Ubuntu plans to fork a separate Appearance panel this cycle so
that Gnomebuntu can use the GNOME Background panel.

I believe Ubuntu will try to use the Printers and Region & Language
panels instead of system-config-printer & language-selector

https://bugzilla.gnome.org/show_bug.cgi?id=687258
2012-10-31 06:50:05 -04:00
Dan Winship
8ba8f2e033 network: add support for showing bond slaves
https://bugzilla.gnome.org/show_bug.cgi?id=677147
2012-10-22 14:55:07 +02:00
Dan Winship
cb2eacdfd4 network: minimal support for unrecognized device types
https://bugzilla.gnome.org/show_bug.cgi?id=677151
2012-10-22 14:52:34 +02:00
Dan Winship
fa31613bd9 network: update for nma-wifi-dialog renaming
The old names are deprecated.

https://bugzilla.gnome.org/show_bug.cgi?id=677151
2012-10-22 14:52:25 +02:00
Ondrej Holy
3ce73cb8b2 user-accounts: Use GtkGrid instead GtkTable
https://bugzilla.gnome.org/show_bug.cgi?id=681772
2012-10-22 14:29:11 +02:00
Ondrej Holy
9864297c71 user-accounts: fix wrong sensitivity of the autologin combo
https://bugzilla.gnome.org/show_bug.cgi?id=686383
2012-10-22 14:21:37 +02:00
Bastien Nocera
f6cc4a970a user-accounts: Require logind for session tracking
As is already used in gnome-settings-daemon.
2012-10-22 10:53:06 +02:00
Bastien Nocera
3fd861b3f0 network: Remove setting of unused configuration key 2012-10-22 10:53:06 +02:00