summaryrefslogtreecommitdiff
path: root/linux/toolbar.cpp
diff options
context:
space:
mode:
authorleo1999-12-21 22:19:42 +0000
committerleo1999-12-21 22:19:42 +0000
commitc2804ce4004c57f060e7c7ab55d27a08d5a9b508 (patch)
treeed498568440efa1eea2a5796d2ab43c549512b41 /linux/toolbar.cpp
parent107039f1054fa8aa3c1be5af299ec1662d7b8333 (diff)
Fixed a bug with the background rendering and with the add keys button
git-svn-id: http://svn.leocad.org/trunk@39 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'linux/toolbar.cpp')
-rw-r--r--linux/toolbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/toolbar.cpp b/linux/toolbar.cpp
index d82d80d..1985754 100644
--- a/linux/toolbar.cpp
+++ b/linux/toolbar.cpp
@@ -236,10 +236,10 @@ void create_toolbars(GtkWidget *window, GtkWidget *vbox)
GTK_SIGNAL_FUNC (OnCommandDirect), (void*)LC_VIEW_STEP_LAST);
anim_toolbar.anim = gtk_toolbar_append_element (GTK_TOOLBAR (anim_toolbar.toolbar),
GTK_TOOLBAR_CHILD_TOGGLEBUTTON, NULL, "Mode", "Toggle Animation or Instructions", "",
- new_pixmap (window, an_anim), GTK_SIGNAL_FUNC (OnCommandDirect), (void*)LC_TOOLBAR_ADDKEYS);
+ new_pixmap (window, an_anim), GTK_SIGNAL_FUNC (OnCommandDirect), (void*)LC_TOOLBAR_ANIMATION);
anim_toolbar.keys = gtk_toolbar_append_element (GTK_TOOLBAR (anim_toolbar.toolbar),
GTK_TOOLBAR_CHILD_TOGGLEBUTTON, NULL, "Keys", "Add Keys", "",
- new_pixmap (window, an_key), GTK_SIGNAL_FUNC (OnCommandDirect), (void*)LC_TOOLBAR_ANIMATION);
+ new_pixmap (window, an_key), GTK_SIGNAL_FUNC (OnCommandDirect), (void*)LC_TOOLBAR_ADDKEYS);
}
// =========================================================