Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
xfce4-desktop
xfdesktop-eject.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfdesktop-eject.patch of Package xfce4-desktop
--- src/xfdesktop-volume-icon.c 2007-11-17 20:31:41.000000000 +0100 +++ src/xfdesktop-volume-icon.c 2007-12-12 01:07:27.421327344 +0100 @@ -562,19 +562,7 @@ icon); } - mi = gtk_image_menu_item_new_with_mnemonic(_("_Unmount Volume")); - gtk_widget_show(mi); - gtk_menu_shell_append(GTK_MENU_SHELL(menu), mi); - if(!thunar_vfs_volume_is_mounted(volume)) - gtk_widget_set_sensitive(mi, FALSE); - else { - g_signal_connect(G_OBJECT(mi), "activate", - G_CALLBACK(xfdesktop_volume_icon_menu_toggle_mount), - icon); - } - - if(thunar_vfs_volume_is_disc(volume) - && thunar_vfs_volume_is_ejectable(volume)) + if(thunar_vfs_volume_is_ejectable(volume)) { mi = gtk_image_menu_item_new_with_mnemonic(_("E_ject Volume")); gtk_widget_show(mi); @@ -582,6 +570,17 @@ g_signal_connect(G_OBJECT(mi), "activate", G_CALLBACK(xfdesktop_volume_icon_menu_eject), icon); + } else { + mi = gtk_image_menu_item_new_with_mnemonic(_("_Unmount Volume")); + gtk_widget_show(mi); + gtk_menu_shell_append(GTK_MENU_SHELL(menu), mi); + if(!thunar_vfs_volume_is_mounted(volume)) + gtk_widget_set_sensitive(mi, FALSE); + else { + g_signal_connect(G_OBJECT(mi), "activate", + G_CALLBACK(xfdesktop_volume_icon_menu_toggle_mount), + icon); + } } mi = gtk_separator_menu_item_new();
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor