Commit graph

153 commits

Author SHA1 Message Date
Bastien Nocera
3f0510cac8 build: Better libm checks
Use AC_CHECK_LIBM instead of AC_CHECK_LIB(m,...
and use $(LIBM) instead of hardcoding "-lm" in Makefiles.
2017-02-08 19:21:53 +01:00
Piotr Drąg
ce23ff67be color: use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html

https://bugzilla.gnome.org/show_bug.cgi?id=772199
2016-10-03 15:20:36 +02:00
Bastien Nocera
c7a5451474 color: Use title caps for "Add profile" dialogue title
https://bugzilla.gnome.org/show_bug.cgi?id=763467
2016-10-03 14:53:48 +02:00
Georges Basile Stavracas Neto
2777fd583d panels: use the new categories
Following the previous patch, this patch adds the new alternative
categories to the panels' Desktop files. These alternative categories
are only relevant for the alternative Shell, and do not break the
current Shell in any way.

https://bugzilla.gnome.org/show_bug.cgi?id=767301
2016-06-14 12:16:43 -03:00
Bastien Nocera
5c10ce45b8 panels: Fix translators comments being truncated
Commit b3be076 added soft hyphens along with a comment for translators
to use those soft hyphens. Except that gettext would only grab the one
line out of the four we wrote for translators to read. Put them all on
the same line so that gettext actually extracts those.

https://bugzilla.gnome.org/show_bug.cgi?id=765778
2016-04-28 23:38:00 +02:00
Bastien Nocera
b3be07609a panels: Fix truncated panel names for larger fonts
Note that this fix will not automatically fix translations, which will
need to add soft-hyphens (U+00AD) to their translations themselves, and
will not fix larger fonts for which the split up syllables end up
being bigger than the maximum text width.

It's the best we can do without redesigning the Settings shell, which is
already something planned.

https://bugzilla.gnome.org/show_bug.cgi?id=647087#c13
2016-04-07 16:06:35 +02:00
Felix Zhang
74ff9c98d0 color: Mark 'Add Profile' dialog title as translatable
Not a string break, as the translatable string already exists.

Signed-off-by: Richard Hughes <richard@hughsie.com>
2016-03-15 12:42:47 +00:00
Jiro Matsuzawa
cc2fad82bc color: Give mnemonic to labelled widgets
https://bugzilla.gnome.org/show_bug.cgi?id=736606
2016-01-18 15:50:20 +01:00
Damián Nohales
073d49ea88 color: Allow to change profile color by activating the list box row 2015-04-14 12:54:41 +01:00
Richard Hughes
ff16c19832 color: Set the users profile title when generating a profile 2015-03-25 13:46:57 +00:00
Richard Hughes
d94d512dd1 color: Set the default profile quality at startup
I assume once we got a spurious callback from GTK to set this.
2015-03-25 13:46:28 +00:00
Rui Matos
111f93d06c color: Fix deprecated API usage
https://bugzilla.gnome.org/show_bug.cgi?id=740986
2014-12-05 16:13:29 +01:00
David King
86b7af3f0e panels: Mark label strings as translatable
https://bugzilla.gnome.org/show_bug.cgi?id=736052
2014-09-04 16:00:20 +01:00
David King
745c7ef9de panels: Fix all but one uses of use-stock property
Avoid the deprecated use-stock.

https://bugzilla.gnome.org/show_bug.cgi?id=736052
2014-09-04 14:14:31 +01:00
David King
cea2c74a3e panels: Avoid deprecated has-resize-grip property
https://bugzilla.gnome.org/show_bug.cgi?id=736052
2014-09-04 14:11:07 +01:00
Richard Hughes
e9b0527b4b color: Do not set the 'Details' button for virtual profiles
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1119408
2014-07-29 19:46:22 +01:00
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