[nautilus-actions/file-manager-actions] NACTAddSchemeDialog class is renamed to FMAAddSchemeDialog
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions/file-manager-actions] NACTAddSchemeDialog class is renamed to FMAAddSchemeDialog
- Date: Tue, 8 Sep 2015 18:58:56 +0000 (UTC)
commit 5bc40b14cbc01c5dfa2e7206ee6bf9a270cd26b5
Author: Pierre Wieser <pwieser trychlos org>
Date: Tue Sep 8 19:18:03 2015 +0200
NACTAddSchemeDialog class is renamed to FMAAddSchemeDialog
src/ui/fma-add-scheme-dialog.c | 52 ++++++++++++++++++++--------------------
src/ui/fma-add-scheme-dialog.h | 24 +++++++++---------
src/ui/nact-ischemes-tab.c | 2 +-
3 files changed, 39 insertions(+), 39 deletions(-)
---
diff --git a/src/ui/fma-add-scheme-dialog.c b/src/ui/fma-add-scheme-dialog.c
index ad3f856..6a050fa 100644
--- a/src/ui/fma-add-scheme-dialog.c
+++ b/src/ui/fma-add-scheme-dialog.c
@@ -74,7 +74,7 @@ static void send_ok( NactAddSchemeDialog *dialog );
static void on_dialog_ok( BaseDialog *dialog );
GType
-nact_add_scheme_dialog_get_type( void )
+fma_add_scheme_dialog_get_type( void )
{
static GType dialog_type = 0;
@@ -88,7 +88,7 @@ nact_add_scheme_dialog_get_type( void )
static GType
register_type( void )
{
- static const gchar *thisfn = "nact_add_scheme_dialog_register_type";
+ static const gchar *thisfn = "fma_add_scheme_dialog_register_type";
GType type;
static GTypeInfo info = {
@@ -113,7 +113,7 @@ register_type( void )
static void
class_init( NactAddSchemeDialogClass *klass )
{
- static const gchar *thisfn = "nact_add_scheme_dialog_class_init";
+ static const gchar *thisfn = "fma_add_scheme_dialog_class_init";
GObjectClass *object_class;
BaseDialogClass *dialog_class;
@@ -133,14 +133,14 @@ class_init( NactAddSchemeDialogClass *klass )
static void
instance_init( GTypeInstance *instance, gpointer klass )
{
- static const gchar *thisfn = "nact_add_scheme_dialog_instance_init";
+ static const gchar *thisfn = "fma_add_scheme_dialog_instance_init";
NactAddSchemeDialog *self;
- g_return_if_fail( NACT_IS_ADD_SCHEME_DIALOG( instance ));
+ g_return_if_fail( FMA_IS_ADD_SCHEME_DIALOG( instance ));
g_debug( "%s: instance=%p, klass=%p", thisfn, ( void * ) instance, ( void * ) klass );
- self = NACT_ADD_SCHEME_DIALOG( instance );
+ self = FMA_ADD_SCHEME_DIALOG( instance );
self->private = g_new0( NactAddSchemeDialogPrivate, 1 );
@@ -151,12 +151,12 @@ instance_init( GTypeInstance *instance, gpointer klass )
static void
instance_constructed( GObject *dialog )
{
- static const gchar *thisfn = "nact_add_scheme_dialog_instance_constructed";
+ static const gchar *thisfn = "fma_add_scheme_dialog_instance_constructed";
NactAddSchemeDialogPrivate *priv;
- g_return_if_fail( NACT_IS_ADD_SCHEME_DIALOG( dialog ));
+ g_return_if_fail( FMA_IS_ADD_SCHEME_DIALOG( dialog ));
- priv = NACT_ADD_SCHEME_DIALOG( dialog )->private;
+ priv = FMA_ADD_SCHEME_DIALOG( dialog )->private;
if( !priv->dispose_has_run ){
@@ -190,17 +190,17 @@ instance_constructed( GObject *dialog )
static void
instance_dispose( GObject *dialog )
{
- static const gchar *thisfn = "nact_add_scheme_dialog_instance_dispose";
+ static const gchar *thisfn = "fma_add_scheme_dialog_instance_dispose";
NactAddSchemeDialog *self;
GtkTreeView *listview;
GtkTreeModel *model;
GtkTreeSelection *selection;
- g_return_if_fail( NACT_IS_ADD_SCHEME_DIALOG( dialog ));
+ g_return_if_fail( FMA_IS_ADD_SCHEME_DIALOG( dialog ));
g_debug( "%s: dialog=%p (%s)", thisfn, ( void * ) dialog, G_OBJECT_TYPE_NAME( dialog ));
- self = NACT_ADD_SCHEME_DIALOG( dialog );
+ self = FMA_ADD_SCHEME_DIALOG( dialog );
if( !self->private->dispose_has_run ){
@@ -222,14 +222,14 @@ instance_dispose( GObject *dialog )
static void
instance_finalize( GObject *dialog )
{
- static const gchar *thisfn = "nact_add_scheme_dialog_instance_finalize";
+ static const gchar *thisfn = "fma_add_scheme_dialog_instance_finalize";
NactAddSchemeDialog *self;
- g_return_if_fail( NACT_IS_ADD_SCHEME_DIALOG( dialog ));
+ g_return_if_fail( FMA_IS_ADD_SCHEME_DIALOG( dialog ));
g_debug( "%s: dialog=%p (%s)", thisfn, ( void * ) dialog, G_OBJECT_TYPE_NAME( dialog ));
- self = NACT_ADD_SCHEME_DIALOG( dialog );
+ self = FMA_ADD_SCHEME_DIALOG( dialog );
fma_core_utils_slist_free( self->private->already_used );
g_free( self->private->scheme );
@@ -243,7 +243,7 @@ instance_finalize( GObject *dialog )
}
/**
- * nact_add_scheme_dialog_run:
+ * fma_add_scheme_dialog_run:
* @parent: the BaseWindow parent of this dialog
* (usually the NactMainWindow).
* @schemes: list of already used schemes.
@@ -254,9 +254,9 @@ instance_finalize( GObject *dialog )
* be g_free() by the caller, or NULL.
*/
gchar *
-nact_add_scheme_dialog_run( NactMainWindow *parent, GSList *schemes )
+fma_add_scheme_dialog_run( NactMainWindow *parent, GSList *schemes )
{
- static const gchar *thisfn = "nact_add_scheme_dialog_run";
+ static const gchar *thisfn = "fma_add_scheme_dialog_run";
NactAddSchemeDialog *dialog;
gchar *scheme;
@@ -264,7 +264,7 @@ nact_add_scheme_dialog_run( NactMainWindow *parent, GSList *schemes )
g_return_val_if_fail( GTK_IS_APPLICATION_WINDOW( parent ), NULL );
- dialog = g_object_new( NACT_TYPE_ADD_SCHEME_DIALOG,
+ dialog = g_object_new( FMA_TYPE_ADD_SCHEME_DIALOG,
BASE_PROP_MAIN_WINDOW, parent,
BASE_PROP_XMLUI_FILENAME, st_xmlui_filename,
BASE_PROP_TOPLEVEL_NAME, st_toplevel_name,
@@ -286,10 +286,10 @@ nact_add_scheme_dialog_run( NactMainWindow *parent, GSList *schemes )
static void
on_base_initialize_gtk( NactAddSchemeDialog *dialog, GtkDialog *toplevel, gpointer user_data )
{
- static const gchar *thisfn = "nact_add_scheme_dialog_on_base_initialize_gtk";
+ static const gchar *thisfn = "fma_add_scheme_dialog_on_base_initialize_gtk";
GtkTreeView *listview;
- g_return_if_fail( NACT_IS_ADD_SCHEME_DIALOG( dialog ));
+ g_return_if_fail( FMA_IS_ADD_SCHEME_DIALOG( dialog ));
if( !dialog->private->dispose_has_run ){
@@ -304,10 +304,10 @@ on_base_initialize_gtk( NactAddSchemeDialog *dialog, GtkDialog *toplevel, gpoint
static void
on_base_initialize_window( NactAddSchemeDialog *dialog, gpointer user_data )
{
- static const gchar *thisfn = "nact_add_scheme_dialog_on_base_initialize_window";
+ static const gchar *thisfn = "fma_add_scheme_dialog_on_base_initialize_window";
GtkTreeView *listview;
- g_return_if_fail( NACT_IS_ADD_SCHEME_DIALOG( dialog ));
+ g_return_if_fail( FMA_IS_ADD_SCHEME_DIALOG( dialog ));
if( !dialog->private->dispose_has_run ){
@@ -344,9 +344,9 @@ on_base_initialize_window( NactAddSchemeDialog *dialog, gpointer user_data )
static void
on_base_show_widgets( NactAddSchemeDialog *dialog, gpointer user_data )
{
- static const gchar *thisfn = "nact_add_scheme_dialog_on_base_show_widgets";
+ static const gchar *thisfn = "fma_add_scheme_dialog_on_base_show_widgets";
- g_return_if_fail( NACT_IS_ADD_SCHEME_DIALOG( dialog ));
+ g_return_if_fail( FMA_IS_ADD_SCHEME_DIALOG( dialog ));
if( !dialog->private->dispose_has_run ){
@@ -423,6 +423,6 @@ send_ok( NactAddSchemeDialog *dialog )
static void
on_dialog_ok( BaseDialog *dialog )
{
- NactAddSchemeDialog *editor = NACT_ADD_SCHEME_DIALOG( dialog );
+ NactAddSchemeDialog *editor = FMA_ADD_SCHEME_DIALOG( dialog );
editor->private->scheme = nact_schemes_list_get_current_scheme( BASE_WINDOW( dialog ));
}
diff --git a/src/ui/fma-add-scheme-dialog.h b/src/ui/fma-add-scheme-dialog.h
index c880ec3..4365383 100644
--- a/src/ui/fma-add-scheme-dialog.h
+++ b/src/ui/fma-add-scheme-dialog.h
@@ -27,11 +27,11 @@
* ... and many others (see AUTHORS)
*/
-#ifndef __UI_NACT_ADD_SCHEME_DIALOG_H__
-#define __UI_NACT_ADD_SCHEME_DIALOG_H__
+#ifndef __UI_FMA_ADD_SCHEME_DIALOG_H__
+#define __UI_FMA_ADD_SCHEME_DIALOG_H__
/**
- * SECTION: nact_add_scheme_dialog
+ * SECTION: fma_add_scheme_dialog
* @short_description: #NactAddSchemeDialog class definition.
* @include: nact/nact-add-scheme-dialog.h
*
@@ -44,12 +44,12 @@
G_BEGIN_DECLS
-#define NACT_TYPE_ADD_SCHEME_DIALOG ( nact_add_scheme_dialog_get_type())
-#define NACT_ADD_SCHEME_DIALOG( object ) ( G_TYPE_CHECK_INSTANCE_CAST( object,
NACT_TYPE_ADD_SCHEME_DIALOG, NactAddSchemeDialog ))
-#define NACT_ADD_SCHEME_DIALOG_CLASS( klass ) ( G_TYPE_CHECK_CLASS_CAST( klass,
NACT_TYPE_ADD_SCHEME_DIALOG, NactAddSchemeDialogClass ))
-#define NACT_IS_ADD_SCHEME_DIALOG( object ) ( G_TYPE_CHECK_INSTANCE_TYPE( object,
NACT_TYPE_ADD_SCHEME_DIALOG ))
-#define NACT_IS_ADD_SCHEME_DIALOG_CLASS( klass ) ( G_TYPE_CHECK_CLASS_TYPE(( klass ),
NACT_TYPE_ADD_SCHEME_DIALOG ))
-#define NACT_ADD_SCHEME_DIALOG_GET_CLASS( object ) ( G_TYPE_INSTANCE_GET_CLASS(( object ),
NACT_TYPE_ADD_SCHEME_DIALOG, NactAddSchemeDialogClass ))
+#define FMA_TYPE_ADD_SCHEME_DIALOG ( fma_add_scheme_dialog_get_type())
+#define FMA_ADD_SCHEME_DIALOG( object ) ( G_TYPE_CHECK_INSTANCE_CAST( object,
FMA_TYPE_ADD_SCHEME_DIALOG, NactAddSchemeDialog ))
+#define FMA_ADD_SCHEME_DIALOG_CLASS( klass ) ( G_TYPE_CHECK_CLASS_CAST( klass,
FMA_TYPE_ADD_SCHEME_DIALOG, NactAddSchemeDialogClass ))
+#define FMA_IS_ADD_SCHEME_DIALOG( object ) ( G_TYPE_CHECK_INSTANCE_TYPE( object,
FMA_TYPE_ADD_SCHEME_DIALOG ))
+#define FMA_IS_ADD_SCHEME_DIALOG_CLASS( klass ) ( G_TYPE_CHECK_CLASS_TYPE(( klass ),
FMA_TYPE_ADD_SCHEME_DIALOG ))
+#define FMA_ADD_SCHEME_DIALOG_GET_CLASS( object ) ( G_TYPE_INSTANCE_GET_CLASS(( object ),
FMA_TYPE_ADD_SCHEME_DIALOG, NactAddSchemeDialogClass ))
typedef struct _NactAddSchemeDialogPrivate NactAddSchemeDialogPrivate;
@@ -66,11 +66,11 @@ typedef struct {
}
NactAddSchemeDialogClass;
-GType nact_add_scheme_dialog_get_type( void );
+GType fma_add_scheme_dialog_get_type( void );
-gchar *nact_add_scheme_dialog_run ( NactMainWindow *parent,
+gchar *fma_add_scheme_dialog_run ( NactMainWindow *parent,
GSList
*schemes );
G_END_DECLS
-#endif /* __UI_NACT_ADD_SCHEME_DIALOG_H__ */
+#endif /* __UI_FMA_ADD_SCHEME_DIALOG_H__ */
diff --git a/src/ui/nact-ischemes-tab.c b/src/ui/nact-ischemes-tab.c
index 94586f7..f92fea7 100644
--- a/src/ui/nact-ischemes-tab.c
+++ b/src/ui/nact-ischemes-tab.c
@@ -240,7 +240,7 @@ on_add_from_defaults( GtkButton *button, NactISchemesTab *instance )
g_return_if_fail( context );
schemes = nact_match_list_get_rows( NACT_MAIN_WINDOW( instance ), ITAB_NAME );
- new_scheme = nact_add_scheme_dialog_run( NACT_MAIN_WINDOW( instance ), schemes );
+ new_scheme = fma_add_scheme_dialog_run( NACT_MAIN_WINDOW( instance ), schemes );
fma_core_utils_slist_free( schemes );
if( new_scheme ){
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]