Commit graph

214 commits

Author SHA1 Message Date
Piotr Drąg
7265bd53a0 Add translator comments to .desktop files
Icons are confusing translators, and gettext
is unlikely to get fixed any time soon.
2018-02-23 18:49:35 +01:00
Iñigo Martínez
0dd386f405 build: Migrate from Intltool to Gettext
Recent versions of Gettext are able to translate several formats
that are used in GNOME applications. This patch migrates from
Intltool to Gettext by using meson's i18n features.

https://bugzilla.gnome.org/show_bug.cgi?id=787588
2018-01-23 10:49:31 +01:00
Georges Basile Stavracas Neto
32613ed4f3 color: Replace deprecated functions
soup_session_sync_new_with_options → soup_session_new_with_options
gtk_show_uri → gtk_show_uri_on_window
2018-01-21 11:12:06 -02:00
Iñigo Martínez
dc0988d47c build: Remove autotools
To avoid the burden of maintaining multiple build systems, this
patch removes autotools support.

https://bugzilla.gnome.org/show_bug.cgi?id=785414
2018-01-18 12:20:08 +01:00
Piotr Drąg
b65e31323a panels: Remove soft hyphens from .desktop files
With the old shell gone, there is no need to work around cut off panel
names (bug #647087). As it stands now, it only confuses translators
(invisible characters are hard to, well, see).

https://bugzilla.gnome.org/show_bug.cgi?id=792629
2018-01-18 00:12:04 -02:00
Iñigo Martínez
32edd6789e build: Port to meson build system
Meson is a build system focused on speed an ease of use, which
helps speeding up the software development. This patch adds meson
support along autotools.

https://bugzilla.gnome.org/show_bug.cgi?id=785414
2018-01-17 20:09:35 -02:00
Sebastien Bacher
12ddb730d6 color: set min-content-height on the profiles list
otherwise there is only space for one line to be displayed
https://bugzilla.gnome.org/show_bug.cgi?id=787931
2017-09-20 10:29:37 -03:00
Allan Day
87568e9250 Harmonize list box row layouts
While it isn't possible, or even advisable, to make all the list
box rows the same height, using a number of standard heights will
make the control center feel more harmoneous.

Adust the height of the list box rows in Color, Date & Time,
Mouse & Touchpad, Network, Privacy, Region & Language, Sharing
and Universal Access. Makes standard rows that contain labels
and/or controls 58px tall. Some other rows, such as those which
contain two lines of text, are allowed to be taller.

https://bugzilla.gnome.org/show_bug.cgi?id=786384
2017-08-20 18:38:48 +02:00
Allan Day
8a8e53ab8a Standardize vertical spacing of panels
Ensure that the vertical spacing inside each panel is similar.
This makes the transition between each panel smoother and makes
the control center feel more cohesive.

Settings panels are given 32px above and below their content
and 32px vertical space between major sections. 12px space is
placed below headings.

Bluetooth, displays and printers are not addressed.

https://bugzilla.gnome.org/show_bug.cgi?id=786384
2017-08-20 18:38:42 +02:00
Georges Basile Stavracas Neto
024bb97a12 color: Avoid casting before checking for errors
When the asynchronous operation is finished in the Color
panel, the user may potentially have already changed to
another panel, making the CcColorPanel reference invalid.

In the callback, the first thing that is done is casting
(and type-checking) the CcColorPanel pointer, causing
a segmentation fault.

Fix that by only casting anything after checking the result
of the asynchronous call.

https://bugzilla.gnome.org/show_bug.cgi?id=786096
2017-08-16 18:07:19 -03:00
Georges Basile Stavracas Neto
f7bdd3c969 panels: Minor adjustments for the new shell 2017-08-09 19:31:41 +02:00
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