[four-in-a-row] Use headerbar in the scores dialog
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [four-in-a-row] Use headerbar in the scores dialog
- Date: Mon, 18 Aug 2014 22:05:39 +0000 (UTC)
commit 985918ef97abbf94fa8283bedb05212e641cf049
Author: Yosef Or Boczko <yoseforb src gnome org>
Date: Wed Mar 26 00:11:26 2014 +0200
Use headerbar in the scores dialog
https://bugzilla.gnome.org/show_bug.cgi?id=727053
src/main.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 9c0f479..4ec6cb6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -721,9 +721,8 @@ on_game_scores (GSimpleAction *action, GVariant *parameter, gpointer data)
scorebox = gtk_dialog_new_with_buttons (_("Scores"),
GTK_WINDOW (window),
- GTK_DIALOG_DESTROY_WITH_PARENT,
- _("_Close"),
- GTK_RESPONSE_CLOSE, NULL);
+ GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_USE_HEADER_BAR,
+ NULL);
gtk_window_set_resizable (GTK_WINDOW (scorebox), FALSE);
gtk_container_set_border_width (GTK_CONTAINER (scorebox), 5);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]