summaryrefslogtreecommitdiff
path: root/src/nautilus-location-entry.h
diff options
context:
space:
mode:
authorDave Camp <dave@ximian.com>2003-10-11 17:26:39 +0000
committerDave Camp <campd@src.gnome.org>2003-10-11 17:26:39 +0000
commit20515128ceae1a69f6423404c4b4d402b53669f5 (patch)
treedac6125d54f292a69cba5f239edf9114dca0ac2e /src/nautilus-location-entry.h
parent5101d9b5618e41c1fad19dc27fb8aa46458de21a (diff)
downloadnautilus-20515128ceae1a69f6423404c4b4d402b53669f5.tar.gz
Add nautilus-location-dialog.[ch] and nautilus-location-entry.[ch]
2003-10-11 Dave Camp <dave@ximian.com> * src/Makefile.am: Add nautilus-location-dialog.[ch] and nautilus-location-entry.[ch] * src/nautilus-location-bar.c: (editable_event_after_callback), (nautilus_location_bar_init): * src/nautilus-location-entry.c: Moved the tab-completing entry into its own widget. * src/nautilus-location-dialog.c * src/nautilus-spatial-window.c: (real_prompt_for_location), (nautilus_spatial_window_class_init): Add an Open Location dialog for the spatial windows.
Diffstat (limited to 'src/nautilus-location-entry.h')
-rw-r--r--src/nautilus-location-entry.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/nautilus-location-entry.h b/src/nautilus-location-entry.h
new file mode 100644
index 000000000..596f18a33
--- /dev/null
+++ b/src/nautilus-location-entry.h
@@ -0,0 +1,54 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
+
+/*
+ * Nautilus
+ *
+ * Copyright (C) 2000 Eazel, Inc.
+ *
+ * Nautilus is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * Nautilus is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program; see the file COPYING. If not,
+ * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * Author: Maciej Stachowiak <mjs@eazel.com>
+ * Ettore Perazzoli <ettore@gnu.org>
+ */
+
+#ifndef NAUTILUS_LOCATION_ENTRY_H
+#define NAUTILUS_LOCATION_ENTRY_H
+
+#include <libnautilus-private/nautilus-entry.h>
+
+#define NAUTILUS_TYPE_LOCATION_ENTRY (nautilus_location_entry_get_type ())
+#define NAUTILUS_LOCATION_ENTRY(obj) \
+ GTK_CHECK_CAST (obj, NAUTILUS_TYPE_LOCATION_ENTRY, NautilusLocationEntry)
+#define NAUTILUS_LOCATION_ENTRY_CLASS(klass) \
+ GTK_CHECK_CLASS_CAST (klass, NAUTILUS_TYPE_LOCATION_ENTRY, NautilusLocationEntryClass)
+#define NAUTILUS_IS_LOCATION_ENTRY(obj) \
+ GTK_CHECK_TYPE (obj, NAUTILUS_TYPE_LOCATION_ENTRY)
+
+typedef struct NautilusLocationEntryDetails NautilusLocationEntryDetails;
+
+typedef struct NautilusLocationEntry {
+ NautilusEntry parent;
+ NautilusLocationEntryDetails *details;
+} NautilusLocationEntry;
+
+typedef struct {
+ NautilusEntryClass parent_class;
+} NautilusLocationEntryClass;
+
+GType nautilus_location_entry_get_type (void);
+GtkWidget* nautilus_location_entry_new (void);
+
+#endif /* NAUTILUS_LOCATION_ENTRY_H */