aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-extensions-manager.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-09-24 05:32:09 +0800
committerChristian Persch <chpe@src.gnome.org>2005-09-24 05:32:09 +0800
commitde6e56efdb6053b813cc25b4e134f7b5be1db701 (patch)
tree6c31bb82c8a1b5d80ab8d071f5e365168a5ab7a2 /src/ephy-extensions-manager.c
parent21fc7031a88fc32183cc4e12c00e8a0768b144f6 (diff)
downloadgsoc2013-epiphany-de6e56efdb6053b813cc25b4e134f7b5be1db701.tar
gsoc2013-epiphany-de6e56efdb6053b813cc25b4e134f7b5be1db701.tar.gz
gsoc2013-epiphany-de6e56efdb6053b813cc25b4e134f7b5be1db701.tar.bz2
gsoc2013-epiphany-de6e56efdb6053b813cc25b4e134f7b5be1db701.tar.lz
gsoc2013-epiphany-de6e56efdb6053b813cc25b4e134f7b5be1db701.tar.xz
gsoc2013-epiphany-de6e56efdb6053b813cc25b4e134f7b5be1db701.tar.zst
gsoc2013-epiphany-de6e56efdb6053b813cc25b4e134f7b5be1db701.zip
s/DOT_INIT/DOT_INI/g.
2005-09-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-extensions-manager.c: s/DOT_INIT/DOT_INI/g.
Diffstat (limited to 'src/ephy-extensions-manager.c')
-rw-r--r--src/ephy-extensions-manager.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ephy-extensions-manager.c b/src/ephy-extensions-manager.c
index 407660871..e571859ff 100644
--- a/src/ephy-extensions-manager.c
+++ b/src/ephy-extensions-manager.c
@@ -53,7 +53,7 @@
#endif
#define CONF_LOADED_EXTENSIONS "/apps/epiphany/general/active_extensions"
-#define DOT_INIT ".ephy-extension"
+#define DOT_INI ".ephy-extension"
#define EPHY_EXTENSIONS_MANAGER_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), EPHY_TYPE_EXTENSIONS_MANAGER, EphyExtensionsManagerPrivate))
@@ -769,7 +769,7 @@ path_to_identifier (const char *path)
char *identifier, *dot;
identifier = g_path_get_basename (path);
- dot = strstr (identifier, DOT_INIT);
+ dot = strstr (identifier, DOT_INI);
if (!dot)
{
@@ -804,7 +804,7 @@ ephy_extensions_manager_load_file (EphyExtensionsManager *manager,
identifier = path_to_identifier (path);
g_return_if_fail (identifier != NULL);
- if (g_str_has_suffix (path, DOT_INIT))
+ if (g_str_has_suffix (path, DOT_INI))
{
ephy_extensions_manager_load_ini_string (manager, identifier,
contents);
@@ -1188,7 +1188,7 @@ load_file_from_monitor (EphyExtensionsManager *manager,
return;
}
- if (g_str_has_suffix (path, DOT_INIT))
+ if (g_str_has_suffix (path, DOT_INI))
{
ephy_extensions_manager_load_ini_string (manager,
identifier, contents);
@@ -1218,7 +1218,7 @@ dir_changed_cb (GnomeVFSMonitorHandle *handle,
* We only deal with XML and INI files:
* Add them to the manager when created, remove them when deleted.
*/
- if (g_str_has_suffix (info_uri, DOT_INIT) == FALSE &&
+ if (g_str_has_suffix (info_uri, DOT_INI) == FALSE &&
g_str_has_suffix (info_uri, ".xml") == FALSE) return;
path = gnome_vfs_get_local_path_from_uri (info_uri);
@@ -1261,7 +1261,7 @@ ephy_extensions_manager_load_dir (EphyExtensionsManager *manager,
}
while ((e = readdir (d)) != NULL)
{
- if (g_str_has_suffix (e->d_name, DOT_INIT) ||
+ if (g_str_has_suffix (e->d_name, DOT_INI) ||
g_str_has_suffix (e->d_name, ".xml"))
{
file_path = g_build_filename (path, e->d_name, NULL);