aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tabs-menu.h
diff options
context:
space:
mode:
authorDavid Bordoley <bordoley@msu.edu>2003-05-17 20:08:43 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-05-17 20:08:43 +0800
commite5d335763657c0ebf4d464f4bc1d81542220141b (patch)
tree33f5e2e75e07e710657e142c3c881ec4e5d24d37 /src/ephy-tabs-menu.h
parent452a329409d547296f6d79fa902ddba45a8286c8 (diff)
downloadgsoc2013-epiphany-e5d335763657c0ebf4d464f4bc1d81542220141b.tar
gsoc2013-epiphany-e5d335763657c0ebf4d464f4bc1d81542220141b.tar.gz
gsoc2013-epiphany-e5d335763657c0ebf4d464f4bc1d81542220141b.tar.bz2
gsoc2013-epiphany-e5d335763657c0ebf4d464f4bc1d81542220141b.tar.lz
gsoc2013-epiphany-e5d335763657c0ebf4d464f4bc1d81542220141b.tar.xz
gsoc2013-epiphany-e5d335763657c0ebf4d464f4bc1d81542220141b.tar.zst
gsoc2013-epiphany-e5d335763657c0ebf4d464f4bc1d81542220141b.zip
Marco Pesenti Gritti <marco@it.gnome.org>
2003-05-17 David Bordoley <bordoley@msu.edu> Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/epiphany-ui.xml.in: * src/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (create_tool_item): * src/ephy-notebook.c: (ephy_notebook_class_init), (ephy_notebook_move_page), (move_tab), (notebook_drag_data_received_cb), (ephy_notebook_init), (ephy_notebook_set_page_status), (update_tabs_visibility), (ephy_notebook_insert_page), (ephy_notebook_remove_page), (ephy_notebook_set_page_title): * src/ephy-notebook.h: * src/ephy-tabs-menu.c: (ephy_tabs_menu_class_init), (ephy_tabs_menu_init), (ephy_tabs_menu_clean), (ephy_tabs_menu_finalize_impl), (ephy_tabs_menu_set_property), (ephy_tabs_menu_get_property), (ephy_tabs_menu_new), (ephy_tabs_menu_verb_cb), (ephy_tabs_menu_set_action_accelerator), (ephy_tabs_menu_rebuild), (ephy_tabs_menu_update): * src/ephy-tabs-menu.h: * src/ephy-window.c: (setup_window), (update_tabs_menu_sensitivity), (ephy_window_tabs_changed_cb), (setup_notebook), (ephy_window_init), (ephy_window_finalize), (ephy_window_update_control), (ephy_window_update_all_controls), (ephy_window_notebook_switch_page_cb): * src/ephy-window.h: * src/window-commands.c: (window_cmd_tabs_move_left), (window_cmd_tabs_move_right), (window_cmd_tabs_detach): Implement a list of tabs at the bottom of tabs menu. Add a changed signal to the notebook and use it to update list and sensitivity.
Diffstat (limited to 'src/ephy-tabs-menu.h')
-rw-r--r--src/ephy-tabs-menu.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/src/ephy-tabs-menu.h b/src/ephy-tabs-menu.h
new file mode 100644
index 000000000..a04329ef6
--- /dev/null
+++ b/src/ephy-tabs-menu.h
@@ -0,0 +1,61 @@
+/*
+ * Copyright (C) 2003 David Bordoley
+ *
+ * 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 EPHY_TABS_MENU_H
+#define EPHY_TABS_MENU_H
+
+#include "ephy-window.h"
+
+/* object forward declarations */
+
+typedef struct _EphyTabsMenu EphyTabsMenu;
+typedef struct _EphyTabsMenuClass EphyTabsMenuClass;
+typedef struct _EphyTabsMenuPrivate EphyTabsMenuPrivate;
+
+/**
+ * Editor object
+ */
+
+#define EPHY_TYPE_TABS_MENU (ephy_tabs_menu_get_type())
+#define EPHY_TABS_MENU(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EPHY_TYPE_TABS_MENU, EphyTabsMenu))
+#define EPHY_TABS_MENU_CLASS(klass)(G_TYPE_CHECK_CLASS_CAST((klass), EPHY_TYPE_TABS_MENU, EphyTabsMenuClass))
+#define EPHY_IS_TABS_MENU(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EPHY_TYPE_TABS_MENU))
+#define EPHY_IS_TABS_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EPHY_TYPE_TABS_MENU))
+#define EPHY_TABS_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EPHY_TYPE_TABS_MENU, EphyTabsMenuClass))
+
+struct _EphyTabsMenuClass
+{
+ GObjectClass parent_class;
+};
+
+/* Remember: fields are public read-only */
+struct _EphyTabsMenu
+{
+ GObject parent_object;
+
+ EphyTabsMenuPrivate *priv;
+};
+
+GType ephy_tabs_menu_get_type (void);
+
+EphyTabsMenu *ephy_tabs_menu_new (EphyWindow *window);
+
+void ephy_tabs_menu_update (EphyTabsMenu *wrhm);
+
+#endif
+