mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-25 10:45:41 +00:00
Turn on test subdirectory.
* Makefile.am: Turn on test subdirectory. * test/test.c: (test_init), (test_label_new): * test/test.h: Build without using EelLabel. * src/nautilus-sidebar-title.c: Remove unused header include.
This commit is contained in:
parent
baa6401268
commit
3eec4d53e1
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,12 @@
|
||||||
|
2002-01-03 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
|
* Makefile.am: Turn on test subdirectory.
|
||||||
|
* test/test.c: (test_init), (test_label_new):
|
||||||
|
* test/test.h:
|
||||||
|
Build without using EelLabel.
|
||||||
|
|
||||||
|
* src/nautilus-sidebar-title.c: Remove unused header include.
|
||||||
|
|
||||||
2002-01-03 Darin Adler <darin@bentspoon.com>
|
2002-01-03 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* TODO: Updated.
|
* TODO: Updated.
|
||||||
|
@ -8,7 +17,6 @@
|
||||||
* components/music/nautilus-music-view.c:
|
* components/music/nautilus-music-view.c:
|
||||||
Don't include EelList.
|
Don't include EelList.
|
||||||
|
|
||||||
|
|
||||||
2002-01-03 Darin Adler <darin@bentspoon.com>
|
2002-01-03 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* libnautilus-private/nautilus-icon-container.c:
|
* libnautilus-private/nautilus-icon-container.c:
|
||||||
|
|
|
@ -11,6 +11,7 @@ SUBDIRS = \
|
||||||
libnautilus-private \
|
libnautilus-private \
|
||||||
libnautilus-adapter \
|
libnautilus-adapter \
|
||||||
src \
|
src \
|
||||||
|
test \
|
||||||
components \
|
components \
|
||||||
po \
|
po \
|
||||||
data \
|
data \
|
||||||
|
@ -21,10 +22,6 @@ SUBDIRS = \
|
||||||
docs \
|
docs \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
XXX = \
|
|
||||||
test \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
EXTRA_DIST= \
|
EXTRA_DIST= \
|
||||||
COPYING.LIB \
|
COPYING.LIB \
|
||||||
COPYING-DOCS \
|
COPYING-DOCS \
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
#include <bonobo/bonobo-property-bag-client.h>
|
#include <bonobo/bonobo-property-bag-client.h>
|
||||||
#include <eel/eel-background.h>
|
#include <eel/eel-background.h>
|
||||||
#include <eel/eel-gdk-extensions.h>
|
#include <eel/eel-gdk-extensions.h>
|
||||||
#include <eel/eel-gdk-font-extensions.h>
|
|
||||||
#include <eel/eel-gdk-pixbuf-extensions.h>
|
#include <eel/eel-gdk-pixbuf-extensions.h>
|
||||||
#include <eel/eel-glib-extensions.h>
|
#include <eel/eel-glib-extensions.h>
|
||||||
#include <eel/eel-gtk-extensions.h>
|
#include <eel/eel-gtk-extensions.h>
|
||||||
|
|
27
test/test.c
27
test/test.c
|
@ -11,20 +11,7 @@ test_init (int *argc,
|
||||||
gdk_rgb_init ();
|
gdk_rgb_init ();
|
||||||
gnome_vfs_init ();
|
gnome_vfs_init ();
|
||||||
|
|
||||||
eel_make_warnings_and_criticals_stop_in_debugger
|
eel_make_warnings_and_criticals_stop_in_debugger ();
|
||||||
(G_LOG_DOMAIN,
|
|
||||||
"Bonobo",
|
|
||||||
"Gdk",
|
|
||||||
"GnomeUI",
|
|
||||||
"GnomeVFS",
|
|
||||||
"GnomeVFS-CORBA",
|
|
||||||
"GnomeVFS-pthread",
|
|
||||||
"Gtk",
|
|
||||||
"Nautilus",
|
|
||||||
"Nautilus-Authenticate",
|
|
||||||
"Nautilus-Tree",
|
|
||||||
"ORBit",
|
|
||||||
NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
@ -178,17 +165,7 @@ test_label_new (const char *text,
|
||||||
text = "Foo";
|
text = "Foo";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (with_background) {
|
label = gtk_label_new (text);
|
||||||
label = eel_label_new_with_background (text);
|
|
||||||
} else {
|
|
||||||
label = eel_label_new (text);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (num_sizes_larger < 0) {
|
|
||||||
eel_label_make_smaller (EEL_LABEL (label), ABS (num_sizes_larger));
|
|
||||||
} else if (num_sizes_larger > 0) {
|
|
||||||
eel_label_make_larger (EEL_LABEL (label), num_sizes_larger);
|
|
||||||
}
|
|
||||||
|
|
||||||
return label;
|
return label;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
#ifndef TEST_H
|
#ifndef TEST_H
|
||||||
#define TEST_H
|
#define TEST_H
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue