Browse Source

Merge branch 'VadimGit-little_fixes'

merge-requests/365/head
eidheim 10 years ago
parent
commit
81d7383a58
  1. 3
      src/cmake.cc
  2. 2
      src/directories.cc
  3. 4
      src/files.h
  4. 6
      src/juci.h

3
src/cmake.cc

@ -1,9 +1,10 @@
#include "cmake.h"
#include "singletons.h"
#include "filesystem.h"
#include <boost/regex.hpp>
#include "dialogs.h"
#include <boost/regex.hpp>
#include <iostream> //TODO: remove
using namespace std; //TODO: remove

2
src/directories.cc

@ -216,7 +216,7 @@ void Directories::add_path(const boost::filesystem::path& dir_path, const Gtk::T
bool already_added=false;
if(*children) {
for(auto &child: *children) {
if(child.get_value(column_record.name)==filename) {
if(child->get_value(column_record.name)==filename) {
not_deleted.emplace(filename);
already_added=true;
break;

4
src/files.h

@ -1,3 +1,5 @@
#ifndef JUCI_FILES_H_
#define JUCI_FILES_H_
#include <string>
#define JUCI_VERSION "0.9.6"
@ -373,4 +375,4 @@ const std::string snippetpy =
" output=getSnippet(theWord) \n"
" juci.replaceWord(output) \n";
#endif // JUCI_FILES_H_

6
src/juci.h

@ -8,9 +8,9 @@
class Application : public Gtk::Application {
public:
Application();
int on_command_line(const Glib::RefPtr<Gio::ApplicationCommandLine> &cmd);
void on_activate();
void on_startup();
int on_command_line(const Glib::RefPtr<Gio::ApplicationCommandLine> &cmd) override;
void on_activate() override;
void on_startup() override;
std::unique_ptr<Window> window;
private:
std::vector<boost::filesystem::path> directories;

Loading…
Cancel
Save