Remove horizontal and vertical line from menu theme



Hello,
i would to remove the horizontal and vertical line from menu as in this
screenshoot: http://img123.imageshack.us/my.php?image=imagezp0.png 
what i have to edit in gtkrc?

This is the gtkrc file:

gtk_color_scheme =
"fg_color:#101010\nbg_color:#F7F4ED\nbase_color:#fff\ntext_color:#1A1A1A\nselected_bg_color:#7697BF\nselected_fg_color:#fff\ntooltip_bg_color:#EAE3D1\ntooltip_fg_color:#000"
gtk-icon-sizes = "panel-menu=24,24"

style "theme-default"
{
    GtkButton      ::child-displacement-x = 0
    GtkButton      ::child-displacement-y = 1
    GtkButton      ::default-border       = { 0, 0, 0, 0 }
    GtkCheckButton ::indicator-size       = 14

    GtkPaned       ::handle-size          = 6

    GtkRange       ::trough-border        = 0
    GtkRange       ::slider-width         = 15
    GtkRange       ::stepper-size         = 15

    GtkScale       ::slider-length        = 30
    GtkScale       ::trough-side-details  = 0
    GtkScrollbar   ::min-slider-length    = 30

    GtkMenuBar     ::internal-padding     = 0
    GtkExpander    ::expander-size        = 16
    GtkToolbar     ::internal-padding     = 1
    GtkTreeView    ::expander-size        = 14
    GtkTreeView    ::vertical-separator   = 0

    GtkMenu        ::horizontal-padding   = 0
    GtkMenu        ::vertical-padding     = 0

      GtkScrolledWindow ::scrollbar-spacing  = 2
     GtkToolbar     ::shadow-type       = GTK_SHADOW_NONE

      xthickness = 1
      ythickness = 1

    fg[NORMAL]        = @fg_color
    fg[PRELIGHT]      = @fg_color
    fg[SELECTED]      = @selected_fg_color
    fg[ACTIVE]        = @fg_color
    fg[INSENSITIVE]   = darker (@bg_color)

    bg[NORMAL]        = @bg_color
    bg[PRELIGHT]      = shade (1.02, @bg_color)
    bg[SELECTED]      = @selected_bg_color
    bg[INSENSITIVE]   = @bg_color
    bg[ACTIVE]        = shade (0.9, @bg_color)

    base[NORMAL]      = @base_color
    base[PRELIGHT]    = shade (0.95, @bg_color)
    base[ACTIVE]      = shade (0.9, @bg_color)
    base[SELECTED]    = @tooltip_bg_color
    base[INSENSITIVE] = @bg_color

    text[NORMAL]      = @text_color
    text[PRELIGHT]    = @text_color
    text[ACTIVE]      = @text_color
    text[SELECTED]    = @text_color
    text[INSENSITIVE] = darker (@bg_color)

  engine "murrine"
  {
        contrast = 1.0
        glazestyle = 1 # 0 = flat hilight, 1 = curved hilight, 2 =
concave style, 3 = top curved hilight, 4 = beryl hilight
        menubarstyle = 2 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
        menubaritemstyle = 1 # 0 = menuitem look, 1 = button look
        menuitemstyle = 1 # 0 = flat, 1 = glassy, 2 = striped
        listviewheaderstyle = 1 # 0 = flat, 1 = glassy, 2 = raised
        listviewstyle = 0 # 0 = nothing, 1 = dotted
        scrollbarstyle = 0 # 0 = nothing, 1 = circles, 2 = handles, 3 =
diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal
stripes, 6 = horizontal stripes and handles
        roundness = 3 # 0 = squared, 1 = old default, more will increase
roundness
        animation = TRUE # FALSE = disabled, TRUE = enabled
                gradients = TRUE
        menustyle = 0
   }
}


style "theme-wide"
{
    xthickness = 2
    ythickness = 2
}

style "theme-wider"
{
    xthickness = 3
    ythickness = 3
}

