Commit graph

214 commits

Author SHA1 Message Date
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
Matthias Clasen
fcce4dcbe7 color: disconnect signals when the panel goes away
The CdClient object is a singleton, thus it could conceivable
survive the panel, even though we drop our reference in dispose.
In that case, the signal handlers have stale user_data, and
bad things might happen when they trigger.

This patch is a guess at the cause for the stacktrace in
https://bugzilla.redhat.com/show_bug.cgi?id=893914

https://bugzilla.gnome.org/show_bug.cgi?id=692354
2013-01-23 06:46:07 -05:00
Richard Hughes
c7e48eb16a color: Do not crash if no sensors are plugged in 2013-01-08 14:53:18 +00:00
Cosimo Cecchi
8d5f2908b5 panels: add --sourcedir=$(srcdir) when generating resource list
Like b8e93fb333 but for all panels.
2013-01-07 16:23:57 -05:00
Cosimo Cecchi
bd7e87babe color: use a GResource for GtkBuilder UI definition
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-07 10:57:05 +01:00
Matthias Clasen
3d27d8caaf shell: Fittsify panels
Make it possible for panels to go all the way to the edge of the
shell. This is particularly important for panels that scroll, such
as the new power panel. All other panels are changed to compensate
for the loss of external padding.

https://bugzilla.gnome.org/show_bug.cgi?id=691229
2013-01-07 10:51:29 +01:00
Richard Hughes
2040456835 color: Remove the virtual device functionality as it's unused
Nobody uses this, and real power users are using the D-Bus API or the command
line already.
2013-01-05 23:00:00 +00:00
Richard Hughes
8ca4de4059 color: Detect multiple sensors if they are plugged in after the panel has loaded 2013-01-05 23:00:00 +00:00
Richard Hughes
b641acbf44 color: Use g_clear_object() in more places 2013-01-05 23:00:00 +00:00
Richard Hughes
6151442050 color: Trivial whitespace fix
No code changes.
2013-01-05 23:00:00 +00:00
Richard Hughes
f9584966d8 color: Only show the add button when the device is selected 2013-01-03 09:35:21 +00:00
Richard Hughes
540f37bebe color: Only show the calibrate button when the device is selected 2013-01-03 09:35:07 +00:00
Bastien Nocera
e419ee7d4e panels: Remove unused X-GNOME-Settings-Panel key 2012-12-11 17:09:04 +01:00
Bastien Nocera
3686cf7eb8 shell: Make all control-center plugins static
This makes loading faster, with less I/O, avoids unnecessary
code duplication (around 1k lines shaved), and ensures that
all the panels link and work appropriately.

By the same token, it will stop external panels from being
created, and loaded.

https://bugzilla.gnome.org/show_bug.cgi?id=690036
2012-12-11 17:07:39 +01:00
Jeremy Bicha
b0c973c14c color: Use the proper Unicode ellipsis (…) instead of three dots
https://bugzilla.gnome.org/show_bug.cgi?id=689497
2012-12-03 09:13:13 -05:00
Jeremy Bicha
0b4d70d060 color: Add another accessibility relation
https://bugzilla.gnome.org/show_bug.cgi?id=688960
2012-11-26 17:49:56 -05:00
Richard Hughes
3b3b95a8a0 color: Show the user a warning if they try to add a broken profile
Broken profiles are very common when the user imports canned profiles from vendors.
2012-11-20 16:10:08 +00:00
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
Ray Strode
b0e7a5efa8 panels: add register macro
Bastien says he doesn't like the blank class_finalize
functions in every panel and he would like a wrapper
macro to hide them.

This commit does that.
2012-08-21 14:32:33 -04:00
Florian Müllner
186d615dee color: Add get_help_uri() implementation
https://bugzilla.gnome.org/show_bug.cgi?id=675471
2012-05-18 18:48:37 +02:00
Piotr Drąg
5f124d6008 all: fix up tooltips
Idea from commit d5088b2eb1.
2012-05-18 18:39:31 +02:00
Richard Hughes
d5088b2eb1 color: Fix up a tooltip for the 'Set for all users' button 2012-05-18 16:02:13 +01:00
Richard Hughes
93184f16b9 color: Make the 'Set for all users' insensitive if the profile is already set
Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=676271
2012-05-18 15:59:34 +01:00
Richard Hughes
c31f2eed79 color: Prevent a crash when hotplugging monitors when the color panel is open 2012-03-16 13:45:04 +00:00