gtk_file_chooser_dialog_new



Hi,

I read the documentation about gtk_file_chooser_dialog_new() so I
write this line:

gtk_file_chooser_dialog_new (_("Save File"), NULL,
          GTK_FILE_CHOOSER_ACTION_SAVE,
          GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_SAVE,
          GTK_RESPONSE_ACCEPT, NULL);

However, I get four buttons: Cancel, Save, Cancel, Open. It seems like
the gtk_file_chooser_dialog_new function always place the Cancel and
Open buttons.
How can I get only Cancel and Save buttons?

Best Regards



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