Set "browser" role on browser windows

This commit is contained in:
Christian Dywan 2009-07-16 14:00:47 +02:00
parent f205a07182
commit 54fecef4b7

View file

@ -4574,6 +4574,7 @@ midori_browser_init (MidoriBrowser* browser)
G_CALLBACK (midori_browser_size_allocate_cb), NULL); G_CALLBACK (midori_browser_size_allocate_cb), NULL);
g_signal_connect (browser, "destroy", g_signal_connect (browser, "destroy",
G_CALLBACK (midori_browser_destroy_cb), NULL); G_CALLBACK (midori_browser_destroy_cb), NULL);
gtk_window_set_role (GTK_WINDOW (browser), "browser");
gtk_window_set_icon_name (GTK_WINDOW (browser), "web-browser"); gtk_window_set_icon_name (GTK_WINDOW (browser), "web-browser");
gtk_window_set_title (GTK_WINDOW (browser), g_get_application_name ()); gtk_window_set_title (GTK_WINDOW (browser), g_get_application_name ());
vbox = gtk_vbox_new (FALSE, 0); vbox = gtk_vbox_new (FALSE, 0);