[Xfce4-commits] [xfce/libxfce4ui] 01/01: xfce-about: Hide system	tab conditionally
    noreply at xfce.org 
    noreply at xfce.org
       
    Wed Dec  4 12:11:40 CET 2019
    
    
  
This is an automated email from the git hooks/post-receive script.
o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/libxfce4ui.
commit e1b9895dff37a5c2430aa9b65abbc2db8dd5f6eb
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Wed Dec 4 12:11:24 2019 +0100
    xfce-about: Hide system tab conditionally
---
 xfce4-about/main.c | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/xfce4-about/main.c b/xfce4-about/main.c
index 4c0b0ea..6ec55f4 100644
--- a/xfce4-about/main.c
+++ b/xfce4-about/main.c
@@ -551,6 +551,9 @@ main (gint    argc,
 
 #ifdef HAVE_GLIBTOP
   xfce_about_system (builder);
+#else
+  // Hide system tab
+  gtk_notebook_remove_page (GTK_NOTEBOOK (gtk_builder_get_object (builder, "notebook")), 0);
 #endif
 
   object = gtk_builder_get_object (builder, "about-buffer");
-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
    
    
More information about the Xfce4-commits
mailing list