style "theme-button"
{
    xthickness   = 3
    ythickness   = 3

    bg[NORMAL]   = shade (1.04, @bg_color)
    bg[PRELIGHT] = shade (1.08, @bg_color)
    bg[ACTIVE]   = shade (0.85, @bg_color)
}

style "theme-notebook"
{
    xthickness = 2
    ythickness = 2
    bg[NORMAL] = shade (1.04, @bg_color)
    bg[ACTIVE] = shade (0.94, @bg_color)
}

style "theme-tasklist"
{
    xthickness = 5
    ythickness = 3
}

style "theme-menu"
{
    xthickness = 3
    ythickness = 3
    bg[NORMAL] = shade (1.02, @bg_color)
}

style "theme-menu-item"
{
    xthickness = 2
    ythickness = 3
    fg[PRELIGHT] = @selected_fg_color
}

style "theme-separator-menu-item"
{
    xthickness = 1
    ythickness = 2

  engine "pixmap"
  {
    image
    {
      function      = HLINE
      recolorable         = TRUE
      file      = "Menu-Menubar/menu-line.png"
      border      = { 1, 1, 1, 1 }
      stretch      = TRUE
    }
}
}

style "theme-treeview"
{
}

style "theme-treeview-header" = "theme-default"
{
    xthickness = 2
    ythickness = 1
    bg[NORMAL]   = shade (1.04, @bg_color)
    bg[PRELIGHT]   = shade (1.08, @bg_color)
  engine "murrine"
  {
    roundness = 0
}
}

style "theme-frame-title" = "theme-default"
{
    fg[NORMAL] = lighter (@fg_color)
}

style "theme-tooltips" = "theme-default"
{
  xthickness = 4
  ythickness = 4
    bg[NORMAL] = @tooltip_bg_color
    fg[NORMAL] = @tooltip_fg_color
}

style "theme-progressbar"
{
  xthickness = 2
  ythickness = 2
    fg[PRELIGHT] = @selected_fg_color
    bg[NORMAL]   = shade (1.04, @bg_color)
}

style "theme-statusbar"
{
}

style "theme-comboboxentry"
{
}

style "theme-spinbutton"
{
    bg[NORMAL]   = shade (1.04, @bg_color)
    bg[PRELIGHT]   = shade (1.08, @bg_color)
}

style "theme-scale"
{
    GtkRange       ::slider-width         = 13
    bg[NORMAL]   = shade (1.04, @bg_color)
    bg[PRELIGHT]   = shade (1.08, @bg_color)
}

style "theme-hscale"
{
}

style "theme-vscale"
{
}

style "theme-scrollbar"
{
    bg[NORMAL]   = shade (1.04, @bg_color)
    bg[PRELIGHT]   = shade (1.08, @bg_color)
}

style "theme-hscrollbar"
{
}

style "theme-vscrollbar"
{
}

style "theme-menubar"
{
  bg[PRELIGHT] = @selected_bg_color
}

style "metacity-frame"
{
  bg[SELECTED]  = mix(0.19, shade (0.8,@bg_color), shade
(0.74,@selected_bg_color))
}

style "theme-nautilus-location"
{
    bg[NORMAL] = mix(0.60, shade (1.05,@bg_color), @selected_bg_color)
}

style "theme-radiocheck" = "theme-default"
{
    text[PRELIGHT]    = @base_color
}
class "GtkRadio*"    style "theme-radiocheck"
class "GtkCheck*"    style "theme-radiocheck"

#########################################
# Matches
#########################################

# theme default style is applied to every widget
class "GtkWidget"    style "theme-default"

# Increase the x/ythickness in some widgets
class "GtkToolbar"   style "theme-default"
class "GtkRange"     style "theme-wide"
class "GtkFrame"     style "theme-wide"
class "GtkEntry"     style "theme-wider"
class "MetaFrames"   style "metacity-frame"
class "GtkSeparator" style "theme-wide"
class "GtkWindow"      style "metacity-frame"

class "GtkSpinButton"  style "theme-spinbutton"
class "GtkScale"       style "theme-scale"
class "GtkVScale"      style "theme-vscale"
class "GtkHScale"      style "theme-hscale"
class "GtkScrollbar"   style "theme-scrollbar"
class "GtkVScrollbar"  style "theme-vscrollbar"
class "GtkHScrollbar"  style "theme-hscrollbar"

