aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-03-30 02:48:45 +0800
committerChristian Persch <chpe@src.gnome.org>2004-03-30 02:48:45 +0800
commitf915ef04766ad74fb64fdb1589e73eae5324d465 (patch)
treec992c75fc36202dbf8e3e0a2e2a03108bb33693c /lib
parentf2da560b232d7a0166fdf0aec3a9b48d574b0c65 (diff)
downloadgsoc2013-epiphany-f915ef04766ad74fb64fdb1589e73eae5324d465.tar
gsoc2013-epiphany-f915ef04766ad74fb64fdb1589e73eae5324d465.tar.gz
gsoc2013-epiphany-f915ef04766ad74fb64fdb1589e73eae5324d465.tar.bz2
gsoc2013-epiphany-f915ef04766ad74fb64fdb1589e73eae5324d465.tar.lz
gsoc2013-epiphany-f915ef04766ad74fb64fdb1589e73eae5324d465.tar.xz
gsoc2013-epiphany-f915ef04766ad74fb64fdb1589e73eae5324d465.tar.zst
gsoc2013-epiphany-f915ef04766ad74fb64fdb1589e73eae5324d465.zip
Removed the nautilus view.
2004-03-29 Christian Persch <chpe@cvs.gnome.org> * configure.in: * data/.cvsignore: * data/GNOME_Epiphany_NautilusView.server.in: * data/Makefile.am: * data/ui/.cvsignore: * data/ui/Makefile.am: * data/ui/nautilus-epiphany-view.xml: * doc/reference/Makefile.am: * embed/Makefile.am: * embed/ephy-embed-popup-control.c: * embed/ephy-embed-popup-control.h: * lib/Makefile.am: * lib/ephy-bonobo-extensions.c: * lib/ephy-bonobo-extensions.h: * po/POTFILES.in: * src/Makefile.am: * src/ephy-nautilus-view.c: * src/ephy-nautilus-view.h: * src/ephy-shell.c: (ephy_automation_factory_cb): Removed the nautilus view. 2004-03-29 Christian Persch <chpe@cvs.gnome.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am2
-rw-r--r--lib/ephy-bonobo-extensions.c91
-rw-r--r--lib/ephy-bonobo-extensions.h49
3 files changed, 0 insertions, 142 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 4366aa258..397d96aa2 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -16,7 +16,6 @@ header_DATA = $(INST_H_FILES)
NOINST_H_FILES = \
eel-gconf-extensions.h \
- ephy-bonobo-extensions.h \
ephy-debug.h \
ephy-dnd.h \
ephy-file-chooser.h \
@@ -41,7 +40,6 @@ INST_H_FILES = \
libephymisc_la_SOURCES = \
eel-gconf-extensions.c \
- ephy-bonobo-extensions.c \
ephy-debug.c \
ephy-dialog.c \
ephy-dnd.c \
diff --git a/lib/ephy-bonobo-extensions.c b/lib/ephy-bonobo-extensions.c
deleted file mode 100644
index cb1e96d36..000000000
--- a/lib/ephy-bonobo-extensions.c
+++ /dev/null
@@ -1,91 +0,0 @@
-/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
-
-/* gul-bonobo-extensions.c - implementation of new functions that conceptually
- belong in bonobo. Perhaps some of these will be
- actually rolled into bonobo someday.
-
- This file is based on nautilus-bonobo-extensions.c from
- libnautilus-private.
-
- Copyright (C) 2000, 2001 Eazel, Inc.
-
- The Gnome Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public License as
- published by the Free Software Foundation; either version 2 of the
- License, or (at your option) any later version.
-
- The Gnome Library 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
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public
- License along with the Gnome Library; see the file COPYING.LIB. If not,
- write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA.
-
- Authors: John Sullivan <sullivan@eazel.com>
- Darin Adler <darin@bentspoon.com>
-
- $Id$
-*/
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include "ephy-bonobo-extensions.h"
-#include "ephy-string.h"
-#include <string.h>
-
-#include <bonobo/bonobo-ui-util.h>
-#include <gtk/gtkmain.h>
-#include <libgnomevfs/gnome-vfs-utils.h>
-#include <bonobo/bonobo-control.h>
-
-void
-ephy_bonobo_set_hidden (BonoboUIComponent *ui,
- const char *path,
- gboolean hidden)
-{
- if (bonobo_ui_component_get_container (ui)) /* should not do this here... */
- {
- bonobo_ui_component_set_prop (ui, path, "hidden", hidden ? "1" : "0", NULL);
- }
-}
-
-static void
-ephy_bonobo_clear_path (BonoboUIComponent *uic,
- const gchar *path)
-{
- if (bonobo_ui_component_path_exists (uic, path, NULL))
- {
- char *remove_wildcard = g_strdup_printf ("%s/*", path);
- bonobo_ui_component_rm (uic, remove_wildcard, NULL);
- g_free (remove_wildcard);
- }
-}
-
-void
-ephy_bonobo_replace_path (BonoboUIComponent *uic, const gchar *path_src,
- const char *path_dst)
-{
- BonoboUINode *node;
- const char *name;
- char *path_dst_folder;
-
- name = strrchr (path_dst, '/');
- g_return_if_fail (name != NULL);
- path_dst_folder = g_strndup (path_dst, name - path_dst);
- name++;
-
- node = bonobo_ui_component_get_tree (uic, path_src, TRUE, NULL);
- bonobo_ui_node_set_attr (node, "name", name);
-
- ephy_bonobo_clear_path (uic, path_dst);
-
- bonobo_ui_component_set_tree (uic, path_dst_folder, node, NULL);
-
- g_free (path_dst_folder);
- bonobo_ui_node_free (node);
-}
diff --git a/lib/ephy-bonobo-extensions.h b/lib/ephy-bonobo-extensions.h
deleted file mode 100644
index d096eba94..000000000
--- a/lib/ephy-bonobo-extensions.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
-
-/* gul-bonobo-extensions.h - interface for new functions that conceptually
- belong in bonobo. Perhaps some of these will be
- actually rolled into bonobo someday.
-
-
- This file is based on nautilus-bonobo-extensions.h from
- libnautilus-private.
-
-
- Copyright (C) 2000 Eazel, Inc.
-
- The Gnome Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public License as
- published by the Free Software Foundation; either version 2 of the
- License, or (at your option) any later version.
-
- The Gnome Library 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
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public
- License along with the Gnome Library; see the file COPYING.LIB. If not,
- write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA.
-
- Author: John Sullivan <sullivan@eazel.com>
-
- $Id$
-*/
-
-#ifndef EPHY_BONOBO_EXTENSIONS_H
-#define EPHY_BONOBO_EXTENSIONS_H
-
-#include <bonobo/bonobo-ui-component.h>
-#include <bonobo/bonobo-control.h>
-#include <gdk-pixbuf/gdk-pixbuf.h>
-#include <gtk/gtkwidget.h>
-
-void ephy_bonobo_set_hidden (BonoboUIComponent *ui,
- const char *path,
- gboolean hidden);
-void ephy_bonobo_replace_path (BonoboUIComponent *uic,
- const gchar *path_src,
- const char *path_dst);
-
-#endif /* EPHY_BONOBO_EXTENSIONS_H */