[gnome-packagekit] Set the GpkHelperRun window to be modal. Fixes rh#506010



commit 6b9563bbbd006570f3cc55d772802abe35b9753d
Author: Richard Hughes <richard hughsie com>
Date:   Mon Jun 15 12:41:39 2009 +0100

    Set the GpkHelperRun window to be modal. Fixes rh#506010

 src/gpk-helper-run.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gpk-helper-run.c b/src/gpk-helper-run.c
index 1a029bf..df114bb 100644
--- a/src/gpk-helper-run.c
+++ b/src/gpk-helper-run.c
@@ -391,8 +391,8 @@ gpk_helper_run_set_parent (GpkHelperRun *helper, GtkWindow *window)
 	gtk_window_set_transient_for (widget, window);
 	gtk_window_set_modal (widget, TRUE);
 
-	/* this is a modal popup, so don't show a window title */
-	gtk_window_set_title (widget, "");
+	/* this is a modal popup */
+	gtk_window_set_type_hint (widget, GDK_WINDOW_TYPE_HINT_DIALOG);
 
 	return TRUE;
 }



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