Commit graph

221 commits

Author SHA1 Message Date
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
Georges Basile Stavracas Neto
61c33da3cf trivial: Style cleanup 2018-01-17 22:17:12 -02:00
Georges Basile Stavracas Neto
35e670c6da info: Fix crash when opening Overview panel
The GType of CcHostnameEntry might not be registered
by the time the Overview panel is initialized, which
leads to crash.

Fix that by ensuring the CcHostnameEntry type early in
class_init.
2018-01-17 22:13:27 -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
Georges Basile Stavracas Neto
6123d97e3f project: Remove CcInfoPanel
This panel was hidden in the new shell, and now that
we don't have the old one, can be safely dropped.

Minor adjustments were made to the other panels to
properly remove this panel.

https://bugzilla.gnome.org/show_bug.cgi?id=790923
2017-11-28 17:03:51 -02:00
Georges Basile Stavracas Neto
b23ef59926 shell-model: Remove old categories
Since we don't maintain two different shells anymore, there
is no need to maintain the two different sets of categories
in the desktop files.

This commit also drops the "#ifdef CC_ENABLE_ALT_CATEGORIES"
blocks, since the previous commit removed that define.

https://bugzilla.gnome.org/show_bug.cgi?id=790923
2017-11-28 17:03:51 -02:00
Philip Withnall
be135e6263 info: Ignore more virtual file systems
Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=788878
2017-10-12 14:47:20 +01:00
Jeremy Bicha
6d1c5dbf4d info: Fix .desktop for About
https://bugzilla.gnome.org/show_bug.cgi?id=788608
2017-10-09 17:13:08 -04:00
Robert Ancell
999226832c info: Use G_DEFINE_TYPE 2017-09-25 16:11:32 -04:00
Rui Matos
5622704b74 info: Avoid a crash when we're cancelled
If we're cancelled, the panel is being finalized so return immediately
instead of iterating further and crashing.

https://bugzilla.gnome.org/show_bug.cgi?id=786097
2017-08-28 18:58:05 +02:00
Rui Matos
6ee793118a info: Don't leak GUnixMountEntry instances if we're cancelled
If we're cancelled the mount entries list might not have been totally
consumed so free it on finalize if needed.

https://bugzilla.gnome.org/show_bug.cgi?id=786097
2017-08-28 18:58:05 +02:00
Rui Matos
546752f79e info: Don't leak GCancellables
We were just plainly leaking them and there's really no need since
GCancellable instances can be re-used.

https://bugzilla.gnome.org/show_bug.cgi?id=786097
2017-08-28 18:58:05 +02:00
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