summaryrefslogtreecommitdiff
path: root/src/file-manager
diff options
context:
space:
mode:
authorAlexander van der Meij <[email protected]>2014-08-29 20:52:13 +0200
committerStefano Karapetsas <[email protected]>2014-10-27 11:23:51 +0100
commit451eef9b275ce006b270a3569d96e531e24dd15a (patch)
treec69beecbd84db9fc21479f4b0b5c2246c466d819 /src/file-manager
parent2ce11c50a5f7cca914af7646cae5fb6d5362b5cf (diff)
downloadcaja-451eef9b275ce006b270a3569d96e531e24dd15a.tar.bz2
caja-451eef9b275ce006b270a3569d96e531e24dd15a.tar.xz
implementation of extension interface and status management (gsoc2014)
Diffstat (limited to 'src/file-manager')
-rw-r--r--src/file-manager/fm-directory-view.c3
-rw-r--r--src/file-manager/fm-properties-window.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c
index cbd950a3..eadb3750 100644
--- a/src/file-manager/fm-directory-view.c
+++ b/src/file-manager/fm-directory-view.c
@@ -59,6 +59,7 @@
#include <libcaja-private/caja-debug-log.h>
#include <libcaja-private/caja-desktop-icon-file.h>
#include <libcaja-private/caja-desktop-directory.h>
+#include <libcaja-private/caja-extensions.h>
#include <libcaja-private/caja-search-directory.h>
#include <libcaja-private/caja-directory-background.h>
#include <libcaja-private/caja-directory.h>
@@ -4801,7 +4802,7 @@ get_all_extension_menu_items (GtkWidget *window,
GList *providers;
GList *l;
- providers = caja_module_get_extensions_for_type (CAJA_TYPE_MENU_PROVIDER);
+ providers = caja_extensions_get_for_type (CAJA_TYPE_MENU_PROVIDER);
items = NULL;
for (l = providers; l != NULL; l = l->next) {
diff --git a/src/file-manager/fm-properties-window.c b/src/file-manager/fm-properties-window.c
index d348a08a..ddec36b9 100644
--- a/src/file-manager/fm-properties-window.c
+++ b/src/file-manager/fm-properties-window.c
@@ -45,6 +45,7 @@
#include <libmate-desktop/mate-desktop-thumbnail.h>
#include <libcaja-extension/caja-property-page-provider.h>
#include <libcaja-private/caja-entry.h>
+#include <libcaja-private/caja-extensions.h>
#include <libcaja-private/caja-file-attributes.h>
#include <libcaja-private/caja-file-operations.h>
#include <libcaja-private/caja-desktop-icon-file.h>
@@ -4959,7 +4960,7 @@ append_extension_pages (FMPropertiesWindow *window)
GList *providers;
GList *p;
- providers = caja_module_get_extensions_for_type (CAJA_TYPE_PROPERTY_PAGE_PROVIDER);
+ providers = caja_extensions_get_for_type (CAJA_TYPE_PROPERTY_PAGE_PROVIDER);
for (p = providers; p != NULL; p = p->next) {
CajaPropertyPageProvider *provider;