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 312776 - gnome-mouse-properties should install new themes
gnome-mouse-properties should install new themes
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Mouse
2.12.x
Other All
: High enhancement
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-08-06 19:19 UTC by Xavier Claessens
Modified: 2007-11-01 19:49 UTC
See Also:
GNOME target: 2.22.x
GNOME version: Unversioned Enhancement


Attachments
patch mostly from gcursor (6.81 KB, patch)
2005-08-06 19:23 UTC, Xavier Claessens
needs-work Details | Review
no more 2.4.0 check (6.58 KB, patch)
2005-08-16 17:58 UTC, Xavier Claessens
none Details | Review

Description Xavier Claessens 2005-08-06 19:19:51 UTC
We shoud add an "Install Theme" button to install a tarball in ~/.icons and the
refresh theme-list.
Comment 1 Xavier Claessens 2005-08-06 19:23:30 UTC
Created attachment 50326 [details] [review]
patch mostly from gcursor

Copy/Paste gcursor's function and add an "install Theme" button. I works not
with all tarballs but it's not the installer's fault but tarball's.
Comment 2 Christian Kirbach 2005-08-10 07:53:59 UTC
Confirming so developers can look at the patch.
Comment 3 Sebastien Bacher 2005-08-14 16:41:56 UTC
Thanks for your patch. Ccing Sven who works on this
Comment 4 Sven Herzberg 2005-08-15 23:09:59 UTC
reading your patch leaves two questions for me:

1. why did you touch populate_tree_model?
2. why are you checking for GTK+ 2.4 (don't we depend on 2.6 or bigger?)
Comment 5 Xavier Claessens 2005-08-16 07:02:16 UTC
1. because populate_tree_model() doesn't need to know the selection. he can
found it himself. And that's important because extract_theme() doesn't know the
selection (or can found but with duplicate code)

2. Strange... That's the original code in gcursor. I fixed this... maybe a
attached the wrong patch. I'll correct it asap.
Comment 6 Xavier Claessens 2005-08-16 17:58:13 UTC
Created attachment 50805 [details] [review]
no more 2.4.0 check
Comment 7 Sebastien Bacher 2005-10-21 21:33:14 UTC
Thanks for your work on this patch. I'm not convinced by the current version. It
should use the same dialog as the theme-manager capplet and not require
file-roller to install the files imho.
Comment 8 Sven Herzberg 2005-11-03 23:01:55 UTC
Two other things:

1. Native speakers:
"Select a xcursor theme" shouldn't this be "an xcursor theme" as its pronounced
"an ixcursor theme"? (like "an hour")

2. UI interactivity:
We should definitely extract the package synchronously (the "right" way is to to
it asynchronously and have watches - via gnomevfs - that look for changes in the
interesting directories)
Comment 9 Mantas Kriaučiūnas 2006-01-31 00:46:25 UTC
Will be "Install Theme" button to install a tarball in ~/.icons available in GNOME 2.14 ?
Comment 10 Sven Herzberg 2006-07-24 09:09:31 UTC
To fix this bug we'll need:

1. a common way to install themes/cursors for the theme and the mouse capplet

2. patches that make both the theme and the mouse capplet use this code
Comment 11 Étienne Bersac 2007-09-09 15:53:48 UTC
Does this still apply since gnome-mouse-property cursor theme is now merged in appearance-properties ?

Étienne.
Comment 12 Denis Washington 2007-10-25 16:49:19 UTC
As cursor themes are technically the same as icon themes and icon themes are easily installable in the appearance capplet, installing cursor themes shouldn't be a problem anymore. But I don't have a packaged icon theme to test (icon themes work fine). If somebody has a cursor theme pacakage, it would be cool if he/she could test it by dropping that package into the appearance capplet. If someone can confirm that it works, we can mark this bug as FIXED.
Comment 13 Jens Granseuer 2007-10-25 19:00:49 UTC
http://www.kde-look.org has scores of cursor themes.
Comment 14 Denis Washington 2007-10-26 10:29:46 UTC
(In reply to comment #13)
> http://www.kde-look.org has scores of cursor themes.
> 

Okay I tried it with a cursor theme from there. This works in principle; unfortunately, the cursor theme list doesn't seem to be upgraded after installing cursor themes, so they only appear in the list after the appearance capplet is restarted. This needs to be fixed.
Comment 15 Jens Granseuer 2007-11-01 19:49:33 UTC
Fixed in 2.21.1.