[gnome-packagekit/polkit1: 87/92] Set the GpkHelperRun window to be modal. Fixes rh#506010
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-packagekit/polkit1: 87/92] Set the GpkHelperRun window to be modal. Fixes rh#506010
- Date: Tue, 16 Jun 2009 06:21:21 -0400 (EDT)
commit b99ef37dee9dc59c6ed8a493d47d5fa5f7a1097c
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]