diff options
author | monsta <[email protected]> | 2016-01-21 17:12:13 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-21 17:31:06 +0300 |
commit | 415ab693bfe52f117e88d0f4629967946e435bd7 (patch) | |
tree | be368a6e9a12f57e11093e6915a3c6f7255a711c /gsearchtool | |
parent | 4743050b2e8cf99855ba5f88a4809376bb847be5 (diff) | |
download | mate-utils-415ab693bfe52f117e88d0f4629967946e435bd7.tar.bz2 mate-utils-415ab693bfe52f117e88d0f4629967946e435bd7.tar.xz |
gsearchtool: use gtk_image_new_from_icon_name in both GTK+ builds
Diffstat (limited to 'gsearchtool')
-rw-r--r-- | gsearchtool/src/gsearchtool-callbacks.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gsearchtool/src/gsearchtool-callbacks.c b/gsearchtool/src/gsearchtool-callbacks.c index 0c040867..9b13e471 100644 --- a/gsearchtool/src/gsearchtool-callbacks.c +++ b/gsearchtool/src/gsearchtool-callbacks.c @@ -1025,7 +1025,7 @@ build_popup_menu_for_file (GSearchWindow * gsearch, gtk_container_add (GTK_CONTAINER (gsearch->search_results_popup_menu), new1); gtk_widget_show (new1); - image1 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_MENU); + image1 = gtk_image_new_from_icon_name ("document-open", GTK_ICON_SIZE_MENU); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (new1), image1); gtk_widget_show (image1); @@ -1055,7 +1055,7 @@ build_popup_menu_for_file (GSearchWindow * gsearch, gtk_container_add (GTK_CONTAINER (gsearch->search_results_popup_menu), new1); gtk_widget_show (new1); - image1 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_MENU); + image1 = gtk_image_new_from_icon_name ("document-open", GTK_ICON_SIZE_MENU); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (new1), image1); gtk_widget_show (image1); @@ -1193,7 +1193,7 @@ build_popup_menu_for_file (GSearchWindow * gsearch, gtk_container_add (GTK_CONTAINER (gsearch->search_results_popup_menu), new1); gtk_widget_show (new1); - image1 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_MENU); + image1 = gtk_image_new_from_icon_name ("document-open", GTK_ICON_SIZE_MENU); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (new1), image1); gtk_widget_show (image1); @@ -1237,7 +1237,7 @@ build_popup_menu_for_file (GSearchWindow * gsearch, gtk_widget_set_sensitive (gsearch->search_results_save_results_as_item, FALSE); } - image1 = gtk_image_new_from_stock ("gtk-save", GTK_ICON_SIZE_MENU); + image1 = gtk_image_new_from_icon_name ("document-save", GTK_ICON_SIZE_MENU); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (gsearch->search_results_save_results_as_item), image1); gtk_widget_show (image1); |