@@ -221,11 +221,8 @@ create_meta_theme_pixbuf (ThemeThumbnailData *theme_thumbnail_data)
221221 gtk_container_set_border_width (GTK_CONTAINER (vbox ), 6 );
222222 gtk_container_add (GTK_CONTAINER (preview ), vbox );
223223
224- image_button = GTK_WIDGET (g_object_new (GTK_TYPE_BUTTON ,
225- "label" , "gtk-open" ,
226- "use-stock" , TRUE,
227- "use-underline" , TRUE,
228- NULL ));
224+ image_button = gtk_button_new_with_mnemonic (_ ("_Open" ));
225+ gtk_button_set_image (GTK_BUTTON (image_button ), gtk_image_new_from_icon_name ("document-open" , GTK_ICON_SIZE_BUTTON ));
229226
230227 gtk_widget_set_halign (image_button , GTK_ALIGN_START );
231228 gtk_widget_set_valign (image_button , GTK_ALIGN_START );
@@ -306,11 +303,8 @@ create_gtk_theme_pixbuf (ThemeThumbnailData *theme_thumbnail_data)
306303 gtk_container_set_border_width (GTK_CONTAINER (box ), 6 );
307304 gtk_box_pack_start (GTK_BOX (vbox ), box , FALSE, FALSE, 0 );
308305
309- image_button = GTK_WIDGET (g_object_new (GTK_TYPE_BUTTON ,
310- "label" , "gtk-open" ,
311- "use-stock" , TRUE,
312- "use-underline" , TRUE,
313- NULL ));
306+ image_button = gtk_button_new_with_mnemonic (_ ("_Open" ));
307+ gtk_button_set_image (GTK_BUTTON (image_button ), gtk_image_new_from_icon_name ("document-open" , GTK_ICON_SIZE_BUTTON ));
314308
315309 gtk_box_pack_start (GTK_BOX (box ), image_button , FALSE, FALSE, 0 );
316310 checkbox = gtk_check_button_new ();
0 commit comments