diff options
author | Rebecca Schulman <rebecka@eazel.com> | 2000-06-21 02:25:54 +0000 |
---|---|---|
committer | Rebecca Schulman <rebecka@src.gnome.org> | 2000-06-21 02:25:54 +0000 |
commit | d18ad1f885d5069cff341248209a1ec8a8cd24d9 (patch) | |
tree | dfd64e6f46040767fc75fc99e47d1c2803861941 /src/nautilus-switchable-navigation-bar.c | |
parent | b3af87db6ee43653329678d74da93906d986bf14 (diff) | |
download | nautilus-d18ad1f885d5069cff341248209a1ec8a8cd24d9.tar.gz |
set up search-bar as a virtual class that switches between the available
2000-06-20 Rebecca Schulman <rebecka@eazel.com>
* src/Makefile.am:
* src/nautilus-search-bar.c:
* src/nautilus-search-bar.h:
(nautilus_search_bar_initialize_class),
(nautilus_search_bar_initialize),
(nautilus_search_bar_set_location),
(nautilus_search_bar_set_search_controls):
* src/nautilus-switchable-search-bar.c:
* src/nautilus-switchable-search-bar.h:
* src/nautilus-search-bar-criterion.c:
* src/nautilus-search-bar-criterion.h:
set up search-bar as a virtual class that
switches between the available search bars,
similar to nautilus-navigation-bar.
* src/nautilus-complex-search-bar.c:
* src/nautilus-complex-search-bar.h:
* src/nautilus-simple-search-bar.c:
* src/nautilus-simple-search-bar.h:
Added simple and complex search bar skeletons.
these need to get filled out a lot more
* src/nautilus-switchable-navigation-bar.c:
(nautilus_switchable_navigation_bar_initialize):
switchable navigation bar uses a switchable
search bar instead of a normal search bar,
since that class is now virtual
* src/nautilus-navigation-bar.c:
fixed comment typos
* libnautilus-extensions/nautilus-directory.h:
Exported nautilus_uri_is_search_uri function
* libnautilus-extensions/Makefile.am:
Added nautilus-search-uri.c and .h files
The functions aren't filled out yet, though
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_search_uri_to_simple_search_criteria):
* libnautilus-extensions/nautilus-search-uri.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_register_for_ui):
* libnautilus-extensions/nautilus-global-preferences.h:
Changed search bar preference names from NAUTILUS_SEARCH_BAR_ONE_BOX
and NAUTILUS_SEARCH_BAR_MULTI_BOX
to NAUTILUS_SIMPLE_SEARCH_BAR and NAUTILUS_COMPLEX_SEARCH_BAR
to match respective object names
Diffstat (limited to 'src/nautilus-switchable-navigation-bar.c')
-rw-r--r-- | src/nautilus-switchable-navigation-bar.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nautilus-switchable-navigation-bar.c b/src/nautilus-switchable-navigation-bar.c index 62a8187fd..b3025d149 100644 --- a/src/nautilus-switchable-navigation-bar.c +++ b/src/nautilus-switchable-navigation-bar.c @@ -24,6 +24,7 @@ #include <config.h> #include "nautilus-switchable-navigation-bar.h" +#include "nautilus-switchable-search-bar.h" #include <libgnome/gnome-defs.h> #include <libgnome/gnome-i18n.h> @@ -97,7 +98,7 @@ nautilus_switchable_navigation_bar_initialize (NautilusSwitchableNavigationBar * hbox = gtk_hbox_new (0, FALSE); bar->location_bar = nautilus_location_bar_new (); - bar->search_bar = nautilus_search_bar_new (); + bar->search_bar = nautilus_switchable_search_bar_new (); gtk_signal_connect (GTK_OBJECT (bar->location_bar), "location_changed", |