Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-page-action.h
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2005-04-08 05:28:38 (GMT)
committer Jonathan Blandford <jrb@src.gnome.org>2005-04-08 05:28:38 (GMT)
commitfa65a5177e3045d1ddd3f0c7d60b831a5134d57a (patch)
treeefffcb3c53e00a918c12ed07036fe953790eafe8 /shell/ev-page-action.h
parentbb24964d2d9593e35ff5693129d8cb0a688be47b (diff)
Big reworking to make completions work iff we have >= GTK-2.7.0
Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-page-action.h: * shell/ev-page-action.c: (ev_page_action_widget_init), (ev_page_action_widget_class_init), (page_changed_cb), (create_tool_item), (update_page_cache), (build_new_tree_cb), (get_filter_model_from_model), (match_selected_cb), (display_completion_text), (match_completion), (update_model), (connect_proxy), (ev_page_action_set_property), (ev_page_action_get_property), (ev_page_action_set_document), (ev_page_action_set_model), (ev_page_action_class_init): Big reworking to make completions work iff we have >= GTK-2.7.0 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property), (ev_sidebar_links_get_property), (ev_sidebar_links_class_init), (job_finished_cb): We now have a 'model' property that is set when the links are loaded. This can be caught with "notify::model" * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init): listen for the model to be set, and propagate it to the action.
Diffstat (limited to 'shell/ev-page-action.h')
-rw-r--r--shell/ev-page-action.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/shell/ev-page-action.h b/shell/ev-page-action.h
index 295c358..636a24d 100644
--- a/shell/ev-page-action.h
+++ b/shell/ev-page-action.h
@@ -23,6 +23,7 @@
#define EV_PAGE_ACTION_H
#include <gtk/gtkaction.h>
+#include <gtk/gtktreemodel.h>
#include <ev-document.h>
G_BEGIN_DECLS
@@ -54,9 +55,11 @@ struct _EvPageActionClass
int page_number);
};
-GType ev_page_action_get_type (void);
-void ev_page_action_set_document (EvPageAction *page_action,
- EvDocument *document);
+GType ev_page_action_get_type (void);
+void ev_page_action_set_document (EvPageAction *page_action,
+ EvDocument *document);
+void ev_page_action_set_model (EvPageAction *page_action,
+ GtkTreeModel *model);
G_END_DECLS