aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-09-14 17:12:41 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-09-14 17:12:41 +0800
commitb932028b82cfb31da782beab7bc71248cc19e24f (patch)
treef623c0afafa01ec69b47f8cf9614a7cb6692d8f4 /libempathy-gtk
parent6c6409c01aeeec60ee88eecbf9efa4aa8b0629f0 (diff)
downloadgsoc2013-empathy-b932028b82cfb31da782beab7bc71248cc19e24f.tar
gsoc2013-empathy-b932028b82cfb31da782beab7bc71248cc19e24f.tar.gz
gsoc2013-empathy-b932028b82cfb31da782beab7bc71248cc19e24f.tar.bz2
gsoc2013-empathy-b932028b82cfb31da782beab7bc71248cc19e24f.tar.lz
gsoc2013-empathy-b932028b82cfb31da782beab7bc71248cc19e24f.tar.xz
gsoc2013-empathy-b932028b82cfb31da782beab7bc71248cc19e24f.tar.zst
gsoc2013-empathy-b932028b82cfb31da782beab7bc71248cc19e24f.zip
add empathy_search_bar_paste_clipboard()
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-search-bar.c7
-rw-r--r--libempathy-gtk/empathy-search-bar.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-search-bar.c b/libempathy-gtk/empathy-search-bar.c
index cc2b97753..2116d598a 100644
--- a/libempathy-gtk/empathy-search-bar.c
+++ b/libempathy-gtk/empathy-search-bar.c
@@ -315,3 +315,10 @@ empathy_search_bar_class_init (EmpathySearchBarClass *class)
widget_class->size_allocate = empathy_search_bar_size_allocate;
}
+void
+empathy_search_bar_paste_clipboard (EmpathySearchBar *self)
+{
+ EmpathySearchBarPriv *priv = GET_PRIV (self);
+
+ gtk_editable_paste_clipboard (GTK_EDITABLE (priv->search_entry));
+}
diff --git a/libempathy-gtk/empathy-search-bar.h b/libempathy-gtk/empathy-search-bar.h
index c17778b7f..2e4e0d76e 100644
--- a/libempathy-gtk/empathy-search-bar.h
+++ b/libempathy-gtk/empathy-search-bar.h
@@ -59,6 +59,7 @@ GType empathy_search_bar_get_type (void) G_GNUC_CONST;
GtkWidget * empathy_search_bar_new (EmpathyChatView *view);
void empathy_search_bar_show (EmpathySearchBar *searchbar);
void empathy_search_bar_hide (EmpathySearchBar *searchbar);
+void empathy_search_bar_paste_clipboard (EmpathySearchBar *searchbar);
G_END_DECLS