I've done a patchfile to get progress bar animations[1] in the actual version of garnome-cvs. If someone is interested I attatch the gar package in .tar.gz and a patch of actual cvs-tree more info: http://myeburg.net/home/notes/show.9.html [1] http://gnomedesktop.org/node/2469 Regards, -- Eduard Carreras i Nadal <ecarreras gmail com> http://iesdecelra.xtec.net/eduard
diff -ruN gtk-engines/checksums gtk-engines-anim/checksums --- gtk-engines/checksums 2005-11-22 03:57:41.000000000 +0100 +++ gtk-engines-anim/checksums 2005-11-25 21:26:49.000000000 +0100 @@ -1 +1,2 @@ 9f8d71891771e4583dd0985556784934 download/gtk-engines-2.7.0.tar.bz2 +b6a00b0daabc493ce6a45e4d1939145c files/animated.diff diff -ruN gtk-engines/CVS/Entries gtk-engines-anim/CVS/Entries --- gtk-engines/CVS/Entries 2005-11-25 21:28:17.000000000 +0100 +++ gtk-engines-anim/CVS/Entries 2005-11-25 21:26:49.000000000 +0100 @@ -1,3 +1,3 @@ -/Makefile/1.2/Tue Nov 22 02:57:41 2005// -/checksums/1.2/Tue Nov 22 02:57:41 2005// +/Makefile/1.2/Tue Nov 22 14:02:24 2005// +/checksums/1.2/Tue Nov 22 14:02:24 2005// D diff -ruN gtk-engines/files/animated.diff gtk-engines-anim/files/animated.diff --- gtk-engines/files/animated.diff 1970-01-01 01:00:00.000000000 +0100 +++ gtk-engines-anim/files/animated.diff 2005-11-25 21:26:49.000000000 +0100 @@ -0,0 +1,61 @@ +diff -ruN gtk-engines-2.7.0/engines/clearlooks/src/clearlooks_draw.c gtk-engines-cvs/engines/clearlooks/src/clearlooks_draw.c +--- gtk-engines-2.7.0/engines/clearlooks/src/clearlooks_draw.c 2005-11-21 21:45:27.000000000 +0100 ++++ gtk-engines-cvs/engines/clearlooks/src/clearlooks_draw.c 2005-11-22 19:59:50.000000000 +0100 +@@ -675,19 +675,19 @@ + cairo_stroke (cr); + + /* Top shadow */ ++ cairo_rectangle (cr, x+1, y+1, width-2, 4); + pattern = cairo_pattern_create_linear (x, y, x, y+4); + cairo_pattern_add_color_stop_rgba (pattern, 0.0, 0., 0., 0., 0.1); + cairo_pattern_add_color_stop_rgba (pattern, 1.0, 0., 0., 0., 0.); +- cairo_rectangle (cr, x+1, y+1, width-2, 4); + cairo_set_source (cr, pattern); + cairo_fill (cr); + cairo_pattern_destroy (pattern); +- ++ + /* Left shadow */ ++ cairo_rectangle (cr, x+1, y+1, 4, height-2); + pattern = cairo_pattern_create_linear (x, y, x+4, y); + cairo_pattern_add_color_stop_rgba (pattern, 0.0, 0., 0., 0., 0.05); + cairo_pattern_add_color_stop_rgba (pattern, 1.0, 0., 0., 0., 0.); +- cairo_rectangle (cr, x+1, y+1, 4, height-2); + cairo_set_source (cr, pattern); + cairo_fill (cr); + cairo_pattern_destroy (pattern); +diff -ruN gtk-engines-2.7.0/engines/clearlooks/src/clearlooks_style.c gtk-engines-cvs/engines/clearlooks/src/clearlooks_style.c +--- gtk-engines-2.7.0/engines/clearlooks/src/clearlooks_style.c 2005-11-15 21:09:13.000000000 +0100 ++++ gtk-engines-cvs/engines/clearlooks/src/clearlooks_style.c 2005-11-22 19:59:50.000000000 +0100 +@@ -199,9 +199,9 @@ + params->prelight = (state_type == GTK_STATE_PRELIGHT); + params->disabled = (state_type == GTK_STATE_INSENSITIVE); + params->state_type = (ClearlooksStateType)state_type; +- params->corners = CL_CORNER_ALL; ++ params->corners = CL_CORNER_ALL; + +- params->focus = GTK_WIDGET_HAS_FOCUS (widget); ++ params->focus = widget && GTK_WIDGET_HAS_FOCUS (widget); + + if (!params->active && widget && GTK_IS_TOGGLE_BUTTON (widget)) + params->active = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget)); +@@ -211,7 +211,8 @@ + + /* I want to avoid to have to do this. I need it for GtkEntry, unless I + find out why it doesn't behave the way I expect it to. */ +- clearlooks_get_parent_bg (widget, ¶ms->parentbg); ++ if (widget) ++ clearlooks_get_parent_bg (widget, ¶ms->parentbg); + } + + static void +--- gtk-engines-2.7.0/themes/Clearlooks/gtk-2.0/gtkrc 2005-11-15 21:09:14.000000000 +0100 ++++ gtk-engines-2.7.0_anim/themes/Clearlooks/gtk-2.0/gtkrc 2005-11-25 21:07:28.000000000 +0100 +@@ -47,6 +47,7 @@ + + engine "clearlooks" + { ++ animation = TRUE + scrollbar_color = "#76acde" + menubarstyle = 2 # 0 = flat, 1 = sunken, 2 = flat gradient + menuitemstyle = 1 # 0 = flat, 1 = 3d-ish (gradient), 2 = 3d-ish (button) diff -ruN gtk-engines/Makefile gtk-engines-anim/Makefile --- gtk-engines/Makefile 2005-11-22 03:57:41.000000000 +0100 +++ gtk-engines-anim/Makefile 2005-11-25 21:26:49.000000000 +0100 @@ -2,6 +2,7 @@ GARVERSION = 2.7.0 CATEGORIES = desktop DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2 +PATCHFILES = animated.diff LIBDEPS = platform/gtk+ platform/GConf
Attachment:
gtk-engines.tar.gz
Description: GNU Zip compressed data