X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=player%2Fcallbacks.c;h=86e85b62a9e14c384134bee146c81f280d818276;hb=f95649aae72dacb4b65d5a987ce0a41b467a3909;hp=38629fe875da262df3d56369001eb85b2571103b;hpb=b30b05a569c24260332a746ed867a78730a19627;p=projects%2Fchimara%2Fchimara.git diff --git a/player/callbacks.c b/player/callbacks.c index 38629fe..86e85b6 100644 --- 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)); } +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) {