Properly position the main menu

(Old svn revision: 4749)
This commit is contained in:
Mike Massonnet
2008-05-09 11:01:32 +00:00
parent 9731785804
commit 374c1bd30f
4 changed files with 79 additions and 2 deletions

35
src/menu-positions.h Normal file
View File

@@ -0,0 +1,35 @@
/*
* xfce4-taskmanager - very simple taskmanger
*
* Copyright (c) 2006 Johannes Zellner, <webmaster@nebulon.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __MENU_POSITIONS_H_
#define __MENU_POSITIONS_H_
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <gtk/gtk.h>
#include "functions.h"
#include "interface.h"
void position_mainmenu(GtkMenu *menu, gint *x, gint *y, gboolean *push_in, gpointer user_data);
#endif