Commit e445831a authored by Darin Adler's avatar Darin Adler

Fixed callback that caused bad cast when a URL was typed in.

parent 92eedb52
1999-12-15 Darin Adler <darin@eazel.com>
* src/ntl-window.c (nautilus_window_constructed):
Fixed signal handler to point to nautilus_window_goto_url_cb
instead of nautilus_window_goto_url. This was causing a bad
cast when a new URL was typed.
1999-12-15 Darin Adler <darin@eazel.com>
* src/ntl-uri-map.c (nautilus_navinfo_new): Changed back to
......
......@@ -408,7 +408,7 @@ nautilus_window_constructed(NautilusWindow *window)
window->ent_url = explorer_location_bar_new();
gtk_signal_connect(GTK_OBJECT(window->ent_url), "location_changed",
nautilus_window_goto_url, window);
nautilus_window_goto_url_cb, window);
gnome_app_add_docked(app, window->ent_url, "url-entry",
GNOME_DOCK_ITEM_BEH_LOCKED|GNOME_DOCK_ITEM_BEH_EXCLUSIVE|GNOME_DOCK_ITEM_BEH_NEVER_VERTICAL,
GNOME_DOCK_TOP, 1, 0, 0);
......
......@@ -408,7 +408,7 @@ nautilus_window_constructed(NautilusWindow *window)
window->ent_url = explorer_location_bar_new();
gtk_signal_connect(GTK_OBJECT(window->ent_url), "location_changed",
nautilus_window_goto_url, window);
nautilus_window_goto_url_cb, window);
gnome_app_add_docked(app, window->ent_url, "url-entry",
GNOME_DOCK_ITEM_BEH_LOCKED|GNOME_DOCK_ITEM_BEH_EXCLUSIVE|GNOME_DOCK_ITEM_BEH_NEVER_VERTICAL,
GNOME_DOCK_TOP, 1, 0, 0);
......
......@@ -408,7 +408,7 @@ nautilus_window_constructed(NautilusWindow *window)
window->ent_url = explorer_location_bar_new();
gtk_signal_connect(GTK_OBJECT(window->ent_url), "location_changed",
nautilus_window_goto_url, window);
nautilus_window_goto_url_cb, window);
gnome_app_add_docked(app, window->ent_url, "url-entry",
GNOME_DOCK_ITEM_BEH_LOCKED|GNOME_DOCK_ITEM_BEH_EXCLUSIVE|GNOME_DOCK_ITEM_BEH_NEVER_VERTICAL,
GNOME_DOCK_TOP, 1, 0, 0);
......
......@@ -408,7 +408,7 @@ nautilus_window_constructed(NautilusWindow *window)
window->ent_url = explorer_location_bar_new();
gtk_signal_connect(GTK_OBJECT(window->ent_url), "location_changed",
nautilus_window_goto_url, window);
nautilus_window_goto_url_cb, window);
gnome_app_add_docked(app, window->ent_url, "url-entry",
GNOME_DOCK_ITEM_BEH_LOCKED|GNOME_DOCK_ITEM_BEH_EXCLUSIVE|GNOME_DOCK_ITEM_BEH_NEVER_VERTICAL,
GNOME_DOCK_TOP, 1, 0, 0);
......
......@@ -408,7 +408,7 @@ nautilus_window_constructed(NautilusWindow *window)
window->ent_url = explorer_location_bar_new();
gtk_signal_connect(GTK_OBJECT(window->ent_url), "location_changed",
nautilus_window_goto_url, window);
nautilus_window_goto_url_cb, window);
gnome_app_add_docked(app, window->ent_url, "url-entry",
GNOME_DOCK_ITEM_BEH_LOCKED|GNOME_DOCK_ITEM_BEH_EXCLUSIVE|GNOME_DOCK_ITEM_BEH_NEVER_VERTICAL,
GNOME_DOCK_TOP, 1, 0, 0);
......
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