diff options
author | Nickolay V. Shmyrev <nshmyrev@yandex.ru> | 2006-11-19 00:51:27 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2006-11-19 00:51:27 (GMT) |
commit | 8228ff475e7dced57dbaa9550255534d0c275767 (patch) | |
tree | f71a620546fdc4ce1d21d0647596a7620d8fd933 /shell/ev-navigation-action.h | |
parent | 8246e1a604c03faab1f9125352927c9369b4a34e (diff) |
Preliminary history implementation
2006-11-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* data/evince-toolbar.xml:
* po/POTFILES.in:
* shell/Makefile.am:
* shell/ev-navigation-action-widget.c:
(ev_navigation_action_widget_init),
(ev_navigation_action_widget_class_init), (menu_deactivate_cb),
(menu_detacher), (ev_navigation_action_widget_set_menu),
(menu_position_func), (popup_menu_under_arrow),
(ev_navigation_action_widget_toggled),
(ev_navigation_action_widget_button_press_event):
* shell/ev-navigation-action-widget.h:
* shell/ev-navigation-action.c: (ev_navigation_action_set_history),
(ev_navigation_action_set_window), (activate_menu_item_cb),
(new_history_menu_item), (new_empty_history_menu_item),
(build_menu), (menu_activated_cb), (connect_proxy),
(create_tool_item), (ev_navigation_action_init),
(ev_navigation_action_finalize), (ev_navigation_action_class_init):
* shell/ev-navigation-action.h:
* shell/ev-page-action-widget.c: (ev_page_action_widget_init),
(ev_page_action_widget_set_page_cache),
(ev_page_action_widget_finalize),
(ev_page_action_widget_class_init), (match_selected_cb),
(display_completion_text), (match_completion), (build_new_tree_cb),
(get_filter_model_from_model),
(ev_page_action_widget_update_model):
* shell/ev-page-action-widget.h:
* shell/ev-page-action.c: (activate_link_cb), (update_model),
(connect_proxy):
* shell/ev-page-action.h:
* shell/ev-stock-icons.c:
* shell/ev-stock-icons.h:
* shell/ev-window.c: (ev_window_setup_action_sensitivity),
(page_changed_cb), (ev_window_setup_document), (ev_window_dispose),
(register_custom_actions):
* shell/main.c:
Preliminary history implementation
Diffstat (limited to 'shell/ev-navigation-action.h')
-rw-r--r-- | shell/ev-navigation-action.h | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/shell/ev-navigation-action.h b/shell/ev-navigation-action.h new file mode 100644 index 0000000..c801c39 --- /dev/null +++ b/shell/ev-navigation-action.h @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2003, 2004 Marco Pesenti Gritti + * Copyright (C) 2003, 2004 Christian Persch + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + */ + +#ifndef EV_NAVIGATION_ACTION_H +#define EV_NAVIGATION_ACTION_H + +#include <gtk/gtkaction.h> + +#include "ev-history.h" +#include "ev-window.h" + +G_BEGIN_DECLS + +#define EV_TYPE_NAVIGATION_ACTION (ev_navigation_action_get_type ()) +#define EV_NAVIGATION_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_NAVIGATION_ACTION, EvNavigationAction)) +#define EV_NAVIGATION_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_NAVIGATION_ACTION, EvNavigationActionClass)) +#define EV_IS_NAVIGATION_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_NAVIGATION_ACTION)) +#define EV_IS_NAVIGATION_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), EV_TYPE_NAVIGATION_ACTION)) +#define EV_NAVIGATION_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EV_TYPE_NAVIGATION_ACTION, EvNavigationActionClass)) + +typedef struct _EvNavigationAction EvNavigationAction; +typedef struct _EvNavigationActionPrivate EvNavigationActionPrivate; +typedef struct _EvNavigationActionClass EvNavigationActionClass; + +struct _EvNavigationAction +{ + GtkAction parent; + + /*< private >*/ + EvNavigationActionPrivate *priv; +}; + +struct _EvNavigationActionClass +{ + GtkActionClass parent_class; +}; + +GType ev_navigation_action_get_type (void); +void ev_navigation_action_set_history (EvNavigationAction *action, + EvHistory *history); +void ev_navigation_action_set_window (EvNavigationAction *action, + EvWindow *window); + +G_END_DECLS + +#endif |