[gnome-font-viewer/gnome-3-6] Set an empty title on the info dialog



commit be330f2b12c3d8be53495f5194202058ca93f957
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Sep 22 20:05:07 2012 -0400

    Set an empty title on the info dialog
    
    Currently, it shows up with 'gnome-font-viewer' in the titlebar,
    which looks ugly.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684642

 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 c439351..c7d9c00 100644
--- a/src/font-view.c
+++ b/src/font-view.c
@@ -442,7 +442,7 @@ info_button_clicked_cb (GtkButton *button,
 
     populate_grid (self, grid, face);
 
-    dialog = gtk_dialog_new_with_buttons (NULL, GTK_WINDOW (self->main_window),
+    dialog = gtk_dialog_new_with_buttons ("", GTK_WINDOW (self->main_window),
                                           GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
                                           GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
                                           NULL);



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