summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchWindow.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-22 03:13:45 +0000
committerDavid Robillard <d@drobilla.net>2011-10-22 03:13:45 +0000
commitd9e8e65328406f10de9f272572d4bee0732a7b3c (patch)
treedbd4e8d0bbff0bceb8316aef0d140b3e730ec705 /src/gui/PatchWindow.cpp
parentac1d6d135bda8d739fdb8bf564f89c38b664c097 (diff)
downloadingen-d9e8e65328406f10de9f272572d4bee0732a7b3c.tar.gz
ingen-d9e8e65328406f10de9f272572d4bee0732a7b3c.tar.bz2
ingen-d9e8e65328406f10de9f272572d4bee0732a7b3c.zip
Remove remote patch stuff (doesn't work anyway).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3585 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/PatchWindow.cpp')
-rw-r--r--src/gui/PatchWindow.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/gui/PatchWindow.cpp b/src/gui/PatchWindow.cpp
index c95f4fea..aa4c3330 100644
--- a/src/gui/PatchWindow.cpp
+++ b/src/gui/PatchWindow.cpp
@@ -77,11 +77,9 @@ PatchWindow::PatchWindow(BaseObjectType* cobject,
//xml->get_widget("patch_win_status_bar", _status_bar);
//xml->get_widget("patch_open_menuitem", _menu_open);
xml->get_widget("patch_import_menuitem", _menu_import);
- xml->get_widget("patch_import_location_menuitem", _menu_import_location);
//xml->get_widget("patch_open_into_menuitem", _menu_open_into);
xml->get_widget("patch_save_menuitem", _menu_save);
xml->get_widget("patch_save_as_menuitem", _menu_save_as);
- xml->get_widget("patch_upload_menuitem", _menu_upload);
xml->get_widget("patch_draw_menuitem", _menu_draw);
xml->get_widget("patch_edit_controls_menuitem", _menu_edit_controls);
xml->get_widget("patch_cut_menuitem", _menu_cut);
@@ -111,14 +109,10 @@ PatchWindow::PatchWindow(BaseObjectType* cobject,
_menu_view_control_window->property_sensitive() = false;
_menu_import->signal_activate().connect(
sigc::mem_fun(this, &PatchWindow::event_import));
- _menu_import_location->signal_activate().connect(
- sigc::mem_fun(this, &PatchWindow::event_import_location));
_menu_save->signal_activate().connect(
sigc::mem_fun(this, &PatchWindow::event_save));
_menu_save_as->signal_activate().connect(
sigc::mem_fun(this, &PatchWindow::event_save_as));
- _menu_upload->signal_activate().connect(
- sigc::mem_fun(this, &PatchWindow::event_upload));
_menu_draw->signal_activate().connect(
sigc::mem_fun(this, &PatchWindow::event_draw));
_menu_edit_controls->signal_activate().connect(
@@ -160,10 +154,6 @@ PatchWindow::PatchWindow(BaseObjectType* cobject,
_menu_view_patch_properties->signal_activate().connect(
sigc::mem_fun(this, &PatchWindow::event_show_properties));
-#ifndef HAVE_CURL
- _menu_upload->hide();
-#endif
-
Glib::RefPtr<Gtk::Clipboard> clipboard = Gtk::Clipboard::get();
clipboard->signal_owner_change().connect(
sigc::mem_fun(this, &PatchWindow::event_clipboard_changed));
@@ -443,12 +433,6 @@ PatchWindow::event_import()
}
void
-PatchWindow::event_import_location()
-{
- _app->window_factory()->present_load_remote_patch(_patch);
-}
-
-void
PatchWindow::event_save()
{
const Raul::Atom& document = _patch->get_property(_app->uris().ingen_document);
@@ -562,12 +546,6 @@ more files and/or directories, recursively. Existing files will be overwritten.
}
void
-PatchWindow::event_upload()
-{
- _app->window_factory()->present_upload_patch(_patch);
-}
-
-void
PatchWindow::event_draw()
{
Gtk::FileChooserDialog dialog(*this, "Draw to DOT", Gtk::FILE_CHOOSER_ACTION_SAVE);