summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/panel.h
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2006-05-22 09:32:22 +0000
committerjoncruz <joncruz@users.sourceforge.net>2006-05-22 09:32:22 +0000
commitcb8e0d601ac3cffc473fb8b8ec612c1595e94ff2 (patch)
tree5450d1abddb9c451f9fc019388f364fe2bc29c6f /src/ui/widget/panel.h
parent* Re-add pointer/keyb grabbing for font list popdown in the text toolbar (was... (diff)
downloadinkscape-cb8e0d601ac3cffc473fb8b8ec612c1595e94ff2.tar.gz
inkscape-cb8e0d601ac3cffc473fb8b8ec612c1595e94ff2.zip
Removed panel menu unless requested. Fixes bug #1492597
(bzr r940)
Diffstat (limited to 'src/ui/widget/panel.h')
-rw-r--r--src/ui/widget/panel.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/widget/panel.h b/src/ui/widget/panel.h
index 8fb4b517a..cf201d6da 100644
--- a/src/ui/widget/panel.h
+++ b/src/ui/widget/panel.h
@@ -34,8 +34,8 @@ class Panel : public Gtk::VBox
public:
Panel();
virtual ~Panel();
- Panel(Glib::ustring const &label);
- Panel(const gchar *prefs_path);
+ Panel(Glib::ustring const &label, bool menuDesired = false );
+ Panel(const gchar *prefs_path, bool menuDesired = false );
void setLabel(Glib::ustring const &label);
Glib::ustring const &getLabel() const;
@@ -51,6 +51,7 @@ protected:
void _regItem( Gtk::MenuItem* item, int group, int id );
virtual void _handleAction( int setId, int itemId );
+ bool _menuDesired;
Gtk::AnchorType _anchor;