mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
1004 B

  1. --- audacity-src-1.3.4-beta/lib-src/FileDialog/gtk/FileDialogPrivate.cpp 2007-11-13 23:01:48.000000000 +0100
  2. +++ audacity-src-1.3.4-beta/lib-src/FileDialog/gtk/FileDialogPrivate.cpp 2008-03-14 23:29:08.000000000 +0100
  3. @@ -68,7 +68,7 @@
  4. extern "C" {
  5. static void gtk_filedialog_ok_callback(GtkWidget *widget, FileDialog *dialog)
  6. {
  7. - int style = dialog->GetStyle();
  8. + int style = 0; // dialog->GetStyle();
  9. gchar* filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(widget));
  10. // gtk version numbers must be identical with the one in ctor (that calls set_do_overwrite_confirmation)
  11. @@ -453,7 +453,8 @@
  12. #if defined(__WXGTK24__) && (!defined(__WXGPE__))
  13. if (!gtk_check_version(2,4,0))
  14. {
  15. - if (GetStyle() & wxSAVE)
  16. + // if (GetStyle() & wxSAVE)
  17. + if (0 & wxSAVE)
  18. gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER(m_widget), wxConvFileName->cWX2MB(name));
  19. else
  20. SetPath(wxFileName(GetDirectory(), name).GetFullPath());