X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Faction_show_graph.c;h=9b9f5da500085b6c33d2061d50642b0e8e614b57;hb=3925c2e224943b71f22ad9805fcc394c8ba18f26;hp=5304a2554d79dcd828bc578923da0dd320f0953b;hpb=24d2befcb6cc804e2417585c09acb48983e2b517;p=collection4.git diff --git a/src/action_show_graph.c b/src/action_show_graph.c index 5304a25..9b9f5da 100644 --- a/src/action_show_graph.c +++ b/src/action_show_graph.c @@ -83,6 +83,16 @@ static int show_time_selector (__attribute__((unused)) void *user_data) /* {{{ * return (0); } /* }}} int show_time_selector */ +static int left_menu (__attribute__((unused)) void *user_data) /* {{{ */ +{ + printf ("\n\n", + script_name ()); + + return (0); +} /* }}} int left_menu */ + static int show_instance_cb (graph_instance_t *inst, /* {{{ */ void *user_data) { @@ -136,6 +146,7 @@ int action_show_graph (void) /* {{{ */ title[sizeof (title) - 1] = 0; pg_callbacks.top_right = html_print_search_box; + pg_callbacks.middle_left = left_menu; pg_callbacks.middle_center = show_graph; pg_callbacks.middle_right = show_time_selector;