Commit 5e8b5ede authored by Christian Neumair's avatar Christian Neumair Committed by Christian Neumair

Add optional empty view.

2007-06-24  Christian Neumair  <cneumair@gnome.org>

	* configure.in:
	* src/nautilus-application.c:
	* src/file-manager/Makefile.am:
	* src/file-manager/fm-empty-view.[ch]:
	Add optional empty view.

svn path=/trunk/; revision=12956
parent 3205e987
2007-06-24 Christian Neumair <cneumair@gnome.org>
* configure.in:
* src/nautilus-application.c:
* src/file-manager/Makefile.am:
* src/file-manager/fm-empty-view.[ch]:
Add optional empty view.
2007-06-23 Martin Wehner <martin.wehner@gmail.com>
* configure.in:
......
......@@ -330,7 +330,15 @@ AC_CHECK_LIB(selinux, is_selinux_enabled,
])
AC_SUBST(SELINUX_LIBS)
AC_ARG_ENABLE(empty_view,
AC_HELP_STRING([--enable-empty-view], [Enable empty view]),
[ENABLE_EMPTY_VIEW=1
AC_DEFINE(ENABLE_EMPTY_VIEW, 1, [define to enable the empty view that is used for performance measurement])])
AC_SUBST(ENABLE_EMPTY_VIEW)
AM_CONDITIONAL(ENABLE_EMPTY_VIEW, test "x$ENABLE_EMPTY_VIEW" = "x1")
dnl ==========================================================================
dnl Turn on the additional warnings last, so -Werror doesn't affect other tests.
......
......@@ -40,6 +40,13 @@ libnautilus_file_manager_la_SOURCES= \
fm-tree-view.h \
$(NULL)
EMPTY_VIEW_SOURCES = \
fm-empty-view.c \
fm-empty-view.h
if ENABLE_EMPTY_VIEW
libnautilus_file_manager_la_SOURCES += $(EMPTY_VIEW_SOURCES)
endif
uidir = $(datadir)/nautilus/ui
ui_DATA = \
......
......@@ -34,6 +34,9 @@
#include "file-manager/fm-icon-view.h"
#include "file-manager/fm-list-view.h"
#include "file-manager/fm-tree-view.h"
#if ENABLE_EMPTY_VIEW
#include "file-manager/fm-empty-view.h"
#endif /* ENABLE_EMPTY_VIEW */
#include "nautilus-information-panel.h"
#include "nautilus-history-sidebar.h"
#include "nautilus-places-sidebar.h"
......@@ -192,6 +195,9 @@ nautilus_application_instance_init (NautilusApplication *application)
fm_icon_view_register ();
fm_desktop_icon_view_register ();
fm_list_view_register ();
#if ENABLE_EMPTY_VIEW
fm_empty_view_register ();
#endif /* ENABLE_EMPTY_VIEW */
/* register sidebars */
nautilus_places_sidebar_register ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment