[tali] Use a header bar on the preferences dialog
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tali] Use a header bar on the preferences dialog
- Date: Sun, 11 May 2014 23:52:41 +0000 (UTC)
commit 0a8032c7c4e3d0a8cddb9d3dbc860d2837a3837d
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun May 11 18:49:02 2014 -0500
Use a header bar on the preferences dialog
src/setup.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/setup.c b/src/setup.c
index a95e146..c06ec59 100644
--- a/src/setup.c
+++ b/src/setup.c
@@ -261,11 +261,9 @@ setup_game (void)
return;
}
- setupdialog = gtk_dialog_new_with_buttons (_("Tali Preferences"),
+ setupdialog = gtk_dialog_new_with_buttons (_("Preferences"),
GTK_WINDOW (window),
- GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_STOCK_CLOSE,
- GTK_RESPONSE_CLOSE, NULL);
+ GTK_DIALOG_USE_HEADER_BAR, NULL);
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (setupdialog))), 2);
gtk_window_set_resizable (GTK_WINDOW (setupdialog), FALSE);
g_signal_connect (G_OBJECT (setupdialog), "delete_event",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]