Skip to content

Commit bb99c2b

Browse files
NikoKrauseclefebvre
authored andcommitted
Eject/unmount icon & new folder icon (#1811)
* Add symbolic icon for eject/unmount to the right-click action * Use folder-new icon in nemos toolbar The right-click action `Create New Folder` uses the `folder-new-symbolic` icon. There's also an option to show `Create New Folder` in nemos toolbar. It uses `folder-symbolic` icon. Change this to use the same icon as for the right-click action.
1 parent de713db commit bb99c2b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/nemo-view.c

+6-6
Original file line numberDiff line numberDiff line change
@@ -8323,11 +8323,11 @@ static const GtkActionEntry directory_view_entries[] = {
83238323
/* label, accelerator */ N_("_Mount"), NULL,
83248324
/* tooltip */ N_("Mount the selected volume"),
83258325
G_CALLBACK (action_mount_volume_callback) },
8326-
/* name, stock id */ { "Unmount Volume", NULL,
8326+
/* name, stock id */ { "Unmount Volume", "media-eject-symbolic",
83278327
/* label, accelerator */ N_("_Unmount"), NULL,
83288328
/* tooltip */ N_("Unmount the selected volume"),
83298329
G_CALLBACK (action_unmount_volume_callback) },
8330-
/* name, stock id */ { "Eject Volume", NULL,
8330+
/* name, stock id */ { "Eject Volume", "media-eject-symbolic",
83318331
/* label, accelerator */ N_("_Eject"), NULL,
83328332
/* tooltip */ N_("Eject the selected volume"),
83338333
G_CALLBACK (action_eject_volume_callback) },
@@ -8347,11 +8347,11 @@ static const GtkActionEntry directory_view_entries[] = {
83478347
/* label, accelerator */ N_("_Mount"), NULL,
83488348
/* tooltip */ N_("Mount the volume associated with the open folder"),
83498349
G_CALLBACK (action_self_mount_volume_callback) },
8350-
/* name, stock id */ { "Self Unmount Volume", NULL,
8350+
/* name, stock id */ { "Self Unmount Volume", "media-eject-symbolic",
83518351
/* label, accelerator */ N_("_Unmount"), NULL,
83528352
/* tooltip */ N_("Unmount the volume associated with the open folder"),
83538353
G_CALLBACK (action_self_unmount_volume_callback) },
8354-
/* name, stock id */ { "Self Eject Volume", NULL,
8354+
/* name, stock id */ { "Self Eject Volume", "media-eject-symbolic",
83558355
/* label, accelerator */ N_("_Eject"), NULL,
83568356
/* tooltip */ N_("Eject the volume associated with the open folder"),
83578357
G_CALLBACK (action_self_eject_volume_callback) },
@@ -8419,11 +8419,11 @@ static const GtkActionEntry directory_view_entries[] = {
84198419
/* label, accelerator */ N_("_Mount"), NULL,
84208420
/* tooltip */ N_("Mount the volume associated with this folder"),
84218421
G_CALLBACK (action_location_mount_volume_callback) },
8422-
/* name, stock id */ { "Location Unmount Volume", NULL,
8422+
/* name, stock id */ { "Location Unmount Volume", "media-eject-symbolic",
84238423
/* label, accelerator */ N_("_Unmount"), NULL,
84248424
/* tooltip */ N_("Unmount the volume associated with this folder"),
84258425
G_CALLBACK (action_location_unmount_volume_callback) },
8426-
/* name, stock id */ { "Location Eject Volume", NULL,
8426+
/* name, stock id */ { "Location Eject Volume", "media-eject-symbolic",
84278427
/* label, accelerator */ N_("_Eject"), NULL,
84288428
/* tooltip */ N_("Eject the volume associated with this folder"),
84298429
G_CALLBACK (action_location_eject_volume_callback) },

src/nemo-window-menus.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ nemo_window_create_toolbar_action_group (NemoWindow *window)
15031503
gtk_action_group_add_action (action_group, GTK_ACTION (action));
15041504
g_signal_connect (action, "activate",
15051505
G_CALLBACK (action_new_folder_callback), window);
1506-
gtk_action_set_icon_name (GTK_ACTION (action), "folder-symbolic");
1506+
gtk_action_set_icon_name (GTK_ACTION (action), "folder-new-symbolic");
15071507
g_object_unref (action);
15081508

15091509
action = GTK_ACTION (gtk_action_new (NEMO_ACTION_OPEN_IN_TERMINAL,

0 commit comments

Comments
 (0)