aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-11-27 22:02:28 (GMT)
committerfluxgen <fluxgen>2003-11-27 22:02:28 (GMT)
commitd937beae9edbb3619660eed9e23f998a4195323a (patch)
tree7228b8ba46efae2c175ccc4e0002272eb6f9f02c
parent0ea8c473265a851895ff195d02849d1e81fb37e5 (diff)
downloadfluxbox_paul-d937beae9edbb3619660eed9e23f998a4195323a.zip
fluxbox_paul-d937beae9edbb3619660eed9e23f998a4195323a.tar.bz2
send to menu
-rw-r--r--src/Window.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Window.cc b/src/Window.cc
index fc7a59b..d6283e4 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Window.cc,v 1.245 2003/11/27 14:31:28 fluxgen Exp $ 25// $Id: Window.cc,v 1.246 2003/11/27 22:02:28 fluxgen Exp $
26 26
27#include "Window.hh" 27#include "Window.hh"
28 28
@@ -47,6 +47,7 @@
47#include "FbWinFrame.hh" 47#include "FbWinFrame.hh"
48#include "WinButton.hh" 48#include "WinButton.hh"
49#include "WinButtonTheme.hh" 49#include "WinButtonTheme.hh"
50#include "SendToMenu.hh"
50 51
51#ifdef HAVE_CONFIG_H 52#ifdef HAVE_CONFIG_H
52#include "config.h" 53#include "config.h"
@@ -3384,9 +3385,7 @@ void FluxboxWindow::setupWindow() {
3384 0, 0, 10, 10); 3385 0, 0, 10, 10);
3385 3386
3386 newbutton->setOnClick(close_cmd); 3387 newbutton->setOnClick(close_cmd);
3387#ifdef DEBUG 3388
3388 cerr<<__FILE__<<": Creating close button"<<endl;
3389#endif // DEBUG
3390 } else if ((*dir)[i] == Fluxbox::STICK) { 3389 } else if ((*dir)[i] == Fluxbox::STICK) {
3391 WinButton *winbtn = new WinButton(*this, winbutton_theme, 3390 WinButton *winbtn = new WinButton(*this, winbutton_theme,
3392 WinButton::STICK, 3391 WinButton::STICK,
@@ -3450,6 +3449,8 @@ void FluxboxWindow::setupWindow() {
3450 menu.insert("Next Client", next_client_cmd); 3449 menu.insert("Next Client", next_client_cmd);
3451 menu.insert("Prev Client", prev_client_cmd); 3450 menu.insert("Prev Client", prev_client_cmd);
3452 3451
3452 menu.insert("Send To...", new SendToMenu(*this));
3453
3453 ExtraMenus::iterator it = m_extramenus.begin(); 3454 ExtraMenus::iterator it = m_extramenus.begin();
3454 ExtraMenus::iterator it_end = m_extramenus.end(); 3455 ExtraMenus::iterator it_end = m_extramenus.end();
3455 for (; it != it_end; ++it) { 3456 for (; it != it_end; ++it) {
@@ -3457,6 +3458,7 @@ void FluxboxWindow::setupWindow() {
3457 menu.insert(it->first, it->second); 3458 menu.insert(it->first, it->second);
3458 } 3459 }
3459 3460
3461
3460 menu.insert("------------------"); 3462 menu.insert("------------------");
3461 menu.insert("Close", close_cmd); 3463 menu.insert("Close", close_cmd);
3462 3464