Commit 852a7822 authored by Pierre Wieser's avatar Pierre Wieser

NactPreferencesEditor class is renamed to FMAPreferencesEditor

parent e5b51083
......@@ -122,8 +122,8 @@ fma_config_tool_SOURCES = \
fma-menu-file.h \
fma-menu-view.c \
fma-menu-view.h \
nact-preferences-editor.c \
nact-preferences-editor.h \
fma-preferences-editor.c \
fma-preferences-editor.h \
nact-providers-list.c \
nact-providers-list.h \
nact-schemes-list.c \
......@@ -162,7 +162,7 @@ ui_files = \
fma-icon-chooser.ui \
nact-legend.ui \
fma-main-window.ui \
nact-preferences.ui \
fma-preferences.ui \
nact-toolbar.ui \
$(NULL)
......
......@@ -45,7 +45,7 @@
#include "fma-menu-maintainer.h"
#include "fma-menu-tools.h"
*/
#include "nact-preferences-editor.h"
#include "fma-preferences-editor.h"
#include "nact-tree-view.h"
static const gchar *st_uixml_actions = PKGUIDIR "/fma-ui.actions";
......@@ -280,7 +280,7 @@ on_app_preferences( GSimpleAction *action, GVariant *parameter, gpointer user_da
window = gtk_application_get_active_window( GTK_APPLICATION( user_data ));
g_return_if_fail( window && FMA_IS_MAIN_WINDOW( window ));
nact_preferences_editor_run( FMA_MAIN_WINDOW( window ));
fma_preferences_editor_run( FMA_MAIN_WINDOW( window ));
}
static void
......
......@@ -27,13 +27,13 @@
* ... and many others (see AUTHORS)
*/
#ifndef __UI_NACT_PREFERENCES_EDITOR_H__
#define __UI_NACT_PREFERENCES_EDITOR_H__
#ifndef __UI_FMA_PREFERENCES_EDITOR_H__
#define __UI_FMA_PREFERENCES_EDITOR_H__
/**
* SECTION: nact_preferences_editor
* @short_description: #NactPreferencesEditor class definition.
* @include: ui/nact-preferences-editor.h
* SECTION: fma_preferences_editor
* @short_description: #FMAPreferencesEditor class definition.
* @include: ui/fma-preferences-editor.h
*
* This class is derived from NactWindow.
* It encapsulates the "PreferencesDialog" widget dialog.
......@@ -44,32 +44,32 @@
G_BEGIN_DECLS
#define NACT_TYPE_PREFERENCES_EDITOR ( nact_preferences_editor_get_type())
#define NACT_PREFERENCES_EDITOR( object ) ( G_TYPE_CHECK_INSTANCE_CAST( object, NACT_TYPE_PREFERENCES_EDITOR, NactPreferencesEditor ))
#define NACT_PREFERENCES_EDITOR_CLASS( klass ) ( G_TYPE_CHECK_CLASS_CAST( klass, NACT_TYPE_PREFERENCES_EDITOR, NactPreferencesEditorClass ))
#define NACT_IS_PREFERENCES_EDITOR( object ) ( G_TYPE_CHECK_INSTANCE_TYPE( object, NACT_TYPE_PREFERENCES_EDITOR ))
#define NACT_IS_PREFERENCES_EDITOR_CLASS( klass ) ( G_TYPE_CHECK_CLASS_TYPE(( klass ), NACT_TYPE_PREFERENCES_EDITOR ))
#define NACT_PREFERENCES_EDITOR_GET_CLASS( object ) ( G_TYPE_INSTANCE_GET_CLASS(( object ), NACT_TYPE_PREFERENCES_EDITOR, NactPreferencesEditorClass ))
#define FMA_TYPE_PREFERENCES_EDITOR ( fma_preferences_editor_get_type())
#define FMA_PREFERENCES_EDITOR( object ) ( G_TYPE_CHECK_INSTANCE_CAST( object, FMA_TYPE_PREFERENCES_EDITOR, FMAPreferencesEditor ))
#define FMA_PREFERENCES_EDITOR_CLASS( klass ) ( G_TYPE_CHECK_CLASS_CAST( klass, FMA_TYPE_PREFERENCES_EDITOR, FMAPreferencesEditorClass ))
#define FMA_IS_PREFERENCES_EDITOR( object ) ( G_TYPE_CHECK_INSTANCE_TYPE( object, FMA_TYPE_PREFERENCES_EDITOR ))
#define FMA_IS_PREFERENCES_EDITOR_CLASS( klass ) ( G_TYPE_CHECK_CLASS_TYPE(( klass ), FMA_TYPE_PREFERENCES_EDITOR ))
#define FMA_PREFERENCES_EDITOR_GET_CLASS( object ) ( G_TYPE_INSTANCE_GET_CLASS(( object ), FMA_TYPE_PREFERENCES_EDITOR, FMAPreferencesEditorClass ))
typedef struct _NactPreferencesEditorPrivate NactPreferencesEditorPrivate;
typedef struct _FMAPreferencesEditorPrivate FMAPreferencesEditorPrivate;
typedef struct {
/*< private >*/
BaseDialog parent;
NactPreferencesEditorPrivate *private;
BaseDialog parent;
FMAPreferencesEditorPrivate *private;
}
NactPreferencesEditor;
FMAPreferencesEditor;
typedef struct {
/*< private >*/
BaseDialogClass parent;
BaseDialogClass parent;
}
NactPreferencesEditorClass;
FMAPreferencesEditorClass;
GType nact_preferences_editor_get_type( void );
GType fma_preferences_editor_get_type( void );
void nact_preferences_editor_run ( FMAMainWindow *main_window );
void fma_preferences_editor_run ( FMAMainWindow *main_window );
G_END_DECLS
#endif /* __UI_NACT_PREFERENCES_EDITOR_H__ */
#endif /* __UI_FMA_PREFERENCES_EDITOR_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment