Commit graph

18 commits

Author SHA1 Message Date
Georges Basile Stavracas Neto
998dec3bfd Revert "info: Cache D-Bus proxies"
This reverts commit e46d505182.
2018-08-27 12:56:20 +00:00
Benjamin Berg
c2f601a9d4 Move common panel code from shell/ to panel/common
This creates a new static library called libwidget which the shell links
against.
2018-04-17 15:26:59 +02:00
Georges Basile Stavracas Neto
e46d505182 info: Cache D-Bus proxies 2018-04-06 22:23:39 -03:00
Robert Ancell
1e62c99f41 info: Use g_auto for variables
https://bugzilla.gnome.org/show_bug.cgi?id=788158
2018-01-23 00:28:42 -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
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
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
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
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
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
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
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