From b3f6f7a3e679f111cced1f214de43f28da8d8840 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 15 Jun 2011 00:54:44 +0000 Subject: Remove 'zoom full' menu item git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3398 a436a847-0d15-0410-975c-d299462d15a1 --- src/Patchage.cpp | 9 --------- src/Patchage.hpp | 2 -- src/patchage.ui | 8 -------- 3 files changed, 19 deletions(-) (limited to 'src') 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)); @@ -724,12 +721,6 @@ Patchage::on_zoom_out() _canvas->set_font_size(_canvas->get_font_size() - 1.0); } -void -Patchage::on_zoom_full() -{ - _canvas->zoom_full(); -} - void Patchage::on_zoom_normal() { 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 _menu_view_statusbar; Widget _menu_zoom_in; Widget _menu_zoom_out; - Widget _menu_zoom_full; Widget _menu_zoom_normal; Widget _messages_clear_but; Widget _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 @@ -185,14 +185,6 @@ - - - gtk-zoom-fit - True - True - True - - gtk-zoom-100 -- cgit v1.2.1