After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 17728 - Change default icon with the MIME types tool
Change default icon with the MIME types tool
Status: VERIFIED INCOMPLETE
Product: gnome-control-center
Classification: Core
Component: [obsolete] File types and programs
2.0.x
Other Linux
: Normal major
: GNOME2.0
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2000-07-17 17:01 UTC by glt
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Here's the patch. (2.01 KB, patch)
2002-05-09 13:40 UTC, Archit Baweja
none Details | Review

Description glt 2001-01-27 21:33:11 UTC
Package: control-center
Severity: normal
Version: 1.0.53 (French)

>Synopsis: Change default icon with the MIME types tool
>Class: sw-bug
Distribution: Linux Mandrake release 7.0 (Air)
System: Linux 2.2.14-1mdklinus i686 unknown
C library: glibc-2.1.2-9mdk
C compiler: 2.95.2
glib: 1.2.7
GTK+: 1.2.7
ORBit: ORBit 0.5.1
gnome-libs: gnome-libs 1.0.58
gnome-core: gnome-core 1.1.8.1


>Description:
The icon associated with a mime type returns to the original icon after
commiting the icon change (in the icon selection dialog box).


>How-To-Repeat:
I edit the sdw Mime type (for StarOffice) and browse to the staroffice
icon collection directory to chose the
"/usr/local/Office52/share/kde/icons/sdw.xpm" file and click OK.

The new icon appears in the main "mime type edit dialog box". I then
commit all the changes. When I come back to the same Mime types
preference in the control panel, the icon for the *.sdw files returns to
the original
"/usr/share/pixmaps/mc/c/gnome-application-x-generic-spreadsheet.png".

The same default icon appears of course with gmc.




------- Bug moved to this database by debbugs-export@bugzilla.gnome.org 2001-01-27 16:33 -------
This bug was previously known as bug 17728 at http://bugs.gnome.org/
http://bugs.gnome.org/show_bug.cgi?id=17728
Originally filed under the control-center product and general component.

Unknown version 1.0.x in product control-center. Setting version to the default, "unspecified".
The original reporter (glt@equod.com) of this bug does not have an account here.
Reassigning to the exporter, debbugs-export@bugzilla.gnome.org.
Reassigning to the default owner of the component, bugmeister@canvas.gnome.org.

Comment 1 Christian Marillat 2001-09-15 18:16:20 UTC
This bug is still in the latest version

Christian
Comment 2 Joakim Ziegler 2001-09-29 17:14:17 UTC
Reassigning to Richard.
Comment 3 Rachel Hestilow 2001-09-29 23:26:22 UTC
This appears to have been fixed in the latest version (1.5.8).
Comment 4 Christian Marillat 2002-01-28 21:24:39 UTC
This bug is still here in 1.5.11
Comment 5 Luis Villa 2002-01-30 21:12:36 UTC
If the bug is still there in 1.5.11, it should be marked 'new'. 
Comment 6 Luis Villa 2002-04-10 02:53:46 UTC
Updating all cc bugs that have the GNOME2 keyword set to the GNOME2.0 milestone,
to help jrb triage/prioritize cc bugs. Filter on 'luis doing GNOME2 work' to
ignore this spam.
Comment 7 Archit Baweja 2002-05-09 13:34:31 UTC
I changed the call to sync the mime registry in where it saves the
mime type info when Ok is clicked. It remebers the icon now. 2 things
though

1) I forgot if it worked before or not.
2) More importantly, next time when I run this capplet, the changed
mime type doesn't appear under its previous category (say before I was
changing of type .txt, which is under Documents). But under a blank
category, which I'm guessing is pertaining to the user's personal mime
database, but then why is the toplevel category blank. should be
something like "User's Mime Database" or something.
Comment 8 Archit Baweja 2002-05-09 13:40:36 UTC
Created attachment 8314 [details] [review]
Here's the patch.
Comment 9 Luis Villa 2002-05-17 00:49:33 UTC
Is this still relevant to anders-the-mime, guys?
Comment 10 Jody Goldberg 2002-05-17 02:52:45 UTC
Not really, but the patch going in the right direction.  There is no harm in
applying it.
Comment 11 Jody Goldberg 2002-05-17 03:06:10 UTC
I can not replicate the problem but it seems like a good idea, and the leak
patch is definitely useful.
Comment 12 Christian Marillat 2002-10-27 19:17:51 UTC
This bug still exist in 2.0.1.1. I reopen this bug.
Comment 13 Jody Goldberg 2002-10-27 19:30:02 UTC
I can not replicate the problem as described.
Can you give me the precise recipe that you are using ?