aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-04-16 21:29:37 +0800
committerMilan Crha <mcrha@redhat.com>2012-04-16 21:31:13 +0800
commit62dceeb795c74a9156e509df92c1b6c70026d4ce (patch)
tree993f0ad3c129018f8fa9d40f975d59907c2d0079 /shell
parent6762b1238d6c2e38aeca76ec266b7e6b82a36f19 (diff)
downloadgsoc2013-evolution-62dceeb795c74a9156e509df92c1b6c70026d4ce.tar
gsoc2013-evolution-62dceeb795c74a9156e509df92c1b6c70026d4ce.tar.gz
gsoc2013-evolution-62dceeb795c74a9156e509df92c1b6c70026d4ce.tar.bz2
gsoc2013-evolution-62dceeb795c74a9156e509df92c1b6c70026d4ce.tar.lz
gsoc2013-evolution-62dceeb795c74a9156e509df92c1b6c70026d4ce.tar.xz
gsoc2013-evolution-62dceeb795c74a9156e509df92c1b6c70026d4ce.tar.zst
gsoc2013-evolution-62dceeb795c74a9156e509df92c1b6c70026d4ce.zip
Show calendar Find Next/Prev/Stop buttons beside Search text entry
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-searchbar.c10
-rw-r--r--shell/e-shell-searchbar.h2
2 files changed, 12 insertions, 0 deletions
diff --git a/shell/e-shell-searchbar.c b/shell/e-shell-searchbar.c
index ff3f06b403..4299904c70 100644
--- a/shell/e-shell-searchbar.c
+++ b/shell/e-shell-searchbar.c
@@ -1285,6 +1285,16 @@ e_shell_searchbar_set_search_visible (EShellSearchbar *searchbar,
g_object_notify (G_OBJECT (searchbar), "search-visible");
}
+GtkWidget *
+e_shell_searchbar_get_search_box (EShellSearchbar *searchbar)
+{
+ g_return_val_if_fail (searchbar != NULL, NULL);
+ g_return_val_if_fail (searchbar->priv != NULL, NULL);
+ g_return_val_if_fail (searchbar->priv->search_entry != NULL, NULL);
+
+ return gtk_widget_get_parent (searchbar->priv->search_entry);
+}
+
EActionComboBox *
e_shell_searchbar_get_scope_combo_box (EShellSearchbar *searchbar)
{
diff --git a/shell/e-shell-searchbar.h b/shell/e-shell-searchbar.h
index a5cb2506cf..a9e73c9f02 100644
--- a/shell/e-shell-searchbar.h
+++ b/shell/e-shell-searchbar.h
@@ -108,6 +108,8 @@ gboolean e_shell_searchbar_get_search_visible
void e_shell_searchbar_set_search_visible
(EShellSearchbar *searchbar,
gboolean search_visible);
+GtkWidget * e_shell_searchbar_get_search_box
+ (EShellSearchbar *searchbar);
EActionComboBox *
e_shell_searchbar_get_scope_combo_box
(EShellSearchbar *searchbar);