diff options
author | David Robillard <d@drobilla.net> | 2011-06-15 00:54:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-06-15 00:54:44 +0000 |
commit | b3f6f7a3e679f111cced1f214de43f28da8d8840 (patch) | |
tree | 97976693fedf0150faa651b211f05f062ccc9cbf /src | |
parent | 78cd5c462f1583131409abbaab596dcd419d3307 (diff) | |
download | patchage-b3f6f7a3e679f111cced1f214de43f28da8d8840.tar.gz patchage-b3f6f7a3e679f111cced1f214de43f28da8d8840.tar.bz2 patchage-b3f6f7a3e679f111cced1f214de43f28da8d8840.zip |
Remove 'zoom full' menu item
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3398 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/Patchage.cpp | 9 | ||||
-rw-r--r-- | src/Patchage.hpp | 2 | ||||
-rw-r--r-- | src/patchage.ui | 8 |
3 files changed, 0 insertions, 19 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp index 016fbbe..5f38389 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -112,7 +112,6 @@ Patchage::Patchage(int argc, char** argv) , INIT_WIDGET(_menu_view_statusbar) , INIT_WIDGET(_menu_zoom_in) , INIT_WIDGET(_menu_zoom_out) - , INIT_WIDGET(_menu_zoom_full) , INIT_WIDGET(_menu_zoom_normal) , INIT_WIDGET(_messages_clear_but) , INIT_WIDGET(_messages_close_but) @@ -221,8 +220,6 @@ Patchage::Patchage(int argc, char** argv) sigc::mem_fun(this, &Patchage::on_zoom_in)); _menu_zoom_out->signal_activate().connect( sigc::mem_fun(this, &Patchage::on_zoom_out)); - _menu_zoom_full->signal_activate().connect( - sigc::mem_fun(this, &Patchage::on_zoom_full)); _menu_zoom_normal->signal_activate().connect( sigc::mem_fun(this, &Patchage::on_zoom_normal)); @@ -725,12 +722,6 @@ Patchage::on_zoom_out() } void -Patchage::on_zoom_full() -{ - _canvas->zoom_full(); -} - -void Patchage::on_zoom_normal() { _canvas->set_zoom_and_font_size(1.0, _canvas->get_default_font_size()); diff --git a/src/Patchage.hpp b/src/Patchage.hpp index 1c4f609..9143e48 100644 --- a/src/Patchage.hpp +++ b/src/Patchage.hpp @@ -114,7 +114,6 @@ protected: void on_view_statusbar(); void on_zoom_in(); void on_zoom_out(); - void on_zoom_full(); void on_zoom_normal(); bool on_scroll(GdkEventScroll* ev); @@ -175,7 +174,6 @@ protected: Widget<Gtk::CheckMenuItem> _menu_view_statusbar; Widget<Gtk::ImageMenuItem> _menu_zoom_in; Widget<Gtk::ImageMenuItem> _menu_zoom_out; - Widget<Gtk::ImageMenuItem> _menu_zoom_full; Widget<Gtk::ImageMenuItem> _menu_zoom_normal; Widget<Gtk::Button> _messages_clear_but; Widget<Gtk::Button> _messages_close_but; diff --git a/src/patchage.ui b/src/patchage.ui index db75a9e..19c2bf6 100644 --- a/src/patchage.ui +++ b/src/patchage.ui @@ -186,14 +186,6 @@ </object> </child> <child> - <object class="GtkImageMenuItem" id="menu_zoom_full"> - <property name="label">gtk-zoom-fit</property> - <property name="visible">True</property> - <property name="use_underline">True</property> - <property name="use_stock">True</property> - </object> - </child> - <child> <object class="GtkImageMenuItem" id="menu_zoom_normal"> <property name="label">gtk-zoom-100</property> <property name="visible">True</property> |