~vcs-imports/gnote/master

« back to all changes in this revision

Viewing changes to src/searchnoteswidget.cpp

  • Committer: Aurimas Černius
  • Date: 2017-02-04 12:48:12 UTC
  • Revision ID: git-v1:6c2ee3c5e1ed3549f716b0936a2913477cab0f64
Replace std::string by Glib::ustring in main window embeds

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
  }
123
123
}
124
124
 
125
 
std::string SearchNotesWidget::get_name() const
 
125
Glib::ustring SearchNotesWidget::get_name() const
126
126
{
127
127
  notebooks::Notebook::Ptr selected_notebook = get_selected_notebook();
128
128
  if(!selected_notebook
151
151
  m_rename_notebook_action->signal_activate().connect(sigc::mem_fun(*this, &SearchNotesWidget::on_rename_notebook));
152
152
}
153
153
 
154
 
void SearchNotesWidget::perform_search(const std::string & search_text)
 
154
void SearchNotesWidget::perform_search(const Glib::ustring & search_text)
155
155
{
156
156
  restore_matches_window();
157
157
  m_search_text = search_text;