Fix yet another oversight for the windows icon file update
[ardour.git] / gtk2_ardour / floating_text_entry.cc
index 955de8d2b1097b9cdfab9a6787d6ef6728c9742b..571969d2dcc12559676d848f9679cae21e04cf97 100644 (file)
 #include "gtkmm2ext/doi.h"
 #include "gtkmm2ext/utils.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 FloatingTextEntry::FloatingTextEntry (Gtk::Window* parent, const std::string& initial_contents)
        : Gtk::Window (Gtk::WINDOW_POPUP)
         , entry_changed (false)
        , by_popup_menu (false)
 {
-       set_name (X_("FloatingTextEntry"));
+       //set_name (X_("FloatingTextEntry"));
        set_position (Gtk::WIN_POS_MOUSE);
        set_border_width (0);
 
@@ -49,7 +49,6 @@ FloatingTextEntry::FloatingTextEntry (Gtk::Window* parent, const std::string& in
        entry.signal_populate_popup().connect (sigc::mem_fun (*this, &FloatingTextEntry::populate_popup));
 
        entry.select_region (0, -1);
-       entry.set_state (Gtk::STATE_SELECTED);
 
        if (parent) {
                parent->signal_focus_out_event().connect (sigc::mem_fun (*this, &FloatingTextEntry::entry_focus_out));