Commit graph

137 commits

Author SHA1 Message Date
Bastien Nocera
1ca1c883f2 color: Fix compilation warning 2014-06-25 12:46:43 +02:00
Christophe Fergeau
3679436cff color: Use AM_CPPFLAGS rather than INCLUDES
This is deprecated in newer automake versions, and this causes warnings
with automake 1.14:
panels/printers/Makefile.am:3: warning: 'INCLUDES' is the old name for
AM_CPPFLAGS' (or '*_CPPFLAGS')

https://bugzilla.gnome.org/show_bug.cgi?id=732189
2014-06-25 12:28:17 +02:00
Bastien Nocera
5c732074b3 color: Use new listbox helpers
https://bugzilla.gnome.org/show_bug.cgi?id=732106
2014-06-24 11:35:30 +02:00
Richard Hughes
f3df80e5a0 color: Update the UI if the ICC profile title changes 2014-05-22 09:05:58 +01:00
Richard Hughes
e33eb83305 color: Do not crash when toggling devices and reopening the panel
Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=728584
2014-04-22 11:37:19 +01:00
Damián Nohales
08b8c1b55e color: Refresh toolbar buttons when profile has changed
https://bugzilla.gnome.org/show_bug.cgi?id=724499

Signed-off-by: Richard Hughes <richard@hughsie.com>
2014-02-24 11:46:54 +00:00
Daniel Mustieles
2c5951819d Updated FSF's address 2014-01-29 11:27:38 +01:00
Richard Hughes
4d4255425e color: Actually show the whitepoint selector
Not all displays can achieve D65, and not all users are calibrating for
photography. Forcing these users to set something in GSettings to just get a
profile that actually works isn't great.
2013-12-12 13:47:32 +00:00
Richard Hughes
31b82a7863 color: Fix a crash if the user closes the window after calibrating
The assistant_calib is set from gtk_builder_get_object() and so should not be
destroyed manually.
2013-12-12 13:45:57 +00:00
Yosef Or Boczko
ae21c72351 color: Use margin-start/end instead of margin-left/right
https://bugzilla.gnome.org/show_bug.cgi?id=712661
2013-11-19 22:26:02 +02:00
Jasper St. Pierre
dd52ac9417 Add NoDisplay to all gnome-control-center panel .desktop files
These aren't apps -- they're simply launchers for gnome-control-center.
They should not be shown as apps in the UI at all.

https://bugzilla.gnome.org/show_bug.cgi?id=712246
2013-11-15 08:44:53 -05:00
Rui Matos
418b9f9811 color: Don't leak the assign dialog
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:02 +02:00
Rui Matos
177655812c color: Don't leak the calibration assistant dialog
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:02 +02:00
Rui Matos
5e0d626929 color: Remove an unused dialog
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:02 +02:00
Rui Matos
73a7f4c4e3 color: Remove unused toplevel window from .ui file
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:02 +02:00
Rui Matos
bd978eaa5c color: Don't leak the calibrate builder instance
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:01 +02:00
Rui Matos
62faba9d80 color: Don't leak the calibrate dialog
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:01 +02:00
Rui Matos
7542385423 color: Remove a duplicate widget instance
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:01 +02:00
Richard Hughes
fe48cc9e6e Revert "color: to shrink the list"
This reverts commit 902e88c7ad.

It does not match the mockups, introduces a horizontal scrollbar for non-VM
machines, and resizes when button appear.
2013-08-01 08:59:59 +01:00
Yosef Or Boczko
902e88c7ad color: to shrink the list
It is inconsistent with many of the other panels:
134px in left-hand side of the list, 134px in right-hand side of the
list,
22px from on bottom of the list and 22px from on top of the list.

https://bugzilla.gnome.org/show_bug.cgi?id=698372
2013-07-31 18:41:37 +03:00
Yosef Or Boczko
972648fd5f color: drop GtkStock
https://bugzilla.gnome.org/show_bug.cgi?id=704178
2013-07-19 15:56:11 +03:00
Alexander Larsson
3a811defed color panel: Convert to GtkListBox
https://bugzilla.gnome.org/show_bug.cgi?id=702164
2013-07-02 16:19:09 +01:00
Antoine Jacoutot
3db55d68e1 gcm_prefs_is_livecd() should be linux-only
/proc/cmdline only exists on Linux and in this case used to check
whether we are running out of a LiveCD.

Signed-off-by: Richard Hughes <richard@hughsie.com>
2013-05-08 12:44:49 +01:00
Richard Hughes
3faf1d525f color: Add back the buttons to the correct sizegroup
Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=692757
2013-04-19 15:53:12 +01:00
Richard Hughes
829f703af6 color: Allow uploading to the Internet when using a LiveCD
If the user is calibrating on a LiveCD the final finished profile is written to
disk. This somehow needs to be transfered to the main system before it will work.

Two button are now provided, one to save the profile to disk, and one to upload
the profile to the Internet.
2013-04-19 10:42:41 +01:00
Kalev Lember
747a67e464 color: Add missing semicolons to desktop files
https://bugzilla.gnome.org/show_bug.cgi?id=696806
2013-04-16 11:15:12 +02:00
Richard Hughes
c7f6c24cd9 color: Add translatable strings for newer display types
Newer versions of colord support sensor capabilities for modern types of
displays which allow colorimeter-type sensors to return accurate readings.

