]> git.0d.be Git - empathy.git/commitdiff
add empathy_search_bar_paste_clipboard()
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 14 Sep 2010 09:12:41 +0000 (11:12 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 14 Sep 2010 09:12:41 +0000 (11:12 +0200)
libempathy-gtk/empathy-search-bar.c
libempathy-gtk/empathy-search-bar.h

index cc2b9775373a485e094328936d88a2edfb0867d0..2116d598ac4fe54fef5a5f046bd59043a58b7ecc 100644 (file)
@@ -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));
+}
index c17778b7f2d2706420e8fedd87f2b7e3b2049ef1..2e4e0d76e6a2dfd110ef887b0ba666f46e73af59 100644 (file)
@@ -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