[nautilus] Add nautilus_side_pane_get_title
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus] Add nautilus_side_pane_get_title
- Date: Thu, 17 Dec 2009 20:26:37 +0000 (UTC)
commit 595150f7a94664fb247cef5b0af714fd7f1c0e6b
Author: Alexander Larsson <alexl redhat com>
Date: Thu Dec 17 21:23:50 2009 +0100
Add nautilus_side_pane_get_title
src/nautilus-side-pane.c | 6 ++++++
src/nautilus-side-pane.h | 1 +
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-side-pane.c b/src/nautilus-side-pane.c
index baf2b4b..68ba97d 100644
--- a/src/nautilus-side-pane.c
+++ b/src/nautilus-side-pane.c
@@ -634,3 +634,9 @@ nautilus_side_pane_get_current_panel (NautilusSidePane *side_pane)
index = gtk_notebook_get_current_page (GTK_NOTEBOOK (side_pane->details->notebook));
return gtk_notebook_get_nth_page (GTK_NOTEBOOK (side_pane->details->notebook), index);
}
+
+GtkWidget *
+nautilus_side_pane_get_title (NautilusSidePane *side_pane)
+{
+ return side_pane->details->title_hbox;
+}
diff --git a/src/nautilus-side-pane.h b/src/nautilus-side-pane.h
index deda665..bf0d840 100644
--- a/src/nautilus-side-pane.h
+++ b/src/nautilus-side-pane.h
@@ -69,6 +69,7 @@ void nautilus_side_pane_set_panel_image (NautilusSidePane *sid
GtkWidget *widget,
GdkPixbuf *pixbuf);
GtkWidget *nautilus_side_pane_get_current_panel (NautilusSidePane *side_pane);
+GtkWidget *nautilus_side_pane_get_title (NautilusSidePane *side_pane);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]