From 08ea620cad214625d5ecd937568c4fa65297d251 Mon Sep 17 00:00:00 2001 From: bionel Date: Mon, 10 Aug 2015 20:21:43 +0300 Subject: fixing grip/handle. status update --- Kogaion-daylight/gtk-2.0/gtkrc | 18 +++++++++++++++++- Kogaion-nighttime/gtk-2.0/gtkrc | 18 +++++++++++++++++- README.md | 6 ++---- to_review | 4 +--- 4 files changed, 37 insertions(+), 9 deletions(-) diff --git a/Kogaion-daylight/gtk-2.0/gtkrc b/Kogaion-daylight/gtk-2.0/gtkrc index f91ce5e..cf8c343 100755 --- a/Kogaion-daylight/gtk-2.0/gtkrc +++ b/Kogaion-daylight/gtk-2.0/gtkrc @@ -275,7 +275,23 @@ style "frame_title" { fg[NORMAL] = shade(0.80, @fg_color) } -style "handle" { } +style "handle" { + engine "pixmap" { + image { + function = HANDLE + overlay_file = "Others/pane-separator-grip.svg" + overlay_stretch = FALSE + orientation = HORIZONTAL + } + image { + function = HANDLE + overlay_file = "Others/pane-separator-grip-vertical.svg" + overlay_stretch = FALSE + orientation = VERTICAL + } + } +} + class "GtkPaned" style "handle" style "menubar" { diff --git a/Kogaion-nighttime/gtk-2.0/gtkrc b/Kogaion-nighttime/gtk-2.0/gtkrc index 04a1dfc..3a6e577 100755 --- a/Kogaion-nighttime/gtk-2.0/gtkrc +++ b/Kogaion-nighttime/gtk-2.0/gtkrc @@ -275,7 +275,23 @@ style "frame_title" { fg[NORMAL] = shade(0.80, @fg_color) } -style "handle" { } +style "handle" { + engine "pixmap" { + image { + function = HANDLE + overlay_file = "Others/pane-separator-grip.svg" + overlay_stretch = FALSE + orientation = HORIZONTAL + } + image { + function = HANDLE + overlay_file = "Others/pane-separator-grip-vertical.svg" + overlay_stretch = FALSE + orientation = VERTICAL + } + } +} + class "GtkPaned" style "handle" style "menubar" { diff --git a/README.md b/README.md index c353b7b..ff0dc97 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,8 @@ designed to automatically pick-up gtk colors #### gtk2 - Ongoing, TBD: - - checkboxes for treeview (if possible) - - more code cleaning - - see also 'to review' file + Ready for packaging, TBD: + - may be needed more code cleaning #### gtk3 missing in action diff --git a/to_review b/to_review index 3a9d013..1850fb2 100644 --- a/to_review +++ b/to_review @@ -1,4 +1,2 @@ -#L304 -style "handle" { } -class "GtkPaned" style "handle" +NOTHING HERE -- cgit v1.2.3