[Bugs] #3551 sugar-artwork UNSP: Hand cursor is wrong in GTK+3

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed May 2 03:48:31 EDT 2012


#3551: Hand cursor is wrong in GTK+3
------------------------------------------+---------------------------------
    Reporter:  manuq                      |          Owner:  manuq            
        Type:  defect                     |         Status:  assigned         
    Priority:  Unspecified by Maintainer  |      Milestone:  0.96             
   Component:  sugar-artwork              |        Version:  Git as of bugdate
    Severity:  Major                      |       Keywords:  12.1.0           
Distribution:  OLPC                       |   Status_field:  New              
------------------------------------------+---------------------------------
Changes (by erikos):

  * distribution:  Unspecified => OLPC
  * status_field:  Unconfirmed => New
  * severity:  Unspecified => Major
  * version:  Unspecified => Git as of bugdate
  * milestone:  Unspecified by Release Team => 0.96


Comment:

 We need to specify in the gtk3 theme that we want to use the Sugar cursor
 theme.

 {{{
 diff --git a/gtk3/theme/settings.ini.em b/gtk3/theme/settings.ini.em
 index bd2d7cd..2089ad4 100644
 --- a/gtk3/theme/settings.ini.em
 +++ b/gtk3/theme/settings.ini.em
 @@ -14,6 +14,7 @@ icon_large = icon_base * 5
  [Settings]
  gtk-auto-mnemonics = 1
  gtk-toolbar-style = GTK_TOOLBAR_ICONS
 +gtk-cursor-theme-name = sugar

  ${
  icon_small = icon_base * 3
 }}}

 We do specify that for the shell in
 http://git.sugarlabs.org/sugar/mainline/blobs/master/data/gtkrc.em But
 that does not work for our toolkit-gtk3 activities.

 Can be tested on the XO, where with this patch the cursor has the desired
 size or in jhbuild on a non-xo device where the hover cursor has the
 correct size and shape (is the host system one in before).

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3551#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list