[gnome-applets] drive mount: allow unmount without eject, see bug 604848 (Massimo Dal Zotto)
- From: Enrico Minack <eminack src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets] drive mount: allow unmount without eject, see bug 604848 (Massimo Dal Zotto)
- Date: Mon, 13 Jun 2011 10:34:49 +0000 (UTC)
commit be2f99f0e4dfee124e380cd6d303bae3372c088b
Author: Enrico Minack <enrico-minack gmx de>
Date: Mon Jun 13 12:31:49 2011 +0200
drive mount: allow unmount without eject, see bug 604848 (Massimo Dal Zotto)
drivemount/drive-button.c | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/drivemount/drive-button.c b/drivemount/drive-button.c
index e62651a..465f3db 100644
--- a/drivemount/drive-button.c
+++ b/drivemount/drive-button.c
@@ -905,13 +905,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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]