/[svn]/gigedit/trunk/src/gigedit/mainwindow.cpp
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/mainwindow.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1831 by persson, Tue Feb 3 19:38:19 2009 UTC revision 1959 by persson, Fri Jul 31 10:15:27 2009 UTC
# Line 887  void MainWindow::__import_queued_samples Line 887  void MainWindow::__import_queued_samples
887              }              }
888              // cleanup              // cleanup
889              sf_close(hFile);              sf_close(hFile);
890                // let the sampler re-cache the sample if needed
891                sample_changed_signal.emit(iter->gig_sample);
892              // on success we remove the sample from the import queue,              // on success we remove the sample from the import queue,
893              // otherwise keep it, maybe it works the next time ?              // otherwise keep it, maybe it works the next time ?
894              std::list<SampleImportItem>::iterator cur = iter;              std::list<SampleImportItem>::iterator cur = iter;
# Line 917  void MainWindow::on_action_help_about() Line 919  void MainWindow::on_action_help_about()
919  {  {
920  #ifdef ABOUT_DIALOG  #ifdef ABOUT_DIALOG
921      Gtk::AboutDialog dialog;      Gtk::AboutDialog dialog;
922    #if (GTKMM_MAJOR_VERSION == 2 && GTKMM_MINOR_VERSION >= 12) || GTKMM_MAJOR_VERSION > 2
923        dialog.set_program_name("Gigedit");
924    #else
925        dialog.set_name("Gigedit");
926    #endif
927      dialog.set_version(VERSION);      dialog.set_version(VERSION);
928      dialog.set_copyright("Copyright (C) 2006-2009 Andreas Persson");      dialog.set_copyright("Copyright (C) 2006-2009 Andreas Persson");
929      dialog.set_comments(_(      dialog.set_comments(_(
# Line 1873  sigc::signal<void, gig::Region*>& MainWi Line 1880  sigc::signal<void, gig::Region*>& MainWi
1880      return region_changed_signal;      return region_changed_signal;
1881  }  }
1882    
1883    sigc::signal<void, gig::Sample*>& MainWindow::signal_sample_changed() {
1884        return sample_changed_signal;
1885    }
1886    
1887  sigc::signal<void, gig::Sample*/*old*/, gig::Sample*/*new*/>& MainWindow::signal_sample_ref_changed() {  sigc::signal<void, gig::Sample*/*old*/, gig::Sample*/*new*/>& MainWindow::signal_sample_ref_changed() {
1888      return sample_ref_changed_signal;      return sample_ref_changed_signal;
1889  }  }

Legend:
Removed from v.1831  
changed lines
  Added in v.1959

  ViewVC Help
Powered by ViewVC