This is caused by the MIME type definition for application/x-glade in
/usr/share/mime/packages/freedesktop.org.xml  (package shared-mime-
info):

 <magic priority="50">
      <match value="&lt;glade-interface" type="string" offset="0:256"/>
      <match value="gtk" type="string" offset="0:256"/>
 </magic>

This means that every file that has the string "gtk" in its first 256
bytes has the MIME type application/x-glade - which is a bit too
general.

** Package changed: nautilus (Ubuntu) => shared-mime-info (Ubuntu)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/995067

Title:
  Text files containing 'gtk' are seen as Glade project
  (application/x-glade) files

Status in “shared-mime-info” package in Ubuntu:
  Confirmed

Bug description:
  This has been going on for quite some time in 12.04

  Test Case:
  Create a new text file & use gtk in it, ex. - 
  With gtk this is now a glade file

  Save
  The file is now a glade project file instead of a text file

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: nautilus 1:3.4.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14
  Uname: Linux 3.2.0-23-generic-pae i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu6
  Architecture: i386
  Date: Sat May  5 08:54:08 2012
  GsettingsChanges:
   org.gnome.nautilus.window-state geometry '1094x623+58+148'
   org.gnome.nautilus.window-state start-with-status-bar true
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120407)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: nautilus
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/995067/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to