From c4fa2b20acf7b3ef5335faa6a5e6da40528f2739 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Wed, 30 Apr 2025 11:26:14 +0600 Subject: [PATCH] Added separator to session RMB menu --- source/ubl-settings-services.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/ubl-settings-services.c b/source/ubl-settings-services.c index 03e2eb0..d70246b 100644 --- a/source/ubl-settings-services.c +++ b/source/ubl-settings-services.c @@ -1923,6 +1923,7 @@ void yon_main_window_complete(main_window *widgets){ UNLOCK_SESSION_LABEL,unlock_icon_path,G_CALLBACK(on_session_unlock),widgets, END_SESSION_LABEL,end_icon_path,G_CALLBACK(on_session_end),widgets, NULL); + gtk_style_context_add_class(gtk_widget_get_style_context(((GtkWidget*)widgets->SessionMenu->buttons->first->data)),"separatorBottom"); { GList *list = gtk_container_get_children(GTK_CONTAINER(widgets->SystemMenu->menu)); gtk_style_context_add_class(gtk_widget_get_style_context(g_list_nth_data(list,1)),"separatorTop");