projects
/
projects
/
chimara
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Re-added toolbar with menu item to show or hide it
[projects/chimara/chimara.git]
/
player
/
callbacks.c
diff --git
a/player/callbacks.c
b/player/callbacks.c
index 38629fe875da262df3d56369001eb85b2571103b..86e85b62a9e14c384134bee146c81f280d818276 100644
(file)
--- a/
player/callbacks.c
+++ b/
player/callbacks.c
@@
-184,6
+184,17
@@
on_preferences_activate(GtkAction *action, ChimaraGlk *glk)
gtk_window_present(GTK_WINDOW(prefswindow));
}
gtk_window_present(GTK_WINDOW(prefswindow));
}
+void
+on_toolbar_toggled(GtkToggleAction *action, ChimaraGlk *glk)
+{
+ extern GtkWidget *toolbar;
+
+ if(gtk_toggle_action_get_active(action))
+ gtk_widget_show(toolbar);
+ else
+ gtk_widget_hide(toolbar);
+}
+
void
on_undo_activate(GtkAction *action, ChimaraGlk *glk)
{
void
on_undo_activate(GtkAction *action, ChimaraGlk *glk)
{