diff --git a/win32/DelugeStart Theme/etc/gtk-2.0/gtkrc b/win32/DelugeStart Theme/etc/gtk-2.0/gtkrc new file mode 100644 index 000000000..7e414b469 --- /dev/null +++ b/win32/DelugeStart Theme/etc/gtk-2.0/gtkrc @@ -0,0 +1,25 @@ +gtk-theme-name = "DelugeStart" +gtk-icon-theme-name = "Tango" +gtk-fallback-icon-theme = "hicolor" +gtk-alternative-button-order = 1 +gtk-alternative-sort-arrows = 1 +gtk-auto-mnemonics = 1 +gtk-show-input-method-menu = 0 +gtk-show-unicode-menu = 0 + +#gtk-toolbar-icon-size = small-toolbar +gtk-button-images = 0 +gtk-menu-images = 1 + +style "notebook" +{ + xthickness = 1 + ythickness = 1 +} +widget_class "*" style "notebook" + +style "user-font" +{ + font_name="9" +} +widget_class "*" style "user-font" \ No newline at end of file diff --git a/win32/DelugeStart Theme/lib/gtk-2.0/2.10.0/engines/libmurrine.dll b/win32/DelugeStart Theme/lib/gtk-2.0/2.10.0/engines/libmurrine.dll new file mode 100644 index 000000000..12134fc0a Binary files /dev/null and b/win32/DelugeStart Theme/lib/gtk-2.0/2.10.0/engines/libmurrine.dll differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/check1.png b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/check1.png new file mode 100644 index 000000000..c7181d2e0 Binary files /dev/null and b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/check1.png differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/check2.png b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/check2.png new file mode 100644 index 000000000..f89cba9b6 Binary files /dev/null and b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/check2.png differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/check3.png b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/check3.png new file mode 100644 index 000000000..042e8bdf1 Binary files /dev/null and b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/check3.png differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/check4.png b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/check4.png new file mode 100644 index 000000000..3f30f845b Binary files /dev/null and b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/check4.png differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/checklight.png b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/checklight.png new file mode 100644 index 000000000..ec24e4f5a Binary files /dev/null and b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/checklight.png differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/option1.png b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/option1.png new file mode 100644 index 000000000..50fba9aec Binary files /dev/null and b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/option1.png differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/option2.png b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/option2.png new file mode 100644 index 000000000..cf3d0883c Binary files /dev/null and b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/option2.png differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/option3.png b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/option3.png new file mode 100644 index 000000000..36db74cde Binary files /dev/null and b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/option3.png differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/option4.png b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/option4.png new file mode 100644 index 000000000..3ca63fb74 Binary files /dev/null and b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Check-Radio/option4.png differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Icons/close.png b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Icons/close.png new file mode 100644 index 000000000..5782752cf Binary files /dev/null and b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Icons/close.png differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/scroll-thumb-horiz.png b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/scroll-thumb-horiz.png new file mode 100644 index 000000000..7e84fdb08 Binary files /dev/null and b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/scroll-thumb-horiz.png differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/scroll-thumb-vert.png b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/scroll-thumb-vert.png new file mode 100644 index 000000000..60c47fbb0 Binary files /dev/null and b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/scroll-thumb-vert.png differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/slider-horiz-insens.png b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/slider-horiz-insens.png new file mode 100644 index 000000000..57aaf6e66 Binary files /dev/null and b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/slider-horiz-insens.png differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/slider-horiz-prelight.png b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/slider-horiz-prelight.png new file mode 100644 index 000000000..4380dbffc Binary files /dev/null and b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/slider-horiz-prelight.png differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/slider-horiz.png b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/slider-horiz.png new file mode 100644 index 000000000..c500b8346 Binary files /dev/null and b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/slider-horiz.png differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/slider-vert-insens.png b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/slider-vert-insens.png new file mode 100644 index 000000000..3f50df1d8 Binary files /dev/null and b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/slider-vert-insens.png differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/slider-vert-prelight.png b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/slider-vert-prelight.png new file mode 100644 index 000000000..1a050dfd2 Binary files /dev/null and b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/slider-vert-prelight.png differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/slider-vert.png b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/slider-vert.png new file mode 100644 index 000000000..51f2606b9 Binary files /dev/null and b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/slider-vert.png differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/trough-scrollbar-horiz.png b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/trough-scrollbar-horiz.png new file mode 100644 index 000000000..adbd56eba Binary files /dev/null and b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/trough-scrollbar-horiz.png differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/trough-scrollbar-vert.png b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/trough-scrollbar-vert.png new file mode 100644 index 000000000..ef3a2b447 Binary files /dev/null and b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/Scrollbars/trough-scrollbar-vert.png differ diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/gtkrc b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/gtkrc new file mode 100644 index 000000000..de4001742 --- /dev/null +++ b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/gtkrc @@ -0,0 +1,519 @@ +# DelugeStart ( based upon ANewStart by alecive ) +# Licensed under the GPL. +# Requires Murrine v0.91.0 + +gtk_color_scheme = "bg_color:#F5F5F5\nselected_bg_color:#8DCCF0\nbase_color:#FFFFFF" # Background, base +gtk_color_scheme = "fg_color:#3C4343\nselected_fg_color:#1E2222\ntext_color:#3C4343" # Foreground, text +#gtk_color_scheme = "sidebar_color:#DEDEDE" # Custom colors +gtk_color_scheme = "tooltip_bg_color:#B7DB67\ntooltip_fg_color:#F5F5F5" # Tooltips +gtk_color_scheme = "theme_color_04:#a9a49c\ntheme_color_26:#292421\ntheme_color_27:#C7C7C7" # Other colors +#gtk_color_scheme = "link_color:#08C" # Hyperlinks + +gtk-icon-sizes = "panel-menu=23,23:panel=21,21:gtk-button=17,17:gtk-large-toolbar=22,22" + +gtk-button-images = 0 # Disables icons for buttons with text +gtk-toolbar-style = 0 # Disables text in toolbar +gtk-auto-mnemonics = 1 # Disables lines under menu items + +style "default" +{ + xthickness = 1 + ythickness = 1 + + GtkArrow::arrow-scaling = 0.6 + GtkComboBox::arrow-scaling = 0.2 + + GtkScrolledWindow ::scrollbar-spacing = 0 + GtkScrolledWindow ::scrollbar-within-bevel = 0 + + GtkScrollbar::slider_width = 11 + GtkScrollbar::has-backward-stepper = 0 + GtkScrollbar::has-forward-stepper = 0 + GtkScrollbar::min-slider-length = 30 + + GtkButton::child-displacement-x = 1 + GtkButton::child-displacement-y = 1 + GtkButton::default-border = { 0, 0, 0, 0 } + + GtkCheckButton::indicator-size = 12 + + GtkPaned::handle-size = 6 + + GtkRange::trough-border = 1 + GtkRange::stepper-size = 12 + GtkRange::trough-under-steppers = 1 + GtkRange::slider-width = 14 + + GtkScale::slider-length = 14 + GtkScale::slider-width = 14 + GtkScale::trough-side-details = 1 + GtkScale::trough-border = 1 + + GtkExpander::expander-size = 14 + GtkTreeView::expander-size = 14 + GtkTreeView::indent-expanders = 0 + + GtkMenu::horizontal-offset = 2 + GtkMenu::vertical-offset = 2 + GtkMenu::horizontal-padding = 2 + GtkMenu::vertical-padding = 2 + + GtkMenuItem::arrow-spacing = 0 + + GtkMenuBar::internal-padding = 2 + GtkMenuBar::shadow_type = GTK_SHADOW_NONE + + #set to the same as roundness, used for better hotspot selection of tabs + GtkNotebook::tab-curvature = 3 + GtkNotebook::tab-overlap = -1 + + GtkToolbar::internal-padding = 2 + GtkToolbar::horizontal-padding = 0 + GtkToolbar::vertical-padding = 0 + GtkToolbar::shadow_type = GTK_SHADOW_NONE #gtk.SHADOW_IN, gtk.SHADOW_OUT, gtk.SHADOW_ETCHED_IN or gtk.SHADOW_ETCHED_OUT + + WnckTasklist::fade-overlay-rect = 0 + # The following line hints to gecko (and possibly other appliations) + # that the entry should be drawn transparently on the canvas. + # Without this, gecko will fill in the background of the entry. + # GtkEntry::honors-transparent-bg-hint = 1 + + GtkEntry::progress-border = { 2, 2, 2, 2 } + + 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.04, @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] = mix (0.7, @selected_bg_color, @bg_color) + base[SELECTED] = @selected_bg_color + base[INSENSITIVE] = @bg_color + + text[NORMAL] = @text_color + text[PRELIGHT] = @text_color + text[ACTIVE] = @selected_fg_color + text[SELECTED] = @selected_fg_color + text[INSENSITIVE] = darker (@bg_color) + + engine "murrine" + { + animation = TRUE # FALSE = disabled, TRUE = enabled + arrowstyle = 1 +# border_shades = { 1.0, 1.0} # draw a gradient on the border. +# border_colors = { "#E6DDD5", "#E6DDD5" } + colorize_scrollbar = FALSE # FALSE = disabled, TRUE = enabled + comboboxstyle = 0 # colorize the GtkComboBox below the arrow. + contrast = .85 # 0.8 for less contrast, more than 1.0 for more contrast on borders +# focus_color = @selected_bg_color +# glazestyle = 5 # 0 = flat, 1 = curved, 2 = concave, 3 = top-curved, 4 = beryl + glazestyle = 4 # 0 = flat, 1 = curved, 2 = concave, 3 = top-curved, 4 = beryl + glow_shade = 1.15 # sets glow amount for buttons or widgets + glowstyle = 0 # 0 = top, 1 = bottom, 2 = top and bottom, 3 = center (vertical), 4 = center (horizontal) + gradient_shades = { 1.13, 1.02, 1.00, 1.02 } # default: {1.1,1.0,1.0,1.1} + highlight_shade = 1.0 # set highlight amount for buttons or widgets + lightborder_shade = 1.2 # sets lightborder amount for buttons or widgets + lightborderstyle = 1 # 0 = lightborder on top side, 1 = lightborder on all sides + listviewheaderstyle = 1 # 0 = flat, 1 = glassy, 2 = raised + listviewstyle = 0 # 0 = nothing, 1 = dotted + menubaritemstyle = 0 # 0 = menuitem look, 1 = button look + menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped + menuitemstyle = 1 # 0 = flat, 1 = glassy, 2 = striped + menustyle = 0 # 0 = no vertical menu stripe, 1 = display vertical menu stripe + prelight_shade = 1.20 #to select the shade level used in the scrollbar's slider, GtkComboBox with comboboxstyle = 1 and in the prelight state with gradient_colors. + progressbarstyle = 0 # 0 = no stripes, 1 = diagonal stripes, 2 = vertical stripes + reliefstyle = 4 # 0 = flat, 1 = inset, 2 = shadow, = 3 for a gradient on shadow, = 4 for a stronger shadow. + rgba = FALSE # FALSE = disabled, TRUE = enabled + roundness = 2 # 0 = squared, 1 = old default, more will increase roundness + scrollbarstyle = 0 # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles + shadow_shades = { 0.8, 2.2 } + sliderstyle = 0 # 0 = nothing added, 1 = handles + spinbuttonstyle = 1 + stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles, 2 = squared steppers with a rounded slider +# textstyle = 1 + trough_shades = {1.1,0.87} + toolbarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient + separatorstyle = 1 # 0 = solid line, 1 = smooth separator + } +} + +style "wide" +{ + xthickness = 2 + ythickness = 2 +} + +style "wider" +{ + xthickness = 3 + ythickness = 3 +} + +style "dark" +{ + #bg[NORMAL] = @bg_color + #bg[SELECTED] = @selected_bg_color + #bg[PRELIGHT] = @selected_bg_color + #bg[ACTIVE] = @selected_bg_color + #bg[INSENSITIVE] = @bg_color + + + #fg[NORMAL] = @bg_color + #fg[PRELIGHT] = @selected_fg_color + #fg[SELECTED] = @selected_fg_color + #fg[ACTIVE] = @selected_fg_color + #fg[INSENSITIVE] = @selected_fg_color + +} + +style "button" = "wide" +{ + engine "murrine" + { + roundness = 3 + gradient_shades = { 1.06, 0.95, 1.06, 0.95} + border_shades = { .7, .6} + border_colors = { @bg_color, @bg_color } + + lightborderstyle = 1 + lightborder_shade = 1.26 + + shadow_shades = {2.5,2.2} + reliefstyle = 4 + } +} + +style "entry" { + xthickness = 3 + ythickness = 3 + + bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color) + fg[SELECTED] = @text_color + + engine "murrine" + { + focus_color = @selected_bg_color + lightborder_shade = 1.06 + glow_shade = 1.9 + } +} + +style "terminal" +{ + text[NORMAL] = darker(@selected_bg_color) + base[NORMAL] = @bg_color + + TerminalScreen::background-darkness = 0.99 +} + +style "toolbar" +{ + ythickness = 0 + engine "murrine" + { + gradient_shades = {1.00,0.95,0.95,0.90} + toolbarstyle = 1 + } +} + +style "toolbar-toggle" = "toolbar" +{ + text[NORMAL] = @text_color + text[PRELIGHT] = @text_color + text[ACTIVE] = @selected_fg_color + text[SELECTED] = @selected_fg_color + text[INSENSITIVE] = darker (@bg_color) + + engine "murrine" + { + toolbarstyle = 0 + } +} + +style "dark-toolbar" = "dark" +{ + xthickness = 0 + ythickness = 2 + + engine "murrine" + { + border_shades = {1.2, 1.0} # draw a gradient on the border. + border_colors = { "#62635E", "#62635E" } + glowstyle = 0 + gradient_shades = {1.1,1.0,1.0,0.7} + highlight_shade = 1.0 + lightborder_shade = 1.0 + reliefstyle = 1 # 0 = flat, 1 = inset, 2 = shadow, = 3 for a gradient on shadow, = 4 for a stronger shadow. + } +} + +style "dark-toolbar-sep" = "dark-toolbar" +{ + xthickness = 2 +} + +style "panel" +{ + xthickness = 0 + ythickness = 0 + + bg[NORMAL] = "#E3E3E3" # # Default top/bottom panel background + bg[PRELIGHT] = "#E3E3E3" # @bg_color # panel prelight + + engine "murrine" + { + #border_shades = {1.2, 1.0} # draw a gradient on the border. + #border_colors = { "#2D2416", "#2D2416" } + roundness = 1 + } +} + +style "panel-button" = "panel" +{ + engine "murrine" { + roundness = 1 + border_colors = {"#7C7C7C", "#7C7C7C"} + border_shades = {1.0, 1.0} # draw a gradient on the border. + gradient_shades = {1.0,1.0,1.0,1.0} + } +} + +# Based on the default style so that the colors from the button +# style are overriden again. +style "treeview-header" = "default" +{ + xthickness = 1 + ythickness = 1 + + bg[NORMAL] = "#F2F1F0" + bg[PRELIGHT] = shade (1.04, "#F2F1F0") + bg[ACTIVE] = shade (0.96, "#F2F1F0") + bg[INSENSITIVE] = "#F2F1F0" + + engine "murrine" { + textstyle = 1 + border_shades = {0.90, 0.78} + glowstyle = 5 + glazestyle = 1 + contrast = 0.8 + lightborder_shade = 1.16 + textstyle = 1 + glow_shade = 1.0 + } +} + +style "progressbar" +{ + xthickness = 0 + ythickness = 0 + + + bg[ACTIVE] = @bg_color + fg[PRELIGHT] = @selected_fg_color + + engine "murrine" { + trough_shades = {0.9, 0.98} + roundness = 2 + lightborderstyle = 1 + lightborder_shade = 1.26 + border_shades = {0.8, 0.8} + gradient_shades = {0.95, 1.1, 0.95, 1.1} + #trough_border_shades = {0.9, 0.9} + } +} + +style "statusbar" +{ + ythickness = 0 + xthickness = 0 +} + +style "comboboxentry" +{ + ythickness = 3 + xthickness = 3 + + engine "murrine" + { + contrast = .8 + } +} + +style "spinbutton" +{ +} + +style "scale" +{ + bg[ACTIVE] = @bg_color + bg[PRELIGHT] = shade(1.1, @bg_color) + fg[PRELIGHT] = @selected_fg_color + + engine "murrine" { + trough_shades = {0.9, 0.98} + roundness = 6 + lightborderstyle = 1 + lightborder_shade = 1.26 + border_shades = {0.8, 0.8} + gradient_shades = {0.95, 1.1, 0.95, 1.1} + #trough_border_shades = {0.9, 0.9} + highlight_shade = 1.02 + contrast = 1.1 + reliefstyle = 1 + } +} + +style "frame" +{ +} + +style "frame-title" = "frame" +{ + fg[NORMAL] = lighter (@fg_color) +} + +style "font" +{ + font_name="9" +} +widget_class "*" style "font" + +######################################### +# Matches +######################################### + +# default style is applied to every widget +class "GtkWidget" style "default" + +# Increase the x/ythickness in some widgets +class "GtkRange" style "default" +class "GtkFrame" style "frame" +class "GtkSeparator" style "wide" +class "GtkEntry" style "entry" +class "GtkStatusbar" style "statusbar" + +widget_class "**" style "comboboxentry" +widget_class "**" style "comboboxentry" + +# Toolbar default: light +class "*HandleBox" style "toolbar" +class "GtkToolbar" style "toolbar" +widget_class "*HandleBox" style "toolbar" +widget_class "*.*" style "toolbar" + +# +# Toolbar exceptions: +# Browser-type and viewer-type applications get a dark toolbar. +# Everything below the toolbar for these apps are the content. This will make +# a separation on function (toolbar) and content (client area) + +# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646 +style "text-is-fg-color-workaround" +{ + text[NORMAL] = @fg_color + text[PRELIGHT] = mix (0.8, @fg_color, '#ffffff') + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @fg_color + text[INSENSITIVE] = darker (@bg_color) +} + +style "text-is-fg-color-workaround-dark" +{ + #Make it work with this theme! + text[NORMAL] = @bg_color + text[PRELIGHT] = mix (1.0, @bg_color, '#ffffff') +} + +# Workaround style for menus where the text color is used instead of the fg color. +style "menuitem-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) +} + +# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646 +# Note that this work around assumes that the combobox is _not_ in appears-as-list mode. +widget_class "*.."style "text-is-fg-color-workaround" +# This is the part of the workaround that fixes the menus +widget "*.gtk-combobox-popup-menu.*" style "menuitem-text-is-fg-color-workaround" + +widget "*fullscreen-toolbar" style "dark-toolbar" +widget "*fullscreen-toolbar.*" style "dark-toolbar" +widget "*fullscreen-toolbar*.GtkComboBox.GtkCellView" style "text-is-fg-color-workaround-dark" + +class "GtkSpinButton" style "spinbutton" +class "GtkScale" style "scale" +class "GtkVScale" style "scale" +class "GtkHScale" style "scale" +class "GtkButton" style "button" + +# General matching following, the order is choosen so that the right styles override each other +# eg. progressbar needs to be more important then the menu match. + +widget_class "*" style "frame" +widget_class "*.." style "frame-title" + +widget_class "**" style "wider" +widget_class "*" style "progressbar" + +# Treeview header +widget_class "*.." style "treeview-header" +widget_class "*.." style "treeview-header" +widget_class "*.." style "treeview-header" +widget_class "*.." style "treeview-header" + +################################################### +# Special cases and work arounds +################################################### + +# 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 "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 "**" style "fg-is-text-color-workaround" +# The same problem also exists for GtkCList and GtkCTree +# Only match GtkCList and not the parent widgets, because that would also change the headers. +widget_class "*" style "fg-is-text-color-workaround" + +style "dialog" = "dark" +{ + bg[NORMAL] = mix(0.4, @selected_bg_color, shade(0.7, @bg_color)) + fg[NORMAL] = shade(0.5, @fg_color) + text[NORMAL] = shade(0.5, @text_color) +} +style "dialog-button" = "dark" +{ + bg[NORMAL] = shade(0.15, @bg_color) + bg[PRELIGHT] = shade(0.18, @bg_color) +} + +include"styles/checkradiobutton" +include"styles/menu-menubar" +include"styles/notebook" +include"styles/scrollbar" +include"styles/tooltips" + +style "gnome-color-chooser-combobox" +{ + text[NORMAL] = @fg_color + text[PRELIGHT] = mix (0.8, @fg_color, '#ffffff') +} +widget_class "*.." style "gnome-color-chooser-combobox" +class "TerminalScreen" style "terminal" diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/styles/checkradiobutton b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/styles/checkradiobutton new file mode 100644 index 000000000..db8dc30d8 --- /dev/null +++ b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/styles/checkradiobutton @@ -0,0 +1,179 @@ +style "checkbutton" = "default" +{ + engine "pixmap" + { + image + { + function = CHECK + recolorable = TRUE + state = NORMAL + shadow = OUT + overlay_file = "Check-Radio/check1.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = PRELIGHT + shadow = OUT + overlay_file = "Check-Radio/check3.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = ACTIVE + shadow = OUT + overlay_file = "Check-Radio/check3.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = INSENSITIVE + shadow = OUT + overlay_file = "Check-Radio/check1.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = NORMAL + shadow = IN + overlay_file = "Check-Radio/check2.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = PRELIGHT + shadow = IN + overlay_file = "Check-Radio/check4.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = ACTIVE + shadow = IN + overlay_file = "Check-Radio/check4.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = INSENSITIVE + shadow = IN + overlay_file = "Check-Radio/check1.png" + overlay_stretch = FALSE + } + image + { + function = FLAT_BOX + recolorable = TRUE + stretch = TRUE + file = "Check-Radio/checklight.png" + border = { 2, 2, 2, 2 } + } + } +} + +style "radiobutton" = "default" +{ + engine "pixmap" + { + image + { + function = OPTION + recolorable = TRUE + state = NORMAL + shadow = OUT + overlay_file = "Check-Radio/option1.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = PRELIGHT + shadow = OUT + overlay_file = "Check-Radio/option3.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = ACTIVE + shadow = OUT + overlay_file = "Check-Radio/option3.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = INSENSITIVE + shadow = OUT + overlay_file = "Check-Radio/option1.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = NORMAL + shadow = IN + overlay_file = "Check-Radio/option2.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = PRELIGHT + shadow = IN + overlay_file = "Check-Radio/option4.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = ACTIVE + shadow = IN + overlay_file = "Check-Radio/option4.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = INSENSITIVE + shadow = IN + overlay_file = "Check-Radio/option1.png" + overlay_stretch = FALSE + } + image + { + function = FLAT_BOX + recolorable = TRUE + stretch = TRUE + file = "Check-Radio/checklight.png" + border = { 2, 2, 2, 2 } + } + } +} + + +class "GtkRadioButton" style "radiobutton" +class "GtkRadioMenuItem" style "radiobutton" +class "GtkCheckButton" style "checkbutton" +class "GtkCheckMenuItem" style "checkbutton" diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/styles/menu-menubar b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/styles/menu-menubar new file mode 100644 index 000000000..a15363a9b --- /dev/null +++ b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/styles/menu-menubar @@ -0,0 +1,50 @@ +style "menu" = "default" +{ + xthickness = 2 + ythickness = 2 + + bg[PRELIGHT] = shade (1.04, @selected_bg_color) +} + +style "menuitem" +{ + xthickness = 0 + ythickness = 0 + + engine "murrine" { + roundness = 1 + border_colors = {"#7C7C7C", "#7C7C7C"} + border_shades = {1.0, 1.0} # draw a gradient on the border. + gradient_shades = {1.0,1.0,1.0,1.0} + } +} + +style "menubar" = "dark-toolbar" +{ + ythickness = 0 + xthickness = 0 + + bg[PRELIGHT] = shade (1.04, @selected_bg_color) + + engine "murrine" { + roundness = 1 + border_shades = {1.0, 1.0} # draw a gradient on the border. + border_colors = {"#7C7C7C", "#7C7C7C"} + glowstyle = 0 + gradient_shades = {1.0,1.0,1.0,1.0} + highlight_shade = 1.0 + lightborder_shade = 1.0 + reliefstyle = 0 # 0 = flat, 1 = inset, 2 = shadow, = 3 for a gradient on shadow, = 4 for a stronger shadow. + } +} + +class "GtkMenu" style "menu" +class "GtkMenuBar*" style "menubar" +class "GtkMenuItem" style "menuitem" +class "GtkTearoffMenuItem" style "menuitem" + +widget_class "*GtkMenu.*" style "menu" +widget_class "*MenuBar.*" style "menubar" +widget_class "*.." style "menuitem" +# The panel menubar +widget_class "*Panel**" style "menubar" diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/styles/notebook b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/styles/notebook new file mode 100644 index 000000000..4c52077ed --- /dev/null +++ b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/styles/notebook @@ -0,0 +1,29 @@ +style "notebook-close" { + stock["gtk-close"] = { + { "Icons/close.png", *, *, * } + } +} + +style "notebook" = "wider" { + + bg[NORMAL] = shade (1.0615, @bg_color) + bg[ACTIVE] = shade (0.85, @bg_color) + + engine "murrine" { + + lightborder_shade = 1.1 + highlight_shade = 1.01 + } +} + +style "notebookthin" = "notebook" { + + xthickness = 2 + ythickness = 2 +} + +widget_class "**" style "notebook" +widget_class "**" style "notebook" +widget_class "**" style "notebook" +widget_class "*" style "notebook" +widget_class "**" style "notebook-close" diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/styles/scrollbar b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/styles/scrollbar new file mode 100644 index 000000000..aa39423f5 --- /dev/null +++ b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/styles/scrollbar @@ -0,0 +1,125 @@ +style "scrollbar" = "default" +{ + engine "pixmap" + { + image + { + function = BOX + recolorable = TRUE + detail = "trough" + file = "Scrollbars/trough-scrollbar-horiz.png" + border = { 20, 20, 0, 0 } + stretch = TRUE + orientation = HORIZONTAL + } + image + { + function = BOX + recolorable = TRUE + detail = "trough" + file = "Scrollbars/trough-scrollbar-vert.png" + border = { 0, 0, 20, 20 } + stretch = TRUE + orientation = VERTICAL + } +###########x SLIDERS ##################x + + image + { + function = SLIDER + recolorable = TRUE + state = NORMAL + file = "Scrollbars/slider-horiz.png" + border = { 10, 10, 0, 0 } + stretch = TRUE + orientation = HORIZONTAL + } + image + { + function = SLIDER + recolorable = TRUE + state = ACTIVE + shadow = IN + file = "Scrollbars/slider-horiz.png" + border = { 10, 10, 0, 0 } + stretch = TRUE + orientation = HORIZONTAL + + } + image + { + function = SLIDER + recolorable = TRUE + state = PRELIGHT + file = "Scrollbars/slider-horiz-prelight.png" + border = { 10, 10, 0, 0 } + stretch = TRUE + orientation = HORIZONTAL + + } + image + { + function = SLIDER + recolorable = TRUE + state = INSENSITIVE + file = "Scrollbars/slider-horiz-insens.png" + border = { 10, 10, 0, 0 } + stretch = TRUE + orientation = HORIZONTAL + + } +#############x verticals################xx + + image + { + function = SLIDER + recolorable = TRUE + state = NORMAL + file = "Scrollbars/slider-vert.png" + border = { 0, 0, 10, 10 } + stretch = TRUE + orientation = VERTICAL + + } + image + { + function = SLIDER + recolorable = TRUE + state = ACTIVE + shadow = IN + file = "Scrollbars/slider-vert.png" + border = { 0, 0, 10, 10 } + stretch = TRUE + orientation = VERTICAL + + } + image + { + function = SLIDER + recolorable = TRUE + state = PRELIGHT + file = "Scrollbars/slider-vert-prelight.png" + border = { 0, 0, 10, 10 } + stretch = TRUE + orientation = VERTICAL + + } + image + { + function = SLIDER + recolorable = TRUE + state = INSENSITIVE + file = "Scrollbars/slider-vert-insens.png" + border = { 0, 0, 10, 10 } + stretch = TRUE + orientation = VERTICAL + + } + +########### END SLIDERS ################## + } +} + +class "GtkScrollbar" style "scrollbar" +class "GtkVScrollbar" style "scrollbar" +class "GtkHScrollbar" style "scrollbar" diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/styles/tooltips b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/styles/tooltips new file mode 100644 index 000000000..6658f062f --- /dev/null +++ b/win32/DelugeStart Theme/share/themes/DelugeStart/gtk-2.0/styles/tooltips @@ -0,0 +1,21 @@ +style "tooltips" +{ + xthickness = 4 + ythickness = 4 + + GtkWidget::new-tooltip-style = 1 + + bg[NORMAL] = @tooltip_bg_color + fg[NORMAL] = @tooltip_fg_color +} + + +widget "gtk-tooltips" style "tooltips" +class "*GtkTooltips*" style "tooltips" +widget_class "*Tooltips*" style "tooltips" +widget "*.nautilus-extra-view-widget" style:highest "tooltips" +style "nautilusrename" { +# fg[NORMAL] = "#e1e1e1" +} + +widget_class "*.EelEditableLabel" style "nautilusrename" diff --git a/win32/DelugeStart Theme/share/themes/DelugeStart/index.theme b/win32/DelugeStart Theme/share/themes/DelugeStart/index.theme new file mode 100644 index 000000000..d5d631b0f --- /dev/null +++ b/win32/DelugeStart Theme/share/themes/DelugeStart/index.theme @@ -0,0 +1,12 @@ +[Desktop Entry] +Version=1.2 +Encoding=UTF-8 +Name=DelugeStart +Type=X-GNOME-Metatheme +Comment=DelugeStart theme by alecive + +[X-GNOME-Metatheme] +GtkTheme=DelugeStart +IconTheme=AwOken-303030 +CursorTheme=DMZ-White +ButtonLayout=menu:minimize,maximize,close diff --git a/win32/deluge-bbfreeze.py b/win32/deluge-bbfreeze.py index e44cf0707..9e76cca65 100644 --- a/win32/deluge-bbfreeze.py +++ b/win32/deluge-bbfreeze.py @@ -80,12 +80,15 @@ shutil.copytree(gtk_locale, os.path.join(dst, 'share/locale'), ignore=ignored_fi # copy gtk theme files theme_include_list = [ - "share/icons/hicolor/index.theme", - "lib/gtk-2.0/2.10.0/engines", - "share/themes/MS-Windows", - "etc/gtk-2.0/gtkrc"] -for path in theme_include_list: - full_path = os.path.join(gtk_root, path) + [gtk_root, "share/icons/hicolor/index.theme"], + [gtk_root, "lib/gtk-2.0/2.10.0/engines"], + [gtk_root, "share/themes/MS-Windows"], + ["DelugeStart Theme", "lib/gtk-2.0/2.10.0/engines/libmurrine.dll"], + ["DelugeStart Theme", "share/themes/DelugeStart"], + ["DelugeStart Theme", "etc/gtk-2.0/gtkrc"] + ] +for path_root, path in theme_include_list: + full_path = os.path.join(path_root, path) if os.path.isdir(full_path): shutil.copytree(full_path, os.path.join(dst, path)) else: diff --git a/win32/icon.py b/win32/icon.py index f7b7cea51..0b9593928 100644 --- a/win32/icon.py +++ b/win32/icon.py @@ -37,11 +37,11 @@ class Structure: for i in range (len (self._names_)): indexes[self._names_[i]] = i def dump (self): - print "I: DUMP of", self + #print "I: DUMP of", self for name in self._names_: if name[0] != '_': - print "I: %20s = %s" % (name, getattr (self, name)) - print + #print "I: %20s = %s" % (name, getattr (self, name)) + pass def __getattr__ (self, name): if name in self._names_: index = self._indexes_[name] @@ -122,10 +122,10 @@ def CopyIcons_FromIco (dstpath, srcpath, id=1): data = f.grp_icon_dir() data = data + f.grp_icondir_entries(iconid) win32api.UpdateResource (hdst, RT_GROUP_ICON, i, data) - print "I: Writing RT_GROUP_ICON %d resource with %d bytes" % (i, len(data)) + #print "I: Writing RT_GROUP_ICON %d resource with %d bytes" % (i, len(data)) for data in f.images: win32api.UpdateResource (hdst, RT_ICON, iconid, data) - print "I: Writing RT_ICON %d resource with %d bytes" % (iconid, len (data)) + #print "I: Writing RT_ICON %d resource with %d bytes" % (iconid, len (data)) iconid = iconid + 1 win32api.EndUpdateResource (hdst, 0) @@ -144,7 +144,7 @@ def CopyIcons (dstpath, srcpath): return s, None srcpath = map(splitter, srcpath) - print "I: SRCPATH", srcpath + #print "I: SRCPATH", srcpath if len(srcpath) > 1: # At the moment, we support multiple icons only from .ico files