[recipes] Don't show OS info when sandboxed
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Don't show OS info when sandboxed
- Date: Thu, 23 Feb 2017 19:40:27 +0000 (UTC)
commit 39bcc23c044523b758056225f9490173798f92ed
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 23 14:39:33 2017 -0500
Don't show OS info when sandboxed
The information is just not available to us, even
the desktop info is just whats in the runtime.
src/gr-about-dialog.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/src/gr-about-dialog.c b/src/gr-about-dialog.c
index fcaaf4a..3a4ee0c 100644
--- a/src/gr-about-dialog.c
+++ b/src/gr-about-dialog.c
@@ -394,10 +394,6 @@ populate_system_tab (GtkTextView *view)
buffer = gtk_text_view_get_buffer (view);
if (in_flatpak_sandbox ()) {
- g_autofree char *os_name = NULL;
- g_autofree char *os_type = NULL;
- g_autofree char *desktop = NULL;
- g_autofree char *version = NULL;
g_autofree char *flatpak_version = NULL;
g_autofree char *app_id = NULL;
g_autofree char *app_arch = NULL;
@@ -408,15 +404,6 @@ populate_system_tab (GtkTextView *view)
g_autofree char *runtime_branch = NULL;
g_autofree char *runtime_commit = NULL;
- get_os_information (&os_name, &os_type, &desktop, &version);
-
- text_buffer_append (buffer, _("OS"));
- text_buffer_append (buffer, "\n");
-
- text_buffer_append_printf (buffer, "\t%s\t%s\n", C_("OS metadata", "Name"), os_name);
- text_buffer_append_printf (buffer, "\t%s\t%s\n", C_("OS metadata", "Type"), os_type);
- text_buffer_append_printf (buffer, "\t%s\t%s\n", C_("OS metadata", "Desktop"), desktop);
-
get_flatpak_information (&flatpak_version,
&app_id, &app_arch, &app_branch, &app_commit,
&runtime_id, &runtime_arch, &runtime_branch, &runtime_commit);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]