From 152695e25835116497f61b7941c454bc060c1c09 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sun, 20 Jun 2004 08:46:00 +0000 Subject: [PATCH] Suggest a job name based on the output file name. --- ChangeLog | 3 +++ src/mmg/mmg.cpp | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d875631cf..556bf5b3f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-06-20 Moritz Bunkus + * mmg: new feature: Suggest a name for a new job based on the + output file name. + * mmg: new feature: Temporarily disaable 'always on top' if the muxing or the job dialog are visible. diff --git a/src/mmg/mmg.cpp b/src/mmg/mmg.cpp index fdc9b0b43..9ee96510b 100644 --- a/src/mmg/mmg.cpp +++ b/src/mmg/mmg.cpp @@ -1498,7 +1498,8 @@ mmg_dialog::on_add_to_jobqueue(wxCommandEvent &evt) { wxYES_NO) != wxYES)) return; - description = wxT(""); + description = tc_output->GetValue().AfterLast(wxT('/')).AfterLast(wxT('\\')); + description = description.AfterLast(wxT('/')).BeforeLast(wxT('.')); ok = false; do { description = wxGetTextFromUser(wxT("Please enter a description for the "