From d45b546af129f3c05265c31c652ddaad644bc825 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Thu, 15 Apr 2021 09:05:32 -0500 Subject: Update GUI --- src/gui.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/gui.c b/src/gui.c index 8610725..36483f1 100644 --- a/src/gui.c +++ b/src/gui.c @@ -144,11 +144,12 @@ static void add_columns (GtkTreeView *treeview) { static void about_btn_clicked(GtkButton *button, gpointer user_data) { GtkWidget *dialog; - const gchar *website = "https://github.com/ocerman/zenmonitor"; - const gchar *msg = "Zen Monitor %s\n" - "Monitoring software for AMD Zen-based CPUs\n" + const gchar *website = "https://github.com/Ta180m/zenmonitor3"; + const gchar *msg = "Zenmonitor3 %s\n" + "Zenmonitor3 is monitoring software for AMD Zen-based CPUs, now with Zen 3 support!\n" "%s\n\n" - "Created by: Ondrej Čerman"; + "Created by: Ondrej Čerman\n" + "Fork by: Anthony Wang"; dialog = gtk_message_dialog_new_with_markup(GTK_WINDOW (window), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, @@ -295,7 +296,7 @@ int start_gui (SensorSource *ss) { header = gtk_header_bar_new(); gtk_header_bar_set_show_close_button(GTK_HEADER_BAR (header), TRUE); - gtk_header_bar_set_title(GTK_HEADER_BAR (header), "Zen monitor"); + gtk_header_bar_set_title(GTK_HEADER_BAR (header), "Zenmonitor3"); gtk_header_bar_set_has_subtitle(GTK_HEADER_BAR (header), TRUE); gtk_header_bar_set_subtitle(GTK_HEADER_BAR (header), cpu_model()); gtk_window_set_titlebar (GTK_WINDOW (window), header); @@ -311,7 +312,7 @@ 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"); + gtk_widget_set_tooltip_text(about_btn, "About Zenmonitor3"); 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)); -- cgit v1.2.3-70-g09d2