You are not logged in.
Pages: 1
Hi everyone,
I am trying to fix a theme I downloaded to have a nice homogeneity and I have a last problem. In the menu of nm-applet, the titles of the list of connections are not readable because of a colour problem ("Ethernet Network" and "Wi-Fi Networks").I have gone through the source code of nm-applet and I found where they are created as illustrated by the following piece of code from the source code ./src/applet.c (line #839 -> 854)
GtkWidget *
applet_menu_item_create_device_item_helper (NMDevice *device,
NMApplet *applet,
const gchar *text)
{
GtkWidget *item;
item = gtk_menu_item_new_with_mnemonic (text);
gtk_widget_set_sensitive (item, FALSE);
#if GTK_CHECK_VERSION(2,90,7)
g_signal_connect (item, "draw", G_CALLBACK (menu_title_item_draw), NULL);
#else
g_signal_connect (item, "expose-event", G_CALLBACK (menu_title_item_expose), NULL);
#endif
return item;
}The connection titles are created via the line starting with "item = ". With the "GtkMenuShell GtkMenuItem GtkLabel" selector, I can change the colour of the text of the various connections but I can not get access to the title.
Do you know how to do that?
Offline
Maybe change the background of the menu as a whole?
fs/super.c : "Self-destruct in 5 seconds. Have a nice day...\n",
Offline
Thank you for the temporary work around.
I will continue to look for a complete fix.
Offline
Pages: 1