summaryrefslogtreecommitdiff
path: root/drivemount/drive-button.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivemount/drive-button.c')
-rw-r--r--drivemount/drive-button.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/drivemount/drive-button.c b/drivemount/drive-button.c
index 07cafbe6..2ca86acf 100644
--- a/drivemount/drive-button.c
+++ b/drivemount/drive-button.c
@@ -969,13 +969,11 @@ drive_button_ensure_popup (DriveButton *self)
gtk_container_add (GTK_CONTAINER (self->popup_menu), item);
if (mounted) {
- if (!ejectable) {
- label = g_strdup_printf (_("Un_mount %s"), display_name);
- item = create_menu_item (self, NULL, label,
- G_CALLBACK (unmount_drive), TRUE);
- g_free (label);
- gtk_container_add (GTK_CONTAINER (self->popup_menu), item);
- }
+ label = g_strdup_printf (_("Un_mount %s"), display_name);
+ item = create_menu_item (self, NULL, label,
+ G_CALLBACK (unmount_drive), TRUE);
+ g_free (label);
+ gtk_container_add (GTK_CONTAINER (self->popup_menu), item);
} else {
label = g_strdup_printf (_("_Mount %s"), display_name);
item = create_menu_item (self, NULL, label,