Title on gnome-shell



How can I set the title name of GtkWindow on gnome-shell?
It seems Alt-Tab window and application list on gnome-shell shows the prgname but not application name.

int
main (int argc, char* argv[])
{
  GtkWidget *window;

  g_set_application_name ("Title");
  gtk_init (&argc, &argv);
  window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_window_set_title (GTK_WINDOW (window), "Title");
  gtk_widget_show_all (window);

  gtk_main ();
  return 0;
}




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]