[gnome-initial-setup] assistant: Work around a GTK+ problem



commit 55acc5c5c699512940be3404818938737681f990
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Sep 22 14:03:54 2014 -0400

    assistant: Work around a GTK+ problem
    
    When all the buttons get hidden, there are visible artifacts on
    the last page (below the place where the buttons used to be), unless
    we force a resize of the headerbar.

 gnome-initial-setup/gis-assistant.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gnome-initial-setup/gis-assistant.c b/gnome-initial-setup/gis-assistant.c
index daa8300..82a4f84 100644
--- a/gnome-initial-setup/gis-assistant.c
+++ b/gnome-initial-setup/gis-assistant.c
@@ -192,6 +192,8 @@ update_navigation_buttons (GisAssistant *assistant)
       gtk_widget_hide (priv->skip);
       gtk_widget_hide (priv->cancel);
       gtk_widget_hide (priv->accept);
+      /* FIXME: workaround for a GTK+ issue */
+      gtk_widget_queue_resize (priv->titlebar);
     }
   else
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]