mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-25 02:36:07 +00:00
Add a dumb script to make it easy to run the font test.
* test/Makefile.am: * test/font-test.sh: Add a dumb script to make it easy to run the font test. * test/test-nautilus-font.c: (main): Make the clipping test better; clip both vertically and horizontally.
This commit is contained in:
parent
51f099caeb
commit
01e90c35c8
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2000-09-05 Ramiro Estrugo <ramiro@eazel.com>
|
||||
|
||||
* test/Makefile.am:
|
||||
* test/font-test.sh:
|
||||
Add a dumb script to make it easy to run the font test.
|
||||
|
||||
* test/test-nautilus-font.c: (main):
|
||||
Make the clipping test better; clip both vertically and
|
||||
horizontally.
|
||||
|
||||
2000-09-05 John Sullivan <sullivan@eazel.com>
|
||||
|
||||
Much context-menu-related cleanup and some bug fixes.
|
||||
|
|
|
@ -47,3 +47,8 @@ test_nautilus_mime_actions_set_SOURCES = test-nautilus-mime-actions-set.c
|
|||
test_nautilus_password_dialog_SOURCES = test-nautilus-password-dialog.c
|
||||
test_nautilus_preferences_SOURCES = test-nautilus-preferences.c
|
||||
test_nautilus_widgets_SOURCES = test-nautilus-widgets.c
|
||||
|
||||
EXTRA_DIST =\
|
||||
font-test.sh \
|
||||
$(NULL)
|
||||
|
||||
|
|
4
test/font-test.sh
Executable file
4
test/font-test.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
make -s test-nautilus-font && rm -f font_test.png && ./test-nautilus-font && eog font_test.png
|
||||
|
|
@ -81,7 +81,7 @@ main (int argc, char* argv[])
|
|||
blue_area.x = 300;
|
||||
blue_area.y = 20;
|
||||
blue_area.width = 100;
|
||||
blue_area.height = 400;
|
||||
blue_area.height = 30;
|
||||
|
||||
nautilus_gdk_pixbuf_fill_rectangle_with_color (pixbuf, &blue_area, NAUTILUS_RGBA_COLOR_PACK (0, 0, 255, 255));
|
||||
|
||||
|
|
Loading…
Reference in a new issue