diff options
author | Benjamin Berg <benjamin@sipsolutions.net> | 2007-09-13 16:04:55 (GMT) |
---|---|---|
committer | Benjamin Berg <benjamin@sipsolutions.net> | 2007-09-13 16:04:55 (GMT) |
commit | e5ef080b68a437e650eee7f5d4c0505e525f90ff (patch) | |
tree | c3ecc9d599c3c8a51670864e147cbf53d66c9472 /gtk | |
parent | 58d9e2a0a2f32bdce0e82af0f86f4691e74edc28 (diff) |
Removed a wrong comment and fixed GtkEntry padding (it was rounded wrong).
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/theme/gtkrc.em | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/theme/gtkrc.em b/gtk/theme/gtkrc.em index 7a0e20e..6cfdc94 100644 --- a/gtk/theme/gtkrc.em +++ b/gtk/theme/gtkrc.em @@ -458,7 +458,7 @@ style "entry" # This tries to get a height of exactly 45 pixel for the entry. GtkEntry::inner-border = { $(max(subcell_size - entry_thickness, 0)), $(max(subcell_size - entry_thickness, 0)), - $(max(my_floor((3*subcell_size - font_height - entry_thickness*2)/2),0)), $(max(my_ceil((3*subcell_size - font_height - entry_thickness*2)/2), 0)) } + $(max(my_floor((3*subcell_size - font_height - entry_thickness*2)/2.0),0)), $(max(my_ceil((3*subcell_size - font_height - entry_thickness*2)/2.0), 0)) } GtkWidget::focus-line-width = 0 } @@ -520,8 +520,6 @@ style "menuitem" text[NORMAL] = $white text[ACTIVE] = $white - # The menu already has a padding of $thickness - # So use $subcell_size - $thickness here xthickness = $subcell_size ythickness = $((subcell_size * 3 - font_height) / 2) } |