# HG changeset patch # User Christophe Lincoln # Date 1397974574 -7200 # Node ID d59ac97d63d7a821c53eb688d25140fe7abea925 # Parent 22c7a2e2ff96b30fec3e998c7a4d8f22cb17faf9 set tazweb wmclass diff -r 22c7a2e2ff96 -r d59ac97d63d7 src/main.c --- a/src/main.c Sat Apr 19 21:43:25 2014 +0200 +++ b/src/main.c Sun Apr 20 08:16:14 2014 +0200 @@ -260,7 +260,7 @@ return TRUE; } -/* Add a bookmark to home.html */ +/* Add a bookmark */ void add_bookmark_cb(GtkWidget *widget, gpointer data) { const gchar* title; @@ -468,6 +468,7 @@ gtk_window_set_icon(GTK_WINDOW(window), create_pixbuf("/usr/share/pixmaps/tazweb.png")); gtk_widget_set_name(window, "TazWeb"); + gtk_window_set_wmclass(GTK_WINDOW(window), "tazweb", "TazWeb"); g_signal_connect(window, "destroy", G_CALLBACK(destroy_cb), NULL); /* Webview and widgets */