mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-18 11:40:18 +00:00
Updated mg_create_tabmenu to remove the hardcoded inline foreground="#3344cc" color from the top menu title and keep only bold emphasis (<b>…</b>), so GTK theme colors are used naturally.
This commit is contained in:
@@ -1869,7 +1869,7 @@ mg_create_tabmenu (session *sess, GdkEventButton *event, chan *ch)
|
|||||||
if (sess)
|
if (sess)
|
||||||
{
|
{
|
||||||
char *name = g_markup_escape_text (sess->channel[0] ? sess->channel : _("<none>"), -1);
|
char *name = g_markup_escape_text (sess->channel[0] ? sess->channel : _("<none>"), -1);
|
||||||
g_snprintf (buf, sizeof (buf), "<span foreground=\"#3344cc\"><b>%s</b></span>", name);
|
g_snprintf (buf, sizeof (buf), "<b>%s</b>", name);
|
||||||
g_free (name);
|
g_free (name);
|
||||||
|
|
||||||
item = gtk_menu_item_new_with_label ("");
|
item = gtk_menu_item_new_with_label ("");
|
||||||
|
|||||||
Reference in New Issue
Block a user