Preference Dropdown to limit Automatable Parameters
[ardour.git] / gtk2_ardour / ruler_dialog.cc
index 991bd3eb8771d50c5a60b4cbb6c723425b9b17b0..bacd2948d7a3b0445bfbde7b2bfd75fecaa06da9 100644 (file)
 #include "actions.h"
 #include "ruler_dialog.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 RulerDialog::RulerDialog ()
        : ArdourDialog (_("Rulers"))
 {
        add_button (Gtk::Stock::OK, Gtk::RESPONSE_ACCEPT);
 
-       get_vbox()->pack_start (samples_button);
-       get_vbox()->pack_start (timecode_button);
        get_vbox()->pack_start (minsec_button);
+       get_vbox()->pack_start (timecode_button);
+       get_vbox()->pack_start (samples_button);
        get_vbox()->pack_start (bbt_button);
-       get_vbox()->pack_start (tempo_button);
        get_vbox()->pack_start (meter_button);
-       get_vbox()->pack_start (loop_punch_button);
+       get_vbox()->pack_start (tempo_button);
        get_vbox()->pack_start (range_button);
-       get_vbox()->pack_start (mark_button);
+       get_vbox()->pack_start (loop_punch_button);
        get_vbox()->pack_start (cdmark_button);
+       get_vbox()->pack_start (mark_button);
        get_vbox()->pack_start (video_button);
 
        get_vbox()->show_all ();
@@ -60,11 +60,6 @@ RulerDialog::~RulerDialog ()
 {
 }
 
-void
-RulerDialog::on_response (int)
-{
-       hide ();
-}
 
 void
 RulerDialog::connect_action (Gtk::CheckButton& button, std::string const &action_name_part)