aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-12-01 18:03:51 +0100
committerdec05eba <dec05eba@protonmail.com>2023-12-01 18:03:51 +0100
commit3a37b4fe07b11b211de296d2492f312f344c8340 (patch)
tree0fc51d4f52f7f485342a1e32aa7835bf40ca4f0d /src
parent2937028cbd0fbe75e65a629d9042f5974654500d (diff)
Fix streaming key show/hide symbol
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 80a8f72..4c7fc33 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1169,7 +1169,7 @@ void on_stream_key_icon_click(GtkWidget *widget, gpointer) {
gboolean visible = gtk_entry_get_visibility(GTK_ENTRY(widget));
gtk_entry_set_visibility(GTK_ENTRY(widget), !visible);
- gtk_entry_set_icon_from_icon_name(GTK_ENTRY(widget), GTK_ENTRY_ICON_SECONDARY, visible ? "view-reveal-symbolic.symbolic" : "view-conceal-symbolic.symbolic");
+ gtk_entry_set_icon_from_icon_name(GTK_ENTRY(widget), GTK_ENTRY_ICON_SECONDARY, visible ? "view-reveal-symbolic" : "view-conceal-symbolic");
}
static gboolean on_start_streaming_click(GtkButton*, gpointer userdata) {
@@ -2645,8 +2645,8 @@ static GtkWidget* create_streaming_page(GtkApplication *app, GtkStack *stack) {
stream_id_entry = GTK_ENTRY(gtk_entry_new());
gtk_entry_set_visibility(stream_id_entry, FALSE);
gtk_entry_set_input_purpose(stream_id_entry, GTK_INPUT_PURPOSE_PASSWORD);
- gtk_entry_set_icon_from_icon_name(stream_id_entry, GTK_ENTRY_ICON_SECONDARY, "view-reveal-symbolic.symbolic");
- gtk_entry_set_icon_activatable(stream_id_entry, GTK_ENTRY_ICON_SECONDARY, TRUE);
+ gtk_entry_set_icon_from_icon_name(stream_id_entry, GTK_ENTRY_ICON_SECONDARY, "view-reveal-symbolic");
+ gtk_entry_set_icon_activatable(stream_id_entry, GTK_ENTRY_ICON_SECONDARY, true);
g_signal_connect(stream_id_entry, "icon-press", G_CALLBACK(on_stream_key_icon_click), nullptr);
gtk_widget_set_hexpand(GTK_WIDGET(stream_id_entry), true);
gtk_grid_attach(stream_id_grid, GTK_WIDGET(stream_id_entry), 1, 0, 1, 1);