[totem] [properties] Remove the button "Close" from GtkHeaderBar



commit da98b80e34341ea131cddd8ea597235c76cbfe72
Author: Baptiste Mille-Mathias <baptiste millemathias gmail com>
Date:   Sat Feb 8 18:11:42 2014 +0100

    [properties] Remove the button "Close" from GtkHeaderBar
    
    The better behavior is to have a [X] button.
    https://bugzilla.gnome.org/show_bug.cgi?id=723826

 src/plugins/properties/totem-movie-properties.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/properties/totem-movie-properties.c b/src/plugins/properties/totem-movie-properties.c
index 6f3175a..c5bb421 100644
--- a/src/plugins/properties/totem-movie-properties.c
+++ b/src/plugins/properties/totem-movie-properties.c
@@ -260,7 +260,7 @@ impl_activate (PeasActivatable *plugin)
        pi->priv->dialog = gtk_dialog_new_with_buttons (_("Properties"),
                                                        parent,
                                                        GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT | 
GTK_DIALOG_USE_HEADER_BAR,
-                                                       _("Close"),
+                                                       NULL,
                                                        GTK_RESPONSE_CLOSE,
                                                        NULL);
        g_object_unref (parent);


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