[gnome-font-viewer] font-view: use header bar for info dialog



commit b1076a929bf2406a7f897281b67ee629c08f318c
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sun Feb 16 08:45:22 2014 -0800

    font-view: use header bar for info dialog

 src/font-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/font-view.c b/src/font-view.c
index d079bc6..ecc35a9 100644
--- a/src/font-view.c
+++ b/src/font-view.c
@@ -475,7 +475,7 @@ info_button_clicked_cb (GtkButton *button,
     populate_grid (self, grid, face);
 
     dialog = gtk_dialog_new_with_buttons ("", GTK_WINDOW (self->main_window),
-                                          GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
+                                          GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT | 
GTK_DIALOG_USE_HEADER_BAR,
                                           _("_Close"), GTK_RESPONSE_CLOSE,
                                           NULL);
     gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), grid);


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