diff options
author | Ondrej Čerman | 2020-01-09 21:16:39 +0100 |
---|---|---|
committer | Ondrej Čerman | 2020-01-09 21:16:39 +0100 |
commit | db79afa3901792bfa018516c1ca8b34140a6e308 (patch) | |
tree | ae3f7420e19ab6be33e37408eb83010a3e42f88c | |
parent | 5408b21e7a1a22b79e81a712e2e19d386f3c4d94 (diff) |
Added tooltips
-rw-r--r-- | src/gui.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -193,10 +193,12 @@ int start_gui (SensorSource *ss) { about_btn = gtk_button_new(); gtk_container_add(GTK_CONTAINER(about_btn), gtk_image_new_from_icon_name("dialog-information", GTK_ICON_SIZE_BUTTON)); gtk_container_add(GTK_CONTAINER(box), about_btn); + gtk_widget_set_tooltip_text(about_btn, "About Zen monitor"); clear_btn = gtk_button_new(); gtk_container_add(GTK_CONTAINER(clear_btn), gtk_image_new_from_icon_name("edit-clear-all", GTK_ICON_SIZE_BUTTON)); gtk_container_add(GTK_CONTAINER(box), clear_btn); + gtk_widget_set_tooltip_text(clear_btn, "Clear Min/Max"); gtk_header_bar_pack_start(GTK_HEADER_BAR(header), box); g_signal_connect(about_btn, "clicked", G_CALLBACK(about_btn_clicked), NULL); |