[gtk+/gtk-3-10] printing: Show "Replace" button when printing to existing file



commit 496177f1be624e23e0000ad0c69efff81827b637
Author: Marek Kasik <mkasik redhat com>
Date:   Mon Jan 20 15:45:16 2014 +0100

    printing: Show "Replace" button when printing to existing file
    
    The button needs to be showed by gtk_widget_show().

 gtk/gtkprintunixdialog.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c
index d8fa0e4..2de539f 100644
--- a/gtk/gtkprintunixdialog.c
+++ b/gtk/gtkprintunixdialog.c
@@ -613,6 +613,7 @@ add_custom_button_to_dialog (GtkDialog   *dialog,
 
   button = gtk_button_new_with_mnemonic (mnemonic_label);
   gtk_widget_set_can_default (button, TRUE);
+  gtk_widget_show (button);
 
   gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, response_id);
 }


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