Commit graph

11050 commits

Author SHA1 Message Date
Bastien Nocera
3d3cfa7304 keyboard: Check for NULL value first
Then try to access item->type
2011-10-20 15:53:25 +01:00
Bastien Nocera
34dadb5ac3 printers: Avoid dereferencing NULL variable
If line is NULL, then buffer is NULL, and buffer[0] points
to nowhere.
2011-10-20 15:50:00 +01:00
Bastien Nocera
ff59277c91 color: Don't return pointer to local variables
We were returning the address of a variable allocated on the stack
inside the function to outside.
2011-10-20 15:46:32 +01:00
Bastien Nocera
7f8b2153c8 color: Remove useless NULL check
It cannot be NULL when we get to that point.
2011-10-20 15:39:05 +01:00
Bastien Nocera
e9f95249a9 printers: Fix crasher if a or b are NULL in cmp
If a or b are NULL then (c && d) fails, and both a_normalized
and b_normalized are left uninitialised, possibly causing a crash
when we try to free them later.
2011-10-20 15:36:04 +01:00
Bastien Nocera
474abc5272 color: Use a switch statement
A little bit cleaner.
2011-10-20 15:30:14 +01:00
Bastien Nocera
0bc99bdda3 color: Fix warning about uninitialised variable 2011-10-20 15:26:51 +01:00
Bastien Nocera
cb5924adb1 keyboard: Remove broken allowed_keys checks
The only thing it was doing was disabling the add button,
which was promptly re-enabled when you selected the custom
shortcuts section.
2011-10-20 10:36:21 +01:00
Bastien Nocera
62cb5236b2 keyboard: Make the '+' button work all the time
We shouldn't need to select the "Custom Shortcuts" section
of the keyboard shortcuts before the add button is made sensitive.

Make it sensitive all the time, and switch to the section as needed.

https://bugzilla.gnome.org/show_bug.cgi?id=662253
2011-10-20 10:36:21 +01:00
Bastien Nocera
f9da94dbae shell: Use icon for "All Settings" button
https://bugzilla.gnome.org/show_bug.cgi?id=657043
2011-10-20 10:36:21 +01:00
Matthias Clasen
85b0c9c92c Drop duplicate code
Static analyzers complain about this kind of thing.
2011-10-19 18:57:33 -04:00
Kjartan Maraas
fd81ff244d Updated Norwegian bokmål translation 2011-10-19 22:37:41 +02:00
Daniel Mustieles
baa2d3fa1b Updated Spanish translation 2011-10-19 16:32:24 +02:00
Bastien Nocera
7575e38599 keyboard: Fix ATK description
As mentioned in:
https://bugzilla.gnome.org/show_bug.cgi?id=574073
2011-10-19 14:43:41 +01:00
Bastien Nocera
7b3f942318 mouse: Fix ATK descriptions 2011-10-19 14:43:30 +01:00
Bastien Nocera
89a9a66554 universal-access: Fix ATK descriptions 2011-10-19 14:43:16 +01:00
Bastien Nocera
8cca2cab60 lib: Do not install private libgnome-control-center
https://bugzilla.gnome.org/show_bug.cgi?id=655287
2011-10-18 19:07:32 +01:00
Bastien Nocera
49e81242ca common: Update linkage rules for static libs
No point in limiting the exports symbols for a static library
2011-10-18 19:06:38 +01:00
Bastien Nocera
844dd9e321 bluetooth: Move Bluetooth panel from gnome-bluetooth 2011-10-18 18:46:15 +01:00
Bastien Nocera
6d38216573 region: Small style fix 2011-10-18 18:46:15 +01:00
Erdal Ronahi
fef542887c updated Kurdish translations 2011-10-18 16:05:43 +02:00
Christian Persch
e1dbaef587 shell: Don't crash when loading the icon fails
https://bugzilla.gnome.org/show_bug.cgi?id=660513
2011-10-17 13:57:42 +01:00
krishnababu k
b1c1f4b2a5 Updated Telugu translations 2011-10-17 15:03:52 +05:30
Andika Triwidada
93f9893df8 Updated Indonesian translation 2011-10-17 13:33:50 +07:00
Kjartan Maraas
48c7c0df7b Updated Norwegian bokmål translation 2011-10-17 07:57:20 +02:00
Bruce Cowan
483b6f40fa Updated British English translation 2011-10-16 14:50:14 +01:00
Fran Dieguez
aa136ecf1f Updaged Galician translations 2011-10-15 15:52:07 +02:00
Marek Kasik
86532624eb Printers: Make +/- buttons insensitive when can not connect to CUPS
Check whether sad computer is displayed and set sensitivity accordingly.
The check doesn't try to connect to CUPS because of performance reasons.
2011-10-14 19:23:50 +02:00
Marek Kasik
619364ff1a Printers: Don't add redundant prefix
Don't add prefix "-default" to options set by
PrinterAddOptionDefault method, it is added automatically.
2011-10-14 14:47:39 +02:00
Richard Hughes
00fb703054 color: After removing a profile select the device so the UI is correct
Resolves https://bugzilla.gnome.org/show_bug.cgi?id=661658
2011-10-13 17:03:51 +01:00
Richard Hughes
5f6b8f0da9 color: Show 'Uncalibrated' when a device has a test profile assigned 2011-10-13 16:40:29 +01:00
Richard Hughes
d25fe273d2 color: Don't show profile ages for EDID, test and colorspace profiles
Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=661669
2011-10-13 16:28:19 +01:00
Richard Hughes
9e1fa3c900 color: Prefix all the test profiles in the 'Add profile' UI 2011-10-13 16:08:29 +01:00
Richard Hughes
c9647e530d color: Do not show standard colorspaces in the 'Add profile' UI
NOTE: You need colord >= 0.1.4 and shared-color-profiles >= 0.1.5 for this
to work.
2011-10-13 15:58:02 +01:00
Richard Hughes
f4ac4f1a0f color: Improve the 'Add profile' modal dialog
Remove the 'Only profiles that are compatible with...' lightbulb helper and
instead just set the dialog title to include the device class, e.g.
'Available Profiles for Printers'.

Resolves https://bugzilla.gnome.org/show_bug.cgi?id=661657
2011-10-13 14:07:16 +01:00
Richard Hughes
886b4463a7 color: Fix the button placement in the 'Add profile' dialog 2011-10-13 13:34:30 +01:00
Richard Hughes
bc97442238 color: Do not allow the 'Add profile' modal dialog to be resizable 2011-10-13 13:31:18 +01:00
Anders G. Jørgensen
7f7f33c853 Give focus to the search entry when showing the overview page.
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/833710
2011-10-13 13:13:23 +02:00
Bastien Nocera
ec739861f0 shell: Make Ctrl+W close panels
Ctrl+W will close the current panel, and go back to the
overview.

https://bugzilla.gnome.org/show_bug.cgi?id=660814
2011-10-13 10:55:24 +01:00
Bastien Nocera
484c08ca81 shell: Make Ctrl+Q work outside the overview
Because we were checking for the presence of the search entry
before acting on key presses, Ctrl+Q failed to work outside
the overview.
2011-10-13 10:53:08 +01:00
Bastien Nocera
0df2ab0da7 online-accounts: Add title for "Add Account" dialogue
https://bugzilla.gnome.org/show_bug.cgi?id=661573
2011-10-13 10:33:37 +01:00
Bastien Nocera
ada3a05386 power: Use "Power off" instead of "Shutdown"
(1) The correct verb is "Shut down". (2) It doesn't matter
because the preferred term is "Power off", verified with the
design team.

Spotted by Shaun McCance <shaunm@gnome.org>

https://bugzilla.gnome.org/show_bug.cgi?id=661559
2011-10-13 10:19:43 +01:00
Bastien Nocera
c703944fc5 power: Remove unused ListStore definitions 2011-10-13 10:18:55 +01:00
Bastien Nocera
50093b49ff keyboard: Don't load duplicate keybindings
When building out of the main tree, it's useful not to have
duplicate keybindings showing up in the UI.
2011-10-12 16:14:14 +01:00
Vincent Untz
80bd53ce10 shell: Avoid crash when searching if a .desktop has no comment
The code doing the search assumes the description column is set, which
might not be the case.

https://bugzilla.gnome.org/show_bug.cgi?id=661494
2011-10-12 16:13:46 +01:00
Gary Ching-Pang Lin
45a9b2cb1f network: show wireless dialog even if there is no active AP
The network panel ignored the request of showing the wireless
dialog if there is no active AP, and the user was not able to
set up the advanced wireless settings, such as WPA-EAP settings.

https://bugzilla.gnome.org/show_bug.cgi?id=661526
2011-10-12 15:40:23 +01:00
Bastien Nocera
f7eb52a68b network: Remove unneeded initialisations
Don't set those variables to NULL, they should be correctly
initialised later in the code, and it might hide uninitialised ones.
2011-10-12 15:36:03 +01:00
Gary Ching-Pang Lin
73b0fe159d network: allocate nm-connection for nma-wireless-dialog
https://bugzilla.gnome.org/show_bug.cgi?id=648174
2011-10-12 15:35:59 +01:00
Abderrahim Kitouni
9579986439 Updated Arabic translation 2011-10-12 12:06:06 +01:00
Jiro Matsuzawa
86c3b5f970 Updated Japanese translation 2011-10-12 11:38:24 +09:00