Commit graph

209 commits

Author SHA1 Message Date
Piotr Drąg
fd9a646ff5 info: Correct translator comments 2017-08-23 03:27:51 +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
Jeremy Bicha
aae4dd842b info: Move Removable Media from Details to Devices
https://bugzilla.gnome.org/show_bug.cgi?id=785874
2017-08-12 09:56:15 -03:00
Jeremy Bicha
d6104266f6 info: Set icons for split panels
https://bugzilla.gnome.org/show_bug.cgi?id=785873
2017-08-09 19:55:26 +02:00
Georges Basile Stavracas Neto
5bc84ae4e3 info: Make margins consistent with other panels
All the new panels have a standard 24px margin now, so
since we're already splitting the info pages into separate
panels, also fix this minor annoyance.

https://bugzilla.gnome.org/show_bug.cgi?id=779216
2017-07-24 23:33:54 -03:00
Mohammed Sadiq
6cf52ada03 info: Add desktop files for the split panels
This commit shall show the panels separate.

Some panels are hidden in current design, while some other panels
are hidden in new shell design.

https://bugzilla.gnome.org/show_bug.cgi?id=779216
2017-07-24 22:55:27 -03:00
Mohammed Sadiq
bab859a44e info: Trivial, fix indentation
https://bugzilla.gnome.org/show_bug.cgi?id=779216
2017-06-10 09:24:10 -03:00
Mohammed Sadiq
0e01c7d1a4 info: Derive subpanels from CcPanel
This is required for adding these subpanels as panels
for the new g-c-c shell design.

https://bugzilla.gnome.org/show_bug.cgi?id=779216
2017-06-10 09:20:27 -03:00
Mohammed Sadiq
f82af13dd7 removable-media: Avoid use of GtkAlignment
GtkAlignment has been deprecated since Gtk 3.14.
So Let's replace it with properties like "valign", "halign",
"margin", and so on.

https://bugzilla.gnome.org/show_bug.cgi?id=779216
2017-06-10 08:40:20 -03:00
Mohammed Sadiq
572f9fe8c3 info-overview: Simplify UI code
Increasing width of a column makes column in each row to have the same
width. So it is unnecessary to set 3rd column of each row separately to
have the same width. Let's do it just once.

https://bugzilla.gnome.org/show_bug.cgi?id=779216
2017-06-10 08:35:46 -03:00
Mohammed Sadiq
4a06cff5c1 removable-media: Replace GtkTable with GtkGrid
https://bugzilla.gnome.org/show_bug.cgi?id=779216
2017-06-09 12:18:53 -03:00
Mohammed Sadiq
695887c7a0 info-overview: replace GtkTable with GtkGrid
GtkTable has been deprecated. So let it be replaced with
GtkGrid.

https://bugzilla.gnome.org/show_bug.cgi?id=779216
2017-06-09 12:18:52 -03:00
Mohammed Sadiq
d6db504945 info: Remove dead ui code
https://bugzilla.gnome.org/show_bug.cgi?id=779216
2017-06-09 11:22:33 -03:00
Mohammed Sadiq
8713eac981 details: Split removable media as a separate panel
As part of the preparation to split all these pages as
separate panels in the future.

https://bugzilla.gnome.org/show_bug.cgi?id=779216
2017-06-04 10:39:16 -03:00
Mohammed Sadiq
84ccb364c5 info: Remove unused struct members
These struct members has been moved to overview panel and is
no longer used here.

https://bugzilla.gnome.org/show_bug.cgi?id=779216
2017-05-27 12:07:30 -03:00
Mohammed Sadiq
1154658cd9 details: Split default apps as a separate panel
https://bugzilla.gnome.org/show_bug.cgi?id=779216
2017-05-24 10:56:13 -03:00
Mohammed Sadiq
7bebbc0099 info: Remove unused code
The GraphicsData structure wasn't being used
in CcInfoPanel's code, and can be safely dropped.

https://bugzilla.gnome.org/show_bug.cgi?id=779216
2017-05-21 10:15:34 -03:00
Georges Basile Stavracas Neto
5a01034dbd info: Improve translation of OS type
Instead of having a single translation using a
printf-formatted string, hardcode the 32- and
64-bit variants of the OS type to avoid any
translation problems.

https://bugzilla.gnome.org/show_bug.cgi?id=770593
2017-05-01 12:43:15 -03:00
Kalev Lember
5cc33d617c info: Rename "base system" to "OS name"
Using "OS name" is clearer than "Base system" when we want
to check what's the current OS/distribution combination is.

Fix that by renaming the label.

https://bugzilla.gnome.org/show_bug.cgi?id=770593
2017-05-01 12:43:15 -03:00
Kalev Lember
fb1291bc78 info: Use semicolon for separating build ID
Otherwise we can end up having "Fedora 25 (Workstation Edition) (Build ID:
asdf)", which looks awkward with multiple parenthesis.

https://bugzilla.gnome.org/show_bug.cgi?id=770593
2017-05-01 12:43:15 -03:00
Kalev Lember
439548b89f info: Split up "Base system" and "OS type" to separate lines
Having the OS name and architecture at the same place proved
to be harder to understand than having the processor arch.

Fix that by splitting the OS name and type labels in different
rows.

https://bugzilla.gnome.org/show_bug.cgi?id=770593
2017-05-01 12:43:15 -03:00
Kalev Lember
eeb5594d46 info: Improve fallbacks if PRETTY_NAME isn't set
Try to use NAME + VERSION_ID and fall back to "Unknown" if that didn't
work either.

https://bugzilla.gnome.org/show_bug.cgi?id=770593
2017-05-01 12:43:15 -03:00
Bastien Nocera
56a6654fd3 info: Update from gnome-settings-daemon 2017-04-29 14:30:32 +02:00
Ondrej Holy
b619f7c96a info: Fix total disc size for btrfs subvolumes
Total disc size may be wrong if something like btrfs subvolumes are
used. Do not count multiple mounts with same device_path, because
it is probably something like btrfs subvolume. Use only the first one
in order to count the real size.

https://bugzilla.gnome.org/show_bug.cgi?id=708786
2017-04-29 14:20:19 +02:00
Mohammed Sadiq
fd5c0e8557 details: Split overview as a separate panel
The new shell design requires each panel to be separate.

This commit splits the overview page from details panel as a seperate
panel.

https://bugzilla.gnome.org/show_bug.cgi?id=779216
2017-03-29 17:36:02 -03:00
Ting-Wei Lan
33d8c94b3e info: Fix build when Wayland is disabled
https://bugzilla.gnome.org/show_bug.cgi?id=774324
2017-02-08 18:39:51 +01:00
Piotr Drąg
fdc9b35c6b Fix translator comments
They need to be exactly one line above a string to show up in .po files.
2017-01-27 23:02:44 +01:00
Ondrej Holy
e8aa9fc0b0 info: Do not crash if Renderer is not set by SessionManager
This regression has been introduced by commit 52da4da. The
info panel crashes if prettify_info() returns NULL. This happens
if Renderer property from SessionManager is empty.

https://bugzilla.gnome.org/show_bug.cgi?id=774240
2016-12-05 15:45:34 +01:00
Bastien Nocera
26c04836e9 info: Print debug when get_renderer_from_helper() fails 2016-11-16 17:53:25 +01:00
Bastien Nocera
69c17d8652 info: Also trim useless info when trailing ")" is missing
As seen in attachment 339587

https://bugzilla.gnome.org/show_bug.cgi?id=774240
2016-11-16 17:03:49 +01:00
Bastien Nocera
1549857fc9 info: Lowercase APU/GPU names for AMD
https://bugzilla.gnome.org/show_bug.cgi?id=774240
2016-11-16 17:03:49 +01:00
Bastien Nocera
4d39db6b20 info: Add registered trademark symbol for AMD GPUs
https://bugzilla.gnome.org/show_bug.cgi?id=774240
2016-11-16 17:03:49 +01:00
Bastien Nocera
91e920b496 info: Trim AMD renderer strings
Remove the references to Gallium, and the exact versions of the DRM
backend, the kernel and LLVM. Debug information can still be gathered in
plenty of other ways.

https://bugzilla.gnome.org/show_bug.cgi?id=774240
2016-11-16 17:03:49 +01:00
Bastien Nocera
52da4dafeb info: Move duplicate space removal to info-cleanup.c
So that we don't have to do that separately for CPUs.

https://bugzilla.gnome.org/show_bug.cgi?id=774240
2016-11-16 17:03:49 +01:00
Bastien Nocera
34b1d0d083 info: Add test case for trailing spaces
As seen in:
https://bugzilla.gnome.org/show_bug.cgi?id=773213#c4
2016-11-16 17:03:49 +01:00
Bastien Nocera
4eacd56081 info: Add test suite for info cleanup
https://bugzilla.gnome.org/show_bug.cgi?id=774240
2016-11-16 17:03:49 +01:00
Bastien Nocera
cf6b2138b9 info: Split off CPU and graphics strings cleanup
https://bugzilla.gnome.org/show_bug.cgi?id=774240
2016-11-16 17:03:49 +01:00
Bastien Nocera
6bec3b1bbb info: Remove binary file from git 2016-11-16 17:03:49 +01:00
Bastien Nocera
887148033b info: Remove trailing spaces in renderer strings
https://bugzilla.gnome.org/show_bug.cgi?id=773213#c4
2016-10-21 19:40:06 +02:00
Bastien Nocera
3312e42863 info: Show both GPUs on dual-GPU machines
Use "DRI_PRIME=1" trick to launch gnome-session's accelerated checks.

https://bugzilla.gnome.org/show_bug.cgi?id=773213
2016-10-19 12:43:40 +02:00
Bastien Nocera
83c8c57761 info: Get renderer from gnome-session under Wayland
Now that gnome-session's acceleration helper can print the renderer
under Wayland, launch it locally. We need to launch it locally as
Wayland is not available at the time gnome-session would launch the
helper, as there's no Wayland compositor yet.

Note that this code expects the gnome-session helper scripts to live
in $libexecdir, but distributions can use
--with-gnome-session-libexecdir=DIR to pass another one.

https://bugzilla.gnome.org/show_bug.cgi?id=756914
2016-10-18 16:11:30 +02:00
Georges Basile Stavracas Neto
6052e469a9 info: show build-id
While developing, it's useful to show the build id of the
installed OS when available, which the info panel doesn't
handle for now.

https://bugzilla.gnome.org/show_bug.cgi?id=768693
2016-07-12 12:45:36 -03:00
Georges Basile Stavracas Neto
8b70c44b5a info: factor out os info retrieval function
This code will be reused in the future to retrieve information
stored in /etc/os-release file and, as preparation for the next
patch that retrieves and displays the build-id of the OS.

https://bugzilla.gnome.org/show_bug.cgi?id=768693
2016-07-12 12:45:02 -03: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
Cosimo Cecchi
13beb5db5b info: fetch renderer information from gnome-session
Now that it's exported over DBus.

https://bugzilla.gnome.org/show_bug.cgi?id=754256
2016-04-08 21:03:56 -07:00
Cosimo Cecchi
60e7c350fe info: remove unused code
https://bugzilla.gnome.org/show_bug.cgi?id=754256
2016-04-08 21:03:56 -07: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
Bastien Nocera
d9f08df39c info: Fix crash when application supports no mime-type
It seems to be possible for Firefox Nightly to set itself up as the
default x-scheme-handler/http without actually handling any mime-types.

See https://bugzilla.redhat.com/show_bug.cgi?id=1193680

https://bugzilla.gnome.org/show_bug.cgi?id=744695
2015-02-19 15:21:51 +01:00
Bastien Nocera
c1a87d4d62 info: Fix spelling of VMware
See http://www.thelowercasew.com/about for details
2015-01-26 13:41:57 +01:00