summaryrefslogtreecommitdiff
path: root/src/nautilus-navigation-window.c
diff options
context:
space:
mode:
authorMichael Meeks <michael@ximian.com>2002-04-05 11:54:35 +0000
committerMichael Meeks <michael@src.gnome.org>2002-04-05 11:54:35 +0000
commit0790b62532684b215ccc1b40dd79d08546c1eccf (patch)
treebb4141d172d2bc82d0c016d9395d6a5bd1b9b4b9 /src/nautilus-navigation-window.c
parent7d4860dd61f2add624823a140ab7b908e9f8df69 (diff)
downloadnautilus-0790b62532684b215ccc1b40dd79d08546c1eccf.tar.gz
impl. (nautilus_throbber_class_init): upd.
2002-04-05 Michael Meeks <michael@ximian.com> * components/throbber/nautilus-throbber.c (nautilus_throbber_accessible_class_init), (nautilus_throbber_accessible_initialize), (nautilus_throbber_accessible_get_type), (nautilus_throbber_get_accessible): impl. (nautilus_throbber_class_init): upd. (nautilus_throbber_accessible_image_get_size): (nautilus_throbber_accessible_image_interface_init): (nautilus_throbber_set_location): split out of (nautilus_throbber_button_release_event): here. (nautilus_icon_container_accessible_do_action): use it. (nautilus_throbber_accessible_get_n_actions), (nautilus_throbber_accessible_action_get_description), (nautilus_throbber_accessible_action_get_name), (nautilus_throbber_accessible_action_get_keybinding), (nautilus_throbber_accessible_action_set_description), (nautilus_throbber_accessible_action_interface_init): impl. 2002-04-04 Michael Meeks <michael@ximian.com> * src/nautilus-window-toolbars.c (create_back_or_forward_toolbar_item): add tooltip parameter so we can get a11y descriptions. (nautilus_window_initialize_toolbars): upd. * src/nautilus-window.c (nautilus_window_instance_init): create a tooltips object. (nautilus_window_destroy): kill it. * src/nautilus-shell-ui.xml: prune some cruft. * components/music/nautilus-music-view.c (nautilus_music_view_set_album_image): set image name.
Diffstat (limited to 'src/nautilus-navigation-window.c')
-rw-r--r--src/nautilus-navigation-window.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nautilus-navigation-window.c b/src/nautilus-navigation-window.c
index 383c9ea48..cb3ab6ccf 100644
--- a/src/nautilus-navigation-window.c
+++ b/src/nautilus-navigation-window.c
@@ -177,6 +177,10 @@ nautilus_window_instance_init (NautilusWindow *window)
bonobo_ui_container_set_engine (window->details->ui_container,
bonobo_window_get_ui_engine (BONOBO_WINDOW (window)));
+ window->details->tooltips = gtk_tooltips_new ();
+ g_object_ref (G_OBJECT (window->details->tooltips));
+ gtk_object_sink (GTK_OBJECT (window->details->tooltips));
+
window->details->shell_ui = bonobo_ui_component_new ("Nautilus Shell");
bonobo_ui_component_set_container
(window->details->shell_ui,
@@ -782,6 +786,11 @@ nautilus_window_destroy (GtkObject *object)
window->content_view = NULL;
}
+ if (window->details->tooltips) {
+ g_object_unref (G_OBJECT (window->details->tooltips));
+ window->details->tooltips = NULL;
+ }
+
GTK_OBJECT_CLASS (parent_class)->destroy (object);
}