summaryrefslogtreecommitdiff
path: root/src/nautilus-information-panel.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2005-06-28 12:54:45 +0000
committerAlexander Larsson <alexl@src.gnome.org>2005-06-28 12:54:45 +0000
commitbaba5ad913ccff88160d465366d0b4f305a70a3b (patch)
treeecca310641b39eb3d97cb47f5541af27c311deb6 /src/nautilus-information-panel.c
parentffda8a6840d7f828606047124cacccce0a965927 (diff)
downloadnautilus-baba5ad913ccff88160d465366d0b4f305a70a3b.tar.gz
Add get_tab_tooltop method.
2005-06-28 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-sidebar.[ch]: Add get_tab_tooltop method. * src/nautilus-navigation-window.c: * src/nautilus-side-pane.[ch]: Use get_tab_tooltip. * src/nautilus-emblem-sidebar.c: * src/nautilus-history-sidebar.c: * src/nautilus-information-panel.c: * src/nautilus-notes-viewer.c: Implement get_tab_toolkit. Fixes bug #100268, patch from Michael Terry <mike@mterry.name>
Diffstat (limited to 'src/nautilus-information-panel.c')
-rw-r--r--src/nautilus-information-panel.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nautilus-information-panel.c b/src/nautilus-information-panel.c
index d532c2769..3b61d0721 100644
--- a/src/nautilus-information-panel.c
+++ b/src/nautilus-information-panel.c
@@ -178,6 +178,12 @@ nautilus_information_panel_get_tab_label (NautilusSidebar *sidebar)
return g_strdup (_("Information"));
}
+static char *
+nautilus_information_panel_get_tab_tooltip (NautilusSidebar *sidebar)
+{
+ return g_strdup (_("Show Information"));
+}
+
static GdkPixbuf *
nautilus_information_panel_get_tab_icon (NautilusSidebar *sidebar)
{
@@ -196,6 +202,7 @@ nautilus_information_panel_iface_init (NautilusSidebarIface *iface)
{
iface->get_sidebar_id = nautilus_information_panel_get_sidebar_id;
iface->get_tab_label = nautilus_information_panel_get_tab_label;
+ iface->get_tab_tooltip = nautilus_information_panel_get_tab_tooltip;
iface->get_tab_icon = nautilus_information_panel_get_tab_icon;
iface->is_visible_changed = nautilus_information_panel_is_visible_changed;
}