[gnome-packagekit] Add a FIXME for the "small form factor" code path that does not get used



commit 2164d781c067f409af68c832abb866c154ca31f1
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Tue Mar 29 13:01:24 2011 -0400

    Add a FIXME for the "small form factor" code path that does not get used
    
    Signed-off-by: Richard Hughes <richard hughsie com>

 src/gpk-update-viewer.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index 89beb94..f45822c 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -3258,7 +3258,9 @@ gpk_update_viewer_application_startup_cb (GtkApplication *_application, gpointer
 	ret = gpk_window_set_size_request (GTK_WINDOW(main_window), 700, 1200);
 	if (!ret) {
 		g_debug ("small form factor mode");
-		/* hide the header in SFF mode */
+		/* hide the header in SFF mode;
+		FIXME: this doesn't work because most window managers simply allocate
+		the maximum height without returning False, so this is never called */
 		widget = GTK_WIDGET(gtk_builder_get_object (builder, "hbox_header"));
 		gtk_widget_hide (widget);
 	}



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