More Export GUI tweaks....

git-svn-id: svn://localhost/ardour2/branches/3.0@3926 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Sakari Bergen 2008-10-11 15:35:36 +00:00
parent 516c6168fe
commit ccc3461a58
8 changed files with 21 additions and 4 deletions

View File

@ -1215,7 +1215,7 @@ class "GtkButton" style:highest "ardour_button"
class "GtkArrow" style:highest "tearoff_arrow"
class "GtkProgressBar" style:highest "ardour_progressbars"
widget "PaddedButton" style:highest "padded_button"
widget "*PaddedButton" style:highest "padded_button"
widget "*FirstActionMessage" style:highest "first_action_message"
widget "*VerboseCanvasCursor" style:highest "verbose_canvas_cursor"
widget "*MarkerText" style:highest "marker_text"

View File

@ -1214,7 +1214,7 @@ class "GtkButton" style:highest "ardour_button"
class "GtkArrow" style:highest "tearoff_arrow"
class "GtkProgressBar" style:highest "ardour_progressbars"
widget "PaddedButton" style:highest "padded_button"
widget "*PaddedButton" style:highest "padded_button"
widget "*FirstActionMessage" style:highest "first_action_message"
widget "*VerboseCanvasCursor" style:highest "verbose_canvas_cursor"
widget "*MarkerText" style:highest "marker_text"

View File

@ -139,14 +139,14 @@ ExportDialog::init_gui ()
get_vbox()->pack_start (*preset_align, false, false, 0);
Gtk::Alignment * timespan_align = Gtk::manage (new Gtk::Alignment());
Gtk::Label * timespan_label = Gtk::manage (new Gtk::Label (_("Time Span"), Gtk::ALIGN_LEFT));
timespan_label = Gtk::manage (new Gtk::Label (_("Time Span"), Gtk::ALIGN_LEFT));
timespan_align->add (*timespan_selector);
timespan_align->set_padding (0, 12, 18, 0);
get_vbox()->pack_start (*timespan_label, false, false, 0);
get_vbox()->pack_start (*timespan_align, false, false, 0);
Gtk::Alignment * channels_align = Gtk::manage (new Gtk::Alignment());
Gtk::Label * channels_label = Gtk::manage (new Gtk::Label (_("Channels"), Gtk::ALIGN_LEFT));
channels_label = Gtk::manage (new Gtk::Label (_("Channels"), Gtk::ALIGN_LEFT));
channels_align->add (*channel_selector);
channels_align->set_padding (0, 12, 18, 0);
get_vbox()->pack_start (*channels_label, false, false, 0);
@ -387,6 +387,14 @@ ExportRegionDialog::ExportRegionDialog (PublicEditor & editor, ARDOUR::AudioRegi
track (track)
{}
void
ExportRegionDialog::init_gui ()
{
ExportDialog::init_gui ();
channels_label->set_text (_("Source"));
}
void
ExportRegionDialog::init_components ()
{

View File

@ -82,6 +82,9 @@ class ExportDialog : public ArdourDialog {
Gtk::VBox warning_widget;
Gtk::VBox progress_widget;
Gtk::Label * timespan_label;
Gtk::Label * channels_label;
private:
@ -161,6 +164,7 @@ class ExportRegionDialog : public ExportDialog
ExportRegionDialog (PublicEditor & editor, ARDOUR::AudioRegion const & region, ARDOUR::AudioTrack & track);
private:
void init_gui ();
void init_components ();
ARDOUR::AudioRegion const & region;

View File

@ -56,6 +56,8 @@ ExportFilenameSelector::ExportFilenameSelector () :
path_hbox.pack_start (path_entry, true, true, 3);
path_hbox.pack_start (browse_button, false, false, 3);
date_format_combo.set_name ("PaddedButton");
time_format_combo.set_name ("PaddedButton");
browse_button.set_name ("PaddedButton");
label_sizegroup = Gtk::SizeGroup::create (Gtk::SIZE_GROUP_HORIZONTAL);

View File

@ -38,6 +38,7 @@ ExportFormatSelector::ExportFormatSelector () :
pack_start (remove_button, false, false, 3);
pack_start (new_button, false, false, 3);
format_combo.set_name ("PaddedButton");
edit_button.set_name ("PaddedButton");
remove_button.set_name ("PaddedButton");
new_button.set_name ("PaddedButton");

View File

@ -40,6 +40,7 @@ ExportPresetSelector::ExportPresetSelector () :
pack_start (remove_button, false, false, 6);
pack_start (new_button, false, false, 0);
entry.set_name ("PaddedButton");
save_button.set_name ("PaddedButton");
remove_button.set_name ("PaddedButton");
new_button.set_name ("PaddedButton");

View File

@ -60,6 +60,7 @@ ExportTimespanSelector::ExportTimespanSelector () :
time_format_list = Gtk::ListStore::create (time_format_cols);
time_format_combo.set_model (time_format_list);
time_format_combo.set_name ("PaddedButton");
iter = time_format_list->append();
row = *iter;