{"action":"created","issue":{"url":"https://api.github.com/repos/mate-desktop/mate-themes/issues/94","labels_url":"https://api.github.com/repos/mate-desktop/mate-themes/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/mate-desktop/mate-themes/issues/94/comments","events_url":"https://api.github.com/repos/mate-desktop/mate-themes/issues/94/events","html_url":"https://github.com/mate-desktop/mate-themes/issues/94","id":113228346,"number":94,"title":"Different spacing with GtkFileChooserDialog and GtkFileChooserWidget","user":{"login":"radioactiveman","id":1301412,"avatar_url":"https://avatars.githubusercontent.com/u/1301412?v=3","gravatar_id":"","url":"https://api.github.com/users/radioactiveman","html_url":"https://github.com/radioactiveman","followers_url":"https://api.github.com/users/radioactiveman/followers","following_url":"https://api.github.com/users/radioactiveman/following{/other_user}","gists_url":"https://api.github.com/users/radioactiveman/gists{/gist_id}","starred_url":"https://api.github.com/users/radioactiveman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radioactiveman/subscriptions","organizations_url":"https://api.github.com/users/radioactiveman/orgs","repos_url":"https://api.github.com/users/radioactiveman/repos","events_url":"https://api.github.com/users/radioactiveman/events{/privacy}","received_events_url":"https://api.github.com/users/radioactiveman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-25T14:23:57Z","updated_at":"2015-10-25T16:03:36Z","closed_at":null,"body":"The spacing between the folder icon and the description is different with GtkFileChooserDialog and GtkFileChooserWidget. With the latter one, there seems to be no spacing at all (screenshot).\r\n\r\n![screenshot](https://cloud.githubusercontent.com/assets/1301412/10716057/b49c8938-7b2b-11e5-9b0f-91a983661389.png)\r\n\r\nVersion information:\r\n* GTK+ 3.18.2\r\n* Mate-themes 1.10.5, using \"Menta\"\r\n (1.11.0 is not published yet by the way at http://pub.mate-desktop.org/releases/1.11/)\r\n\r\nI first thought this is a general GTK+ issue, but Adwaita uses the same spacing for both widgets.\r\nA simple test case is shown below.\r\n\r\n```\r\n#include <gtk/gtk.h>\r\n\r\n// Compile with: gcc $(pkg-config --cflags --libs gtk+-3.0) -o GtkFileChooser GtkFileChooser.c\r\n\r\nstatic void button1_cb (GtkWidget *widget, gpointer data)\r\n{\r\n    GtkWidget *dialog = gtk_file_chooser_dialog_new (\"Open File\", GTK_WINDOW (data),\r\n     GTK_FILE_CHOOSER_ACTION_OPEN, \"Cancel\", GTK_RESPONSE_CANCEL,\r\n     \"Open\", GTK_RESPONSE_ACCEPT, NULL);\r\n\r\n    gtk_dialog_run (GTK_DIALOG (dialog));\r\n    gtk_widget_destroy (dialog);\r\n}\r\n\r\nstatic void button2_cb (GtkWidget *widget, gpointer data)\r\n{\r\n    GtkWidget *window = gtk_window_new (GTK_WINDOW_TOPLEVEL);\r\n    GtkWidget *chooser = gtk_file_chooser_widget_new (GTK_FILE_CHOOSER_ACTION_OPEN);\r\n    gtk_container_add (GTK_CONTAINER (window), chooser);\r\n    gtk_widget_show_all (window);\r\n}\r\n\r\nint main (int argc, char *argv[])\r\n{\r\n    GtkWidget *window, *vbox, *button1, *button2;\r\n\r\n    gtk_init (&argc, &argv);\r\n\r\n    window = gtk_window_new (GTK_WINDOW_TOPLEVEL);\r\n    gtk_widget_set_size_request (window, 300, 200);\r\n\r\n    vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 5);\r\n    gtk_widget_set_halign (vbox, GTK_ALIGN_CENTER);\r\n    gtk_widget_set_valign (vbox, GTK_ALIGN_CENTER);\r\n\r\n    button1 = gtk_button_new_with_label (\"GtkFileChooserDialog\");\r\n    button2 = gtk_button_new_with_label (\"GtkFileChooserWidget\");\r\n\r\n    gtk_container_add (GTK_CONTAINER (vbox), button1);\r\n    gtk_container_add (GTK_CONTAINER (vbox), button2);\r\n    gtk_container_add (GTK_CONTAINER (window), vbox);\r\n\r\n    g_signal_connect (window, \"destroy\", G_CALLBACK (gtk_main_quit), NULL);\r\n    g_signal_connect (button1, \"clicked\", G_CALLBACK (button1_cb), window);\r\n    g_signal_connect (button2, \"clicked\", G_CALLBACK (button2_cb), NULL);\r\n\r\n    gtk_widget_show_all (window);\r\n\r\n    gtk_main ();\r\n\r\n    return 0;\r\n}\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/mate-desktop/mate-themes/issues/comments/150937580","html_url":"https://github.com/mate-desktop/mate-themes/issues/94#issuecomment-150937580","issue_url":"https://api.github.com/repos/mate-desktop/mate-themes/issues/94","id":150937580,"user":{"login":"raveit65","id":961604,"avatar_url":"https://avatars.githubusercontent.com/u/961604?v=3","gravatar_id":"","url":"https://api.github.com/users/raveit65","html_url":"https://github.com/raveit65","followers_url":"https://api.github.com/users/raveit65/followers","following_url":"https://api.github.com/users/raveit65/following{/other_user}","gists_url":"https://api.github.com/users/raveit65/gists{/gist_id}","starred_url":"https://api.github.com/users/raveit65/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raveit65/subscriptions","organizations_url":"https://api.github.com/users/raveit65/orgs","repos_url":"https://api.github.com/users/raveit65/repos","events_url":"https://api.github.com/users/raveit65/events{/privacy}","received_events_url":"https://api.github.com/users/raveit65/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T16:03:36Z","updated_at":"2015-10-25T16:03:36Z","body":"Btw. are you sure that mate-themes in arch use mate-themes-gtk3.18-1.10.5.tar.xz ?"}}