diff options
Diffstat (limited to 'mate-panel/libpanel-util/panel-icon-chooser.c')
-rw-r--r-- | mate-panel/libpanel-util/panel-icon-chooser.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/mate-panel/libpanel-util/panel-icon-chooser.c b/mate-panel/libpanel-util/panel-icon-chooser.c index 5b5ca08a..4850d0ee 100644 --- a/mate-panel/libpanel-util/panel-icon-chooser.c +++ b/mate-panel/libpanel-util/panel-icon-chooser.c @@ -378,14 +378,15 @@ _panel_icon_chooser_clicked (GtkButton *button) else parent = NULL; - filechooser = gtk_file_chooser_dialog_new (_("Choose an icon"), - parent, - GTK_FILE_CHOOSER_ACTION_OPEN, - "gtk-cancel", - GTK_RESPONSE_CANCEL, - "gtk-open", - GTK_RESPONSE_ACCEPT, - NULL); + filechooser = panel_file_chooser_dialog_new (_("Choose an icon"), + parent, + GTK_FILE_CHOOSER_ACTION_OPEN, + "process-stop", + GTK_RESPONSE_CANCEL, + "document-open", + GTK_RESPONSE_ACCEPT, + NULL); + panel_gtk_file_chooser_add_image_preview (GTK_FILE_CHOOSER (filechooser)); path = g_build_filename (DATADIR, "icons", NULL); |