diff options
author | David Robillard <d@drobilla.net> | 2014-04-26 18:25:08 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-04-26 18:25:08 +0000 |
commit | b7f8e400a0dec68393abdef87f517105c4c101a6 (patch) | |
tree | dd890a125b13899e74c021db1edec295318a9282 /src | |
parent | f28d6973068dd852a84d1a0cf9300a5f2435e166 (diff) | |
download | patchage-b7f8e400a0dec68393abdef87f517105c4c101a6.tar.gz patchage-b7f8e400a0dec68393abdef87f517105c4c101a6.tar.bz2 patchage-b7f8e400a0dec68393abdef87f517105c4c101a6.zip |
Hide Jack session management unless explicitly configured.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5370 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/Patchage.cpp | 5 | ||||
-rw-r--r-- | src/patchage.ui | 6 |
2 files changed, 3 insertions, 8 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp index 4dec0f2..f3fc86b 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -179,7 +179,9 @@ Patchage::Patchage(int argc, char** argv) _menu_save_close_session->signal_activate().connect( sigc::mem_fun(this, &Patchage::show_save_close_session_dialog)); #else - _menu_open_session->set_sensitive(false); + _menu_open_session->hide(); + _menu_save_session->hide(); + _menu_save_close_session->hide(); #endif #ifdef HAVE_ALSA @@ -837,7 +839,6 @@ Patchage::on_quit() _jack_driver->detach(); #endif _main_win->hide(); - _canvas.reset(); } void diff --git a/src/patchage.ui b/src/patchage.ui index f41c938..10494cd 100644 --- a/src/patchage.ui +++ b/src/patchage.ui @@ -765,12 +765,6 @@ Nedko Arnaudov <nedko@arnaudov.name></property> </object> </child> <child> - <object class="GtkSeparatorMenuItem" id="menu_file_draw_sep"> - <property name="visible">True</property> - <property name="can_focus">False</property> - </object> - </child> - <child> <object class="GtkMenuItem" id="menu_export_dot"> <property name="use_action_appearance">False</property> <property name="visible">True</property> |