{"push_id":701920397,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"dc8f299f8405c95e95912dad5c79a399967802f6","before":"f9fbfb9daabfabb7f5c9f8e4dc5d9eb79c689224","commits":[{"sha":"dc8f299f8405c95e95912dad5c79a399967802f6","author":{"email":"5cc128befacf1667a52368b30e3955a1a903725e@gmail.com","name":"smls"},"message":"Set the main window title properly, instead of abusing argv[0]\n\ngtk_init()'s argv parameter is meant to be hooked up to the program's\ncommand-line argument list, with the first arg being the program name\nitself. GTK uses this first arg as the default title for the main window,\nbut strips all but the last path component so that running a GTK app as\n\"/usr/bin/myapp --foo\" uses \"myapp\" as the default title. This mechanism\nis thus unsuitable for implementing the :title adverb which is supposed to\nbe able to set arbitrary titles:\n    GTK::Simple::App(title => \"Enable / Disable\")\n\nThis patch passes the program name as argv[0] like GTK expects, and then\nexplicitly sets the main window title using gtk_window_set_title() if the\n:title adverb is specified.\n\nThis fixes #2","distinct":true,"url":"https://api.github.com/repos/smls/gtk-simple/commits/dc8f299f8405c95e95912dad5c79a399967802f6"}]}