[eog] EogWindow: Add proper introspection keywords for gear menu lookup
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] EogWindow: Add proper introspection keywords for gear menu lookup
- Date: Sun, 8 Feb 2015 14:23:04 +0000 (UTC)
commit 182a8d9f48bd8f408571bce0dca880eb70ce13a2
Author: Felix Riemann <friemann gnome org>
Date: Sun Feb 8 15:21:30 2015 +0100
EogWindow: Add proper introspection keywords for gear menu lookup
Otherwise Python plugins aren't able to add menu entries.
src/eog-window.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/eog-window.c b/src/eog-window.c
index a18e48a..0f2a5eb 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -5195,6 +5195,13 @@ eog_window_open_file_list (EogWindow *window, GSList *file_list)
g_object_unref (job);
}
+/**
+ * eog_window_get_gear_menu_section:
+ * @window: an #EogWindow.
+ * @id: the ID for the menu section to look up
+ *
+ * Return value: (transfer none): a #GMenu or %NULL on failure
+ **/
GMenu *
eog_window_get_gear_menu_section (EogWindow *window, const gchar *id)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]