aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.c
diff options
context:
space:
mode:
authorCrispin Flowerday <gnome@flowerday.cx>2005-01-06 04:09:09 +0800
committerChristian Persch <chpe@src.gnome.org>2005-01-06 04:09:09 +0800
commita5d0e720fade615d0009a42d38b195a2db57b959 (patch)
tree680971bcad3fb63c103cdb282eba881d82aad6ba /embed/ephy-embed.c
parent41e8ca8d5152c7acf6e39070b49c8f3715110e8d (diff)
downloadgsoc2013-epiphany-a5d0e720fade615d0009a42d38b195a2db57b959.tar
gsoc2013-epiphany-a5d0e720fade615d0009a42d38b195a2db57b959.tar.gz
gsoc2013-epiphany-a5d0e720fade615d0009a42d38b195a2db57b959.tar.bz2
gsoc2013-epiphany-a5d0e720fade615d0009a42d38b195a2db57b959.tar.lz
gsoc2013-epiphany-a5d0e720fade615d0009a42d38b195a2db57b959.tar.xz
gsoc2013-epiphany-a5d0e720fade615d0009a42d38b195a2db57b959.tar.zst
gsoc2013-epiphany-a5d0e720fade615d0009a42d38b195a2db57b959.zip
Consistently start enum names with EPHY_*.
2005-01-05 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed-event.c: (ephy_embed_event_context_get_type): * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: (ephy_embed_persist_flags_get_type): * embed/ephy-embed-persist.h: * embed/ephy-embed.c: (ephy_embed_net_state_get_type), (ephy_embed_ppv_navigation_get_type), (ephy_embed_security_level_get_type), (ephy_embed_document_type_get_type): * embed/ephy-embed.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_address_expire_get_type), (ephy_tab_navigation_flags_get_type), (ephy_tab_set_property), (ephy_tab_class_init), (ephy_tab_get_document_type), (ephy_tab_address_cb), (update_net_state_message), (build_progress_from_requests), (ensure_page_info), (ephy_tab_net_state_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_init), (ephy_tab_update_navigation_flags), (ephy_tab_set_location), (ephy_tab_get_security_level): * src/ephy-tab.h: * src/ephy-window.c: (sync_tab_document_type), (sync_tab_navigation), (sync_tab_security), (sync_tab_zoom), (update_popups_tooltips), (show_embed_popup): * src/popup-commands.c: (popup_cmd_copy_link_address), (save_property_url), (popup_cmd_set_image_as_background), (save_temp_source): * src/ppview-toolbar.c: (toolbar_cmd_ppv_goto_first), (toolbar_cmd_ppv_goto_last), (toolbar_cmd_ppv_go_back), (toolbar_cmd_ppv_go_forward): * src/toolbar.c: (sync_user_input_cb): * src/window-commands.c: (window_cmd_file_save_as), (save_temp_source): Consistently start enum names with EPHY_*.
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r--embed/ephy-embed.c52
1 files changed, 26 insertions, 26 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 4b10947fa..b9789107e 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -38,16 +38,16 @@ ephy_embed_net_state_get_type (void)
{
static const GFlagsValue values[] =
{
- { EMBED_STATE_UNKNOWN, "EMBED_STATE_UNKNOWN", "unknown" },
- { EMBED_STATE_START, "EMBED_STATE_START", "start" },
- { EMBED_STATE_REDIRECTING, "EMBED_STATE_REDIRECTING", "redirecting" },
- { EMBED_STATE_TRANSFERRING, "EMBED_STATE_TRANSFERRING", "transferring" },
- { EMBED_STATE_NEGOTIATING, "EMBED_STATE_NEGOTIATING", "negotiating", },
- { EMBED_STATE_STOP, "EMBED_STATE_STOP", "stop" },
- { EMBED_STATE_IS_REQUEST, "EMBED_STATE_IS_REQUEST", "is-request" },
- { EMBED_STATE_IS_DOCUMENT, "EMBED_STATE_IS_DOCUMENT", "is-document" },
- { EMBED_STATE_IS_NETWORK, "EMBED_STATE_IS_NETWORK", "is-network" },
- { EMBED_STATE_IS_WINDOW, "EMBED_STATE_IS_WINDOW", "is-window" },
+ { EPHY_EMBED_STATE_UNKNOWN, "EPHY_EMBED_STATE_UNKNOWN", "unknown" },
+ { EPHY_EMBED_STATE_START, "EPHY_EMBED_STATE_START", "start" },
+ { EPHY_EMBED_STATE_REDIRECTING, "EPHY_EMBED_STATE_REDIRECTING", "redirecting" },
+ { EPHY_EMBED_STATE_TRANSFERRING, "EPHY_EMBED_STATE_TRANSFERRING", "transferring" },
+ { EPHY_EMBED_STATE_NEGOTIATING, "EPHY_EMBED_STATE_NEGOTIATING", "negotiating", },
+ { EPHY_EMBED_STATE_STOP, "EPHY_EMBED_STATE_STOP", "stop" },
+ { EPHY_EMBED_STATE_IS_REQUEST, "EPHY_EMBED_STATE_IS_REQUEST", "is-request" },
+ { EPHY_EMBED_STATE_IS_DOCUMENT, "EPHY_EMBED_STATE_IS_DOCUMENT", "is-document" },
+ { EPHY_EMBED_STATE_IS_NETWORK, "EPHY_EMBED_STATE_IS_NETWORK", "is-network" },
+ { EPHY_EMBED_STATE_IS_WINDOW, "EPHY_EMBED_STATE_IS_WINDOW", "is-window" },
{ 0, NULL, NULL }
};
@@ -88,11 +88,11 @@ ephy_embed_ppv_navigation_get_type (void)
{
static const GEnumValue values[] =
{
- { PRINTPREVIEW_GOTO_PAGENUM, "PRINTPREVIEW_GOTO_PAGENUM", "page-num" },
- { PRINTPREVIEW_PREV_PAGE, "PRINTPREVIEW_PREV_PAGE", "prev" },
- { PRINTPREVIEW_NEXT_PAGE, "PRINTPREVIEW_NEXT_PAGE", "next" },
- { PRINTPREVIEW_HOME, "PRINTPREVIEW_HOME", "home" },
- { PRINTPREVIEW_END, "PRINTPREVIEW_END", "end" },
+ { EPHY_EMBED_PRINTPREVIEW_GOTO_PAGENUM, "EPHY_EMBED_PRINTPREVIEW_GOTO_PAGENUM", "page-num" },
+ { EPHY_EMBED_PRINTPREVIEW_PREV_PAGE, "EPHY_EMBED_PRINTPREVIEW_PREV_PAGE", "prev" },
+ { EPHY_EMBED_PRINTPREVIEW_NEXT_PAGE, "EPHY_EMBED_PRINTPREVIEW_NEXT_PAGE", "next" },
+ { EPHY_EMBED_PRINTPREVIEW_HOME, "EPHY_EMBED_PRINTPREVIEW_HOME", "home" },
+ { EPHY_EMBED_PRINTPREVIEW_END, "EPHY_EMBED_PRINTPREVIEW_END", "end" },
{ 0, NULL, NULL }
};
@@ -111,12 +111,12 @@ ephy_embed_security_level_get_type (void)
{
static const GEnumValue values[] =
{
- { STATE_IS_UNKNOWN, "STATE_IS_UNKNOWN", "unknown" },
- { STATE_IS_INSECURE, "STATE_IS_INSECURE", "insecure" },
- { STATE_IS_BROKEN, "STATE_IS_BROKEN", "broken" },
- { STATE_IS_SECURE_LOW, "STATE_IS_SECURE_LOW", "low" },
- { STATE_IS_SECURE_MED, "STATE_IS_SECURE_MED", "medium" },
- { STATE_IS_SECURE_HIGH, "STATE_IS_SECURE_HIGH", "high" },
+ { EPHY_EMBED_STATE_IS_UNKNOWN, "EPHY_EMBED_STATE_IS_UNKNOWN", "unknown" },
+ { EPHY_EMBED_STATE_IS_INSECURE, "EPHY_EMBED_STATE_IS_INSECURE", "insecure" },
+ { EPHY_EMBED_STATE_IS_BROKEN, "EPHY_EMBED_STATE_IS_BROKEN", "broken" },
+ { EPHY_EMBED_STATE_IS_SECURE_LOW, "EPHY_EMBED_STATE_IS_SECURE_LOW", "low" },
+ { EPHY_EMBED_STATE_IS_SECURE_MED, "EPHY_EMBED_STATE_IS_SECURE_MED", "medium" },
+ { EPHY_EMBED_STATE_IS_SECURE_HIGH, "EPHY_EMBED_STATE_IS_SECURE_HIGH", "high" },
{ 0, NULL, NULL }
};
@@ -135,10 +135,10 @@ ephy_embed_document_type_get_type (void)
{
static const GEnumValue values[] =
{
- { EMBED_DOCUMENT_HTML, "EMBED_DOCUMENT_HTML", "html" },
- { EMBED_DOCUMENT_XML, "EMBED_DOCUMENT_XML", "xml" },
- { EMBED_DOCUMENT_IMAGE, "EMBED_DOCUMENT_IMAGE", "image" },
- { EMBED_DOCUMENT_OTHER, "EMBED_DOCUMENT_OTHER", "other" },
+ { EPHY_EMBED_DOCUMENT_HTML, "EPHY_EMBED_DOCUMENT_HTML", "html" },
+ { EPHY_EMBED_DOCUMENT_XML, "EPHY_EMBED_DOCUMENT_XML", "xml" },
+ { EPHY_EMBED_DOCUMENT_IMAGE, "EPHY_EMBED_DOCUMENT_IMAGE", "image" },
+ { EPHY_EMBED_DOCUMENT_OTHER, "EPHY_EMBED_DOCUMENT_OTHER", "other" },
{ 0, NULL, NULL }
};
@@ -939,7 +939,7 @@ ephy_embed_print_preview_n_pages (EphyEmbed *embed)
* ephy_embed_print_preview_navigate:
* @embed: an #EphyEmbed
* @type: an #EphyPrintPreviewNavType which determines where to navigate
- * @page: if @type is %PRINTPREVIEW_GOTO_PAGENUM, the desired page number
+ * @page: if @type is %EPHY_EMBED_PRINTPREVIEW_GOTO_PAGENUM, the desired page number
*
* Navigates @embed's print preview.
**/