widget_class "*<GtkNotebook>*<GtkEventBox>"     style "theme-notebook"
widget_class "*<GtkNotebook>*<GtkDrawingArea>"  style "theme-notebook"
widget_class "*<GtkNotebook>*<GtkLayout>"       style "theme-notebook"

widget_class "*<GtkButton>"      style "theme-button"
widget_class "*<GtkNotebook>"    style "theme-notebook"
widget_class "*<GtkStatusbar>*"  style "theme-statusbar"

widget_class "*<GtkComboBoxEntry>*" style "theme-comboboxentry"
widget_class "*<GtkCombo>*"         style "theme-comboboxentry"

widget_class "*<GtkMenuBar>*"           style "theme-menubar"
widget_class "*<GtkMenu>*"              style "theme-menu"
widget_class "*<GtkMenuItem>*"          style "theme-menu-item"
widget_class "*<GtkSeparatorMenuItem>*" style "theme-separator-menu-item"

widget_class "*.<GtkFrame>.<GtkLabel>" style "theme-frame-title"
widget_class "*.<GtkTreeView>*"        style "theme-treeview"

widget_class "*<GtkProgressBar>"       style "theme-progressbar"

# Treeview header
widget_class "*.<GtkTreeView>.<GtkButton>" style "theme-treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>"    style "theme-treeview-header"
widget_class "*.<GtkList>.<GtkButton>"     style "theme-treeview-header"
widget_class "*.<GtkCList>.<GtkButton>"    style "theme-treeview-header"

# Workarounds for Evolution
widget_class "*.ETable.ECanvas"    style "theme-treeview-header"
widget_class "*.ETree.ECanvas"    style "theme-treeview-header"

# The window of the tooltip is called "gtk-tooltip"
widget "gtk-tooltip*" style "theme-tooltips"

###################################################
# Special cases and work arounds
###################################################

# Special case the nautilus-extra-view-widget
# ToDo: A more generic approach for all applications that have a widget
like this.
widget "*.nautilus-extra-view-widget" style : highest
"theme-nautilus-location"

# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
# Note that the work around assumes that the combobox is _not_ in
# appears-as-list mode.
# Similar hack also in the menuitem style.
# This style does not affect GtkComboBoxEntry, it does have an effect
# on comboboxes in appears-as-list mode though.
style "theme-text-is-fg-color-workaround"
{
    text[NORMAL]      = @fg_color
    text[PRELIGHT]    = @fg_color
    text[SELECTED]    = @selected_fg_color
    text[ACTIVE]      = @fg_color
    text[INSENSITIVE] = darker (@bg_color)
}
widget_class "*.<GtkComboBox>.<GtkCellView>"   style
"theme-text-is-fg-color-workaround"

style "theme-menuitem-text-is-fg-color-workaround"
{
    text[NORMAL]        = @fg_color
    text[PRELIGHT]      = @selected_fg_color
    text[SELECTED]      = @selected_fg_color
    text[ACTIVE]        = @fg_color
    text[INSENSITIVE]   = darker (@bg_color)
}
widget "*.gtk-combobox-popup-menu.*"   style
"theme-menuitem-text-is-fg-color-workaround"

# Work around the usage of GtkLabel inside GtkListItems to display text.
# This breaks because the label is shown on a background that is based
on the
# base color set.
style "theme-fg-is-text-color-workaround"
{
    fg[NORMAL]      = @text_color
    fg[PRELIGHT]    = @text_color
    fg[ACTIVE]      = @selected_fg_color
    fg[SELECTED]    = @selected_fg_color
    fg[INSENSITIVE] = darker (@bg_color)
}
widget_class "*<GtkListItem>*" style "theme-fg-is-text-color-workaround"
widget_class "*<GtkCList>" style "theme-fg-is-text-color-workaround"
widget_class "*.GtkNotebook.*.GtkViewport" style "theme-notebook"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]