clicking on Revert silently removes the user's .gtkrc-2.0 file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTK Theme Config |
Fix Released
|
Critical
|
Unassigned | ||
gtk-theme-config (Debian) |
Fix Released
|
Unknown
|
|||
gtk-theme-config (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Report from Vincent Lefevre in Debian:
I was wondering why Iceweasel was no longer working as expected...
I finally found the cause: my ~/.gtkrc-2.0 file had been removed.
Then I remembered that I used gtk-theme-config recently. After
some tests, clicking on the "Revert" button has this effect of
removing the ~/.gtkrc-2.0 file, without even leaving a backup!
When changing some settings, gtk-theme-config modifies this file.
But when the user clicks on "Revert", gtk-theme-config should just
remove the settings it added, e.g. by using begin/end markers, not
the whole file! Or if is this too difficult, it should warn the
user before doing a destructive operation.
Note also that it isn't documented at all that gtk-theme-config
uses the ~/.gtkrc-2.0 file. This is even more surprising as
gtk-theme-config depends on libgtk-3-0 (thus GTK+ 3, not GTK+ 2).
Related branches
Changed in gtk-theme-config (Debian): | |
status: | Unknown → Confirmed |
Changed in gtk-theme-config: | |
milestone: | none → 1.2.1 |
Changed in gtk-theme-config (Debian): | |
status: | Confirmed → Fix Released |
The fix for this is now committed and will be in the next release.
https:/ /bazaar. launchpad. net/~gtk- theme-config- maintainers/ gtk-theme- config/ trunk/revision/ 132