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-widget.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-widget.h')
-rw-r--r-- | shell/ev-navigation-action-widget.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/shell/ev-navigation-action-widget.h b/shell/ev-navigation-action-widget.h new file mode 100644 index 0000000..674b854 --- /dev/null +++ b/shell/ev-navigation-action-widget.h @@ -0,0 +1,46 @@ +/* + * 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. + * + */ + +#include <gtk/gtk.h> + +#define EV_TYPE_NAVIGATION_ACTION_WIDGET (ev_navigation_action_widget_get_type ()) +#define EV_NAVIGATION_ACTION_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_NAVIGATION_ACTION_WIDGET, EvNavigationActionWidget)) + +typedef struct _EvNavigationActionWidget EvNavigationActionWidget; +typedef struct _EvNavigationActionWidgetClass EvNavigationActionWidgetClass; + +struct _EvNavigationActionWidget +{ + GtkToggleToolButton parent; + + GtkMenu *menu; +}; + +struct _EvNavigationActionWidgetClass +{ + GtkToggleToolButtonClass parent_class; + + void (*show_menu) (EvNavigationActionWidget *widget); +}; + +GType ev_navigation_action_widget_get_type (void); + +void +ev_navigation_action_widget_set_menu(EvNavigationActionWidget *widget, GtkWidget *menu); |