[gnome-photos] main-toolbar: Implement handle_event
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] main-toolbar: Implement handle_event
- Date: Wed, 29 Jan 2014 13:42:03 +0000 (UTC)
commit 9563b5d0e932b133df9b1d07d7b90cdb6f723422
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Jan 29 09:39:27 2014 +0100
main-toolbar: Implement handle_event
src/photos-main-toolbar.c | 10 ++++++++++
src/photos-main-toolbar.h | 2 ++
2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-main-toolbar.c b/src/photos-main-toolbar.c
index 6685fac..3f6574b 100644
--- a/src/photos-main-toolbar.c
+++ b/src/photos-main-toolbar.c
@@ -785,6 +785,16 @@ photos_main_toolbar_new (GtkOverlay *overlay)
}
+gboolean
+photos_main_toolbar_handle_event (PhotosMainToolbar *self, GdkEventKey *event)
+{
+ gboolean ret_val = FALSE;
+
+ ret_val = photos_searchbar_handle_event (PHOTOS_SEARCHBAR (self->priv->searchbar), event);
+ return ret_val;
+}
+
+
void
photos_main_toolbar_set_stack (PhotosMainToolbar *self, GtkStack *stack)
{
diff --git a/src/photos-main-toolbar.h b/src/photos-main-toolbar.h
index d64ed78..b246885 100644
--- a/src/photos-main-toolbar.h
+++ b/src/photos-main-toolbar.h
@@ -70,6 +70,8 @@ GType photos_main_toolbar_get_type (void) G_GNUC_
GtkWidget *photos_main_toolbar_new (GtkOverlay *overlay);
+gboolean photos_main_toolbar_handle_event (PhotosMainToolbar *self, GdkEventKey
*event);
+
void photos_main_toolbar_set_stack (PhotosMainToolbar *self, GtkStack *stack);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]