Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 125468 Details for
Bug 183191
No media crashes
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
a patch
gnome-mount-0.4-no-media.patch (text/plain), 1.24 KB, created by
Matthias Clasen
on 2006-03-01 15:36:16 UTC
(
hide
)
Description:
a patch
Filename:
MIME Type:
Creator:
Matthias Clasen
Created:
2006-03-01 15:36:16 UTC
Size:
1.24 KB
patch
obsolete
>--- gnome-mount-0.4/src/gnome-mount.c.no-media 2006-03-01 00:45:06.000000000 -0500 >+++ gnome-mount-0.4/src/gnome-mount.c 2006-03-01 00:55:48.000000000 -0500 >@@ -266,7 +266,10 @@ > 0, > _("Cannot mount volume")); > >- volume_name = libhal_volume_get_label (volume); >+ if (volume) >+ volume_name = libhal_volume_get_label (volume); >+ else >+ volume_name = NULL; > > if (strcmp (error_name, "org.freedesktop.Hal.Device.Volume.PermissionDenied") == 0) { > gtk_message_dialog_format_secondary_text ( >@@ -463,9 +466,14 @@ > > notify_parent (FALSE); > >- show_error_dialog_mount (volume, error.name, error.message, >- (fstype != NULL && strlen (fstype) > 0) ? >- fstype : libhal_volume_get_fstype (volume)); >+ if (fstype == NULL || fstype[0] == 0) { >+ if (volume) >+ fstype = libhal_volume_get_fstype (volume); >+ else >+ fstype = ""; >+ } >+ >+ show_error_dialog_mount (volume, error.name, error.message, fstype); > > dbus_error_free (&error); > goto out; >@@ -1701,7 +1709,7 @@ > > out: > if (drive != NULL) >- libhal_volume_free (volume); >+ libhal_drive_free (drive); > > if (volume != NULL) > libhal_volume_free (volume);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 183191
:
125308
|
125468
|
125476