This is needed for the inexpensive ColorMunki Smile colorimeter which does not
return the usual LCD and CRT display types. These types are not required for
photospectrometer-class hardware which use spectral readings and a color match
function to get an accurate XYZ value.
2013-03-12 17:11:13 +00:00
Allan Day
8597996eed color: Update panel comments
Very few of the panel comments provide information that is very
useful. Update them to supplement the panel descriptions - this
will make the search results more helpful.

https://bugzilla.gnome.org/show_bug.cgi?id=694110
2013-02-19 10:41:43 +01:00
Richard Hughes
16b28c2a18 color: Fix a typo where we set the wrong button sensitivity 2013-02-18 17:22:42 +00:00
Richard Hughes
6e3c635fe8 color: Expand profiles assigned to the device when single clicked
We only collapse the device if another device is selected.
2013-02-18 17:12:15 +00:00
Richard Hughes
5fd213a7f9 color: Emit the expanded-changed signal whenever the state changes 2013-02-18 17:12:15 +00:00
Richard Hughes
c0ab4228c7 color: When calibrating inhibit logout, switching users and suspending 2013-02-14 15:49:40 +00:00
Richard Hughes
18ee39488e color: Put the device switch on a diet to match the mockups 2013-02-13 11:57:34 +00:00
Matthias Clasen
98dbd0ec0c color: Make all controls keyboard-accessible
The buttons in the toolbar were not focusable, for no good reason.

https://bugzilla.gnome.org/show_bug.cgi?id=693544
2013-02-12 08:04:31 -05:00
Matthias Clasen
6ab31ef667 color: Add accessible labels to controls
The switch and arrow button were read by orca as just
'Switch pushbutton' and 'pushbutton', respectively, which
is not really helpful.

https://bugzilla.gnome.org/show_bug.cgi?id=693543
2013-02-12 08:04:31 -05:00
Richard Hughes
3ac77e5d47 color: Do not unselect the first GtkTreeView item on realize as it makes the UI flicker 2013-02-06 15:22:48 +00:00
Richard Hughes
edc9286a0a color: Do not show the user display types the selected sensor does not support
Additionally, hide the display types page if the sensor only supports one
display technology.
2013-02-06 15:07:06 +00:00
Richard Hughes
dc77c05e91 color: Set the default calibration quality to medium 2013-02-06 12:39:45 +00:00
Richard Hughes
fe3a7df31e color: Show sRGB and AdobeRGB profiles when selecting a profile for a display
The logic here is that you can make expensive hardware emulate a known color
space, for which you shouldn't need to generate a custom profile for.
2013-02-04 11:48:47 +00:00
Richard Hughes
e759f28020 color: Remove some conditional code, the colord dep is new enough 2013-02-04 11:47:05 +00:00
Richard Hughes
4e33954d94 color: Do not show the profile warning label if there are no profiles
This can happen if gnome-settings-daemon is not running or the device type is a
camera.
2013-02-03 23:29:06 +00:00
Luca Ferretti
7a67acefca color: Avoid to mark numbers as translatable and add a context to adjectives
close bug 692476
2013-01-25 00:52:48 +01:00
Richard Hughes
98fde07657 color: Allow the user to remove automatically added profiles
You need to be running colord from git master for this feature to work.
2013-01-24 16:47:54 +00:00
Richard Hughes
4c9a96260f color: Show a summary page when running on a LiveCD
This matches the mockups from jimmac. You need colord (specifially, the D-Bus
activated helper) from git master to make this work.

You can test this on non-live media by setting CC_COLOR_PANEL_IS_LIVECD=1
before running gnome-control-center.
2013-01-23 20:36:43 +00:00
Richard Hughes
bb77d525bd color: Do not cancel the calibration if the window is unfocussed
We can recover in the session helper to some extent by repeating patches, so
don't quit at the first sign of trouble.
2013-01-23 17:53:03 +00:00
Richard Hughes
80ec65b2ef color: Use a EggListBox for the main device display to match the new mockups
This matches the new mockups as specified by Allan in
https://raw.github.com/gnome-design-team/gnome-mockups/master/system-settings/color/panel.png

The CcColorDevice and CcColorProfile widgets are lines in the EggListBox and are
smart by watching for changes in each colord device.

To use this new functionality you need colord from git master, and for the
'Laptop' devices to be recognised as internal, you also need to be _running_
gnome-settings-daemon from git, although this is not strictly required.
2013-01-23 15:45:17 +00:00
Richard Hughes
6950948142 color: Set the target gamma when calibrating 2013-01-23 13:48:20 +00:00
Richard Hughes
7e6ca7f520 color: Get the target whitepoint from the colord schema 2013-01-23 13:48:10 +00:00
Richard Hughes
8a353753e0 color: Use colord-session to calibrate the display
This allows us to match the new mockups from Allan.
2013-01-23 13:47:47 +00:00
Matthias Clasen
3472c225f9 Fix the build 2013-01-23 07:44:51 -05:00