Ticket #1350: sugar-1350.patch

File sugar-1350.patch, 1.0 KB (added by alsroot, 15 years ago)
  • gtk/theme/gtkrc.em

    From 3c491e80f943c736430942e09ab57e3757d1a0ba Mon Sep 17 00:00:00 2001
    From: Aleksey Lim <alsroot@member.fsf.org>
    Date: Wed, 16 Sep 2009 12:54:16 +0000
    Subject: Press-unpress of right mouse button cuts text from gtk entry widgets #1350
    
    ---
     gtk/theme/gtkrc.em |    4 ++--
     1 files changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/gtk/theme/gtkrc.em b/gtk/theme/gtkrc.em
    index 560a8c6..0727160 100644
    a b style "menu" 
    271271
    272272    ${# This is just the exact reverse of what is going on inside GTK+ ...}
    273273    GtkMenu::scroll-arrow-vlength = $(my_floor(subcell_size/0.7 + 2*thickness))
    274     GtkMenu::horizontal-padding = 0
    275     GtkMenu::vertical-padding   = 0
     274    GtkMenu::horizontal-padding = 2
     275    GtkMenu::vertical-padding   = 2
    276276    # This means the outline of the submenu overlaps with a palette.
    277277    # However in the case of two normal menus, they are next to each other.
    278278    # It is not possible to be smarter about this, because the style comes from