{"push_id":605449628,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"be49b368f172ec25e03e68e8919f1e5dbeacdd5e","before":"89e70aae2f9aaf1655a9071d49fa6d00263215a6","commits":[{"sha":"be49b368f172ec25e03e68e8919f1e5dbeacdd5e","author":{"email":"9d2d0aafef7a437fbffd8504cae55fe5035b95b4@redhat.com","name":"Leo Ufimtsev"},"message":"Bug 461073 - [GTK3] Replace gtk_misc_set_alignment with gtk_widget_set_*align for GTK3 code. \n\nA single line label doesn't get aligned properly because\nwiget_set_halign aligns the widget and not the text.\n\nThis is because there was some confusion in Gtk about alignment of\nsingle-line GtkLabels, see for details:\nhttp://www.murrayc.com/permalink/2015/03/02/gtk-aligning-justification-in-text-widgets/\n\nIt was fixed in Gtk 3.16, see:\nhttps://bugzilla.gnome.org/show_bug.cgi?id=735841#c3\n\nThis SWT patch takes the gtk issue in account. That is:\nFor:\n <  Gtk 3.16, it uses deprecated misc_set\n => Gtk 3.16, it uses new gtk_label_xalign() \n \nSee *unstable* docu:\nhttps://developer.gnome.org/gtk3/unstable/GtkLabel.html#gtk-label-set-xalign\n\nTESTING:\n - Tested on Fedora 22 w/gtk 3.15.11.\n   For testing, I lowered version to 3.15,11 like so:\n   if (OS.GTK_VERSION >= OS.VERSION(3,15,11))\n   And it worked as gtk_label_xalign() is available in that version.\n   I.e, now jFace Dialogs show single-line labels aligned correctly.\n   For production, it is bumpted up to 3.16 as per gtk documentation.\n\nChange-Id: I6fd19294b0ae7a3b4b3fac94107d5937e7ad46ec\nSigned-off-by: Leo Ufimtsev <lufimtse@redhat.com>","distinct":true,"url":"https://api.github.com/repos/eclipse/eclipse.platform.swt/commits/be49b368f172ec25e03e68e8919f1e5dbeacdd5e"}]}