diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-01-13 03:04:48 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-01-13 03:04:48 +0800 |
commit | 3564d87bc51c44ac10645479f3523fff81d892f1 (patch) | |
tree | 96c9c817cd8ccc33c0188c8a7c7d311e618f4f4b /lib/widgets | |
parent | a27be014985599ab073926bbf676846bdb2657c3 (diff) | |
download | gsoc2013-epiphany-3564d87bc51c44ac10645479f3523fff81d892f1.tar gsoc2013-epiphany-3564d87bc51c44ac10645479f3523fff81d892f1.tar.gz gsoc2013-epiphany-3564d87bc51c44ac10645479f3523fff81d892f1.tar.bz2 gsoc2013-epiphany-3564d87bc51c44ac10645479f3523fff81d892f1.tar.lz gsoc2013-epiphany-3564d87bc51c44ac10645479f3523fff81d892f1.tar.xz gsoc2013-epiphany-3564d87bc51c44ac10645479f3523fff81d892f1.tar.zst gsoc2013-epiphany-3564d87bc51c44ac10645479f3523fff81d892f1.zip |
Add Toolbar toggle to document context menu in fullscreen mode.
2005-01-12 Christian Persch <chpe@cvs.gnome.org>
* data/ui/epiphany-ui.xml:
Add Toolbar toggle to document context menu in fullscreen mode.
* lib/egg/egg-editable-toolbar.c: (set_fixed_style),
(update_fixed), (egg_editable_toolbar_set_fixed):
* lib/egg/egg-editable-toolbar.h:
Changed to allow setting a toolbar as fixed, not just one item.
* lib/widgets/ephy-search-entry.h:
Add _ prefixed struct declarations.
* po/POTFILES.in:
Updated.
* src/Makefile.am:
A src/ephy-fullscreen-popup.c:
A src/ephy-fullscreen-popup.h:
* src/ephy-history-window.c:
* src/ephy-shell.c: (ephy_shell_new_tab):
A src/ephy-toolbar.c:
A src/ephy-toolbar.h:
* src/ephy-window.c: (destroy_fullscreen_popup),
(ephy_window_destroy), (exit_fullscreen_clicked_cb),
(get_toolbar_visibility), (sync_chromes_visibility),
(ephy_window_fullscreen), (ephy_window_unfullscreen),
(sync_tab_address), (sync_tab_icon), (sync_tab_navigation),
(sync_tab_security), (sync_tab_load_status), (sync_tab_zoom),
(show_embed_popup), (modal_alert_cb), (ephy_window_focus_in_event),
(ephy_window_focus_out_event), (ephy_window_init),
(ephy_window_activate_location):
R src/toolbar.c:
R src/toolbar.h:
* src/window-commands.c: (window_cmd_load_location):
Implemented in-toolbar exit button, and integrated status indicator in
the exit fullscreen popup. Moved toolbar.[ch] to ephy-toolbar.[ch] for
namespace correcness, and much-needed code cleanup.
Diffstat (limited to 'lib/widgets')
-rw-r--r-- | lib/widgets/ephy-location-entry.c | 4 | ||||
-rw-r--r-- | lib/widgets/ephy-location-entry.h | 4 | ||||
-rw-r--r-- | lib/widgets/ephy-search-entry.h | 28 |
3 files changed, 19 insertions, 17 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c index 889b23003..be5394692 100644 --- a/lib/widgets/ephy-location-entry.c +++ b/lib/widgets/ephy-location-entry.c @@ -1,8 +1,8 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright (C) 2002 Ricardo Fernández Pascual - * Copyright (C) 2003 Marco Pesenti Gritti - * Copyright (C) 2003 Christian Persch + * Copyright (C) 2003, 2004 Marco Pesenti Gritti + * Copyright (C) 2003, 2004, 2005 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 diff --git a/lib/widgets/ephy-location-entry.h b/lib/widgets/ephy-location-entry.h index c4a44addc..f8c8dfad0 100644 --- a/lib/widgets/ephy-location-entry.h +++ b/lib/widgets/ephy-location-entry.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2002 Ricardo Fernández Pascual - * Copyright (C) 2003 Marco Pesenti Gritti - * Copyright (C) 2003 Christian Persch + * Copyright (C) 2003, 2004 Marco Pesenti Gritti + * Copyright (C) 2003, 2004, 2005 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 diff --git a/lib/widgets/ephy-search-entry.h b/lib/widgets/ephy-search-entry.h index d641ac043..47e18280a 100644 --- a/lib/widgets/ephy-search-entry.h +++ b/lib/widgets/ephy-search-entry.h @@ -25,29 +25,31 @@ G_BEGIN_DECLS -#define EPHY_TYPE_SEARCH_ENTRY (ephy_search_entry_get_type ()) -#define EPHY_SEARCH_ENTRY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EPHY_TYPE_SEARCH_ENTRY, EphySearchEntry)) -#define EPHY_SEARCH_ENTRY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EPHY_TYPE_SEARCH_ENTRY, EphySearchEntryClass)) -#define EPHY_IS_SEARCH_ENTRY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EPHY_TYPE_SEARCH_ENTRY)) -#define EPHY_IS_SEARCH_ENTRY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_SEARCH_ENTRY)) -#define EPHY_SEARCH_ENTRY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_SEARCH_ENTRY, EphySearchEntryClass)) - -typedef struct _EphySearchEntryPrivate EphySearchEntryPrivate; - -typedef struct +#define EPHY_TYPE_SEARCH_ENTRY (ephy_search_entry_get_type ()) +#define EPHY_SEARCH_ENTRY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EPHY_TYPE_SEARCH_ENTRY, EphySearchEntry)) +#define EPHY_SEARCH_ENTRY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EPHY_TYPE_SEARCH_ENTRY, EphySearchEntryClass)) +#define EPHY_IS_SEARCH_ENTRY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EPHY_TYPE_SEARCH_ENTRY)) +#define EPHY_IS_SEARCH_ENTRY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_SEARCH_ENTRY)) +#define EPHY_SEARCH_ENTRY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_SEARCH_ENTRY, EphySearchEntryClass)) + +typedef struct _EphySearchEntry EphySearchEntry; +typedef struct _EphySearchEntryPrivate EphySearchEntryPrivate; +typedef struct _EphySearchEntryClass EphySearchEntryClass; + +struct _EphySearchEntry { GtkEntry parent; /*< private >*/ EphySearchEntryPrivate *priv; -} EphySearchEntry; +}; -typedef struct +struct _EphySearchEntryClass { GtkEntryClass parent; void (*search) (EphySearchEntry *view, const char *text); -} EphySearchEntryClass; +}; GType ephy_search_entry_get_type (void); |