Re: [PATCH] Use "Close" instead of "Cancel" when mime types are mismatched
- From: Vincent Untz <vincent vuntz net>
- To: Alexander Larsson <alexl redhat com>
- Cc: nautilus-list gnome org
- Subject: Re: [PATCH] Use "Close" instead of "Cancel" when mime types are mismatched
- Date: Mon, 24 Jan 2005 11:19:38 +0100
Le lundi 24 janvier 2005 �0:27 +0100, Alexander Larsson a �it :
> On Sun, 2005-01-23 at 17:55 +0100, Vincent Untz wrote:
> > Hi,
> >
> > I have a .txt file (which is really a .txt file) recognized as a bitmap.
> > This is probably a bug in shared-mime-info...
> > When double-clicking on the file, nautilus is clever and finds that the
> > mime type found with the extension is not the same as the one find with
> > the mime magic. It then shows a warning dialog. This dialog has a
> > "Cancel" button but it really should be a "Close" one.
>
> Hmm? Why should it be close? You're cancelling the activation.
When this dialog is shown, the file is not opened, so you're not
canceling anything. We just have a dialog sitting here, waiting to be
closed by the user.
In this case, we have:
+ activate_check_mime_types() returns FALSE
+ activate_callback() just returns, without activating any action
The dialog explicitly tells the user to use the "Open" item in the
context menu to open the file.
Vincent
--
Les gens heureux ne sont pas press�
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]