Skip to content
Permalink
Browse files

set icon names instead stock ids in some places

  • Loading branch information...
sc0w committed Apr 7, 2018
1 parent b70d394 commit 68ace006c2443c5f4f263bcdb949ad4685a42081
@@ -809,8 +809,8 @@ progress_widget_new (CajaProgressInfo *info)

hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 10);

imgcancel = gtk_image_new_from_icon_name ("gtk-cancel",
GTK_ICON_SIZE_BUTTON);
imgcancel = gtk_image_new_from_icon_name ("process-stop",
GTK_ICON_SIZE_BUTTON);

btcancel = gtk_button_new ();
gtk_container_add (GTK_CONTAINER (btcancel), imgcancel);
@@ -414,13 +414,13 @@ caja_location_entry_set_secondary_action (CajaLocationEntry *entry,
{
case CAJA_LOCATION_ENTRY_ACTION_CLEAR:
gtk_entry_set_icon_from_icon_name (GTK_ENTRY (entry),
GTK_ENTRY_ICON_SECONDARY,
"gtk-clear");
GTK_ENTRY_ICON_SECONDARY,
"edit-clear");
break;
case CAJA_LOCATION_ENTRY_ACTION_GOTO:
gtk_entry_set_icon_from_icon_name (GTK_ENTRY (entry),
GTK_ENTRY_ICON_SECONDARY,
"forward");
GTK_ENTRY_ICON_SECONDARY,
"forward");
break;
default:
g_assert_not_reached ();
@@ -958,7 +958,7 @@ static const GtkActionEntry spatial_entries[] =
"<control>b", N_("Display a window that allows editing the bookmarks in this menu"),
G_CALLBACK (action_edit_bookmarks_callback)
},
/* name, icon name, label */ { "Search", "gtk-find", N_("_Search for Files..."),
/* name, icon name, label */ { "Search", "edit-find", N_("_Search for Files..."),
"<control>F", N_("Locate documents and folders on this computer by name or content"),
G_CALLBACK (action_search_callback)
},
@@ -8822,7 +8822,7 @@ real_update_menus (FMDirectoryView *view)
GTK_IMAGE_MENU_ITEM (menuitem), app_icon != NULL);

if (app_icon == NULL) {
app_icon = g_themed_icon_new ("gtk-open");
app_icon = g_themed_icon_new ("document-open");
}

gtk_action_set_gicon (action, app_icon);

0 comments on commit 68ace00

Please sign in to comment.
You can’t perform that action at this time.