Automatically set set dialogs to GTK_WIN_POS_CENTER_ON_PARENT. (#60554)

Thu Sep 20 15:10:30 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdialog.c (gtk_dialog_init): Automatically set
	set dialogs to GTK_WIN_POS_CENTER_ON_PARENT. (#60554)
This commit is contained in:
Owen Taylor 2001-09-20 19:16:03 +00:00 committed by Owen Taylor
parent a35654e97d
commit ea77d8d7dd
8 changed files with 36 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Thu Sep 20 15:10:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_init): Automatically set
set dialogs to GTK_WIN_POS_CENTER_ON_PARENT. (#60554)
Thu Sep 20 18:00:56 2001 Kristian Rietveld <kristian@planet.nl>
* tests/testgtk.c (struct OptionMenuItem): get rid of it,

View File

@ -1,3 +1,8 @@
Thu Sep 20 15:10:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_init): Automatically set
set dialogs to GTK_WIN_POS_CENTER_ON_PARENT. (#60554)
Thu Sep 20 18:00:56 2001 Kristian Rietveld <kristian@planet.nl>
* tests/testgtk.c (struct OptionMenuItem): get rid of it,

View File

@ -1,3 +1,8 @@
Thu Sep 20 15:10:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_init): Automatically set
set dialogs to GTK_WIN_POS_CENTER_ON_PARENT. (#60554)
Thu Sep 20 18:00:56 2001 Kristian Rietveld <kristian@planet.nl>
* tests/testgtk.c (struct OptionMenuItem): get rid of it,

View File

@ -1,3 +1,8 @@
Thu Sep 20 15:10:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_init): Automatically set
set dialogs to GTK_WIN_POS_CENTER_ON_PARENT. (#60554)
Thu Sep 20 18:00:56 2001 Kristian Rietveld <kristian@planet.nl>
* tests/testgtk.c (struct OptionMenuItem): get rid of it,

View File

@ -1,3 +1,8 @@
Thu Sep 20 15:10:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_init): Automatically set
set dialogs to GTK_WIN_POS_CENTER_ON_PARENT. (#60554)
Thu Sep 20 18:00:56 2001 Kristian Rietveld <kristian@planet.nl>
* tests/testgtk.c (struct OptionMenuItem): get rid of it,

View File

@ -1,3 +1,8 @@
Thu Sep 20 15:10:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_init): Automatically set
set dialogs to GTK_WIN_POS_CENTER_ON_PARENT. (#60554)
Thu Sep 20 18:00:56 2001 Kristian Rietveld <kristian@planet.nl>
* tests/testgtk.c (struct OptionMenuItem): get rid of it,

View File

@ -1,3 +1,8 @@
Thu Sep 20 15:10:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_init): Automatically set
set dialogs to GTK_WIN_POS_CENTER_ON_PARENT. (#60554)
Thu Sep 20 18:00:56 2001 Kristian Rietveld <kristian@planet.nl>
* tests/testgtk.c (struct OptionMenuItem): get rid of it,

View File

@ -235,6 +235,7 @@ gtk_dialog_init (GtkDialog *dialog)
gtk_window_set_type_hint (GTK_WINDOW (dialog),
GDK_WINDOW_TYPE_HINT_DIALOG);
gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER_ON_PARENT);
}