aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Čerman2020-01-09 21:16:39 +0100
committerOndrej Čerman2020-01-09 21:16:39 +0100
commitdb79afa3901792bfa018516c1ca8b34140a6e308 (patch)
treeae3f7420e19ab6be33e37408eb83010a3e42f88c
parent5408b21e7a1a22b79e81a712e2e19d386f3c4d94 (diff)
Added tooltips
-rw-r--r--src/gui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui.c b/src/gui.c
index 25d904f..c4a1b7b 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -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);