[nautilus-actions] nact_providers_list_xxx are renamed to fma_providers_list_xxx



commit a9cedd12cbbf6efcb8a07f53b96fcc958154b8a8
Author: Pierre Wieser <pwieser trychlos org>
Date:   Tue Sep 8 20:27:30 2015 +0200

    nact_providers_list_xxx are renamed to fma_providers_list_xxx

 src/ui/Makefile.am                                 |    4 +-
 src/ui/fma-preferences-editor.c                    |   10 +++---
 ...{nact-providers-list.c => fma-providers-list.c} |   38 ++++++++++----------
 ...{nact-providers-list.h => fma-providers-list.h} |   14 ++++----
 4 files changed, 33 insertions(+), 33 deletions(-)
---
diff --git a/src/ui/Makefile.am b/src/ui/Makefile.am
index d9c1ca5..2fc3cd6 100644
--- a/src/ui/Makefile.am
+++ b/src/ui/Makefile.am
@@ -124,8 +124,8 @@ fma_config_tool_SOURCES = \
        fma-menu-view.h                                                                         \
        fma-preferences-editor.c                                                        \
        fma-preferences-editor.h                                                        \
-       nact-providers-list.c                                                           \
-       nact-providers-list.h                                                           \
+       fma-providers-list.c                                                            \
+       fma-providers-list.h                                                            \
        nact-schemes-list.c                                                                     \
        nact-schemes-list.h                                                                     \
        nact-sort-buttons.c                                                                     \
diff --git a/src/ui/fma-preferences-editor.c b/src/ui/fma-preferences-editor.c
index d5e3f64..771c504 100644
--- a/src/ui/fma-preferences-editor.c
+++ b/src/ui/fma-preferences-editor.c
@@ -50,7 +50,7 @@
 #include "base-gtk-utils.h"
 #include "fma-main-window.h"
 #include "nact-schemes-list.h"
-#include "nact-providers-list.h"
+#include "fma-providers-list.h"
 #include "fma-preferences-editor.h"
 
 /* private class data
@@ -399,7 +399,7 @@ instance_dispose( GObject *dialog )
                self->private->dispose_has_run = TRUE;
 
                nact_schemes_list_dispose( BASE_WINDOW( self ));
-               nact_providers_list_dispose( BASE_WINDOW( self ));
+               fma_providers_list_dispose( BASE_WINDOW( self ));
 
                /* chain up to the parent class */
                if( G_OBJECT_CLASS( st_parent_class )->dispose ){
@@ -498,7 +498,7 @@ on_base_initialize_gtk( FMAPreferencesEditor *editor, GtkDialog *toplevel, gpoin
                nact_schemes_list_create_model( listview, SCHEMES_LIST_FOR_PREFERENCES );
 
                listview = GTK_TREE_VIEW( base_window_get_widget( BASE_WINDOW( editor ), "ProvidersTreeView" 
));
-               nact_providers_list_create_model( listview );
+               fma_providers_list_create_model( listview );
 
 #if !GTK_CHECK_VERSION( 2,22,0 )
                gtk_dialog_set_has_separator( toplevel, FALSE );
@@ -574,7 +574,7 @@ on_base_initialize_window( FMAPreferencesEditor *editor, gpointer user_data )
                /* seventh tab: I/O providers priorities
                 */
                listview = GTK_TREE_VIEW( base_window_get_widget( BASE_WINDOW( editor ), "ProvidersTreeView" 
));
-               nact_providers_list_init_view( BASE_WINDOW( editor ), listview );
+               fma_providers_list_init_view( BASE_WINDOW( editor ), listview );
 
                /* dialog buttons
                 */
@@ -1269,6 +1269,6 @@ on_dialog_ok( BaseDialog *dialog )
 
                /* seventh tab: priorities of I/O providers
                 */
-               nact_providers_list_save( BASE_WINDOW( editor ));
+               fma_providers_list_save( BASE_WINDOW( editor ));
        }
 }
diff --git a/src/ui/nact-providers-list.c b/src/ui/fma-providers-list.c
similarity index 94%
rename from src/ui/nact-providers-list.c
rename to src/ui/fma-providers-list.c
index 26ac631..677842f 100644
--- a/src/ui/nact-providers-list.c
+++ b/src/ui/fma-providers-list.c
@@ -41,7 +41,7 @@
 
 #include "fma-application.h"
 #include "base-gtk-utils.h"
-#include "nact-providers-list.h"
+#include "fma-providers-list.h"
 
 /* column ordering
  */
@@ -80,8 +80,8 @@ typedef struct {
 }
        ProvidersListSaveData;
 
-#define PROVIDERS_LIST_DATA                            "nact-providers-list-data"
-#define PROVIDERS_LIST_TREEVIEW                        "nact-providers-list-treeview"
+#define PROVIDERS_LIST_DATA                            "fma-providers-list-data"
+#define PROVIDERS_LIST_TREEVIEW                        "fma-providers-list-treeview"
 
 static gboolean st_on_selection_change = FALSE;
 
@@ -103,16 +103,16 @@ static GtkButton         *get_down_button( BaseWindow *window );
 static ProvidersListData *get_providers_list_data( GtkTreeView *treeview );
 
 /**
- * nact_providers_list_create_model:
+ * fma_providers_list_create_model:
  * @treeview: the #GtkTreeView.
  *
  * Create the treeview model when initially loading the widget from
  * the UI manager.
  */
 void
-nact_providers_list_create_model( GtkTreeView *treeview )
+fma_providers_list_create_model( GtkTreeView *treeview )
 {
-       static const char *thisfn = "nact_providers_list_create_model";
+       static const char *thisfn = "fma_providers_list_create_model";
        GtkListStore *model;
        GtkCellRenderer *toggled_cell;
        GtkTreeViewColumn *column;
@@ -186,7 +186,7 @@ nact_providers_list_create_model( GtkTreeView *treeview )
 }
 
 /**
- * nact_providers_list_init_view:
+ * fma_providers_list_init_view:
  * @window: the parent #BaseWindow which embeds the view.
  * @treeview: the #GtkTreeView.
  *
@@ -194,9 +194,9 @@ nact_providers_list_create_model( GtkTreeView *treeview )
  * current default values.
  */
 void
-nact_providers_list_init_view( BaseWindow *window, GtkTreeView *treeview )
+fma_providers_list_init_view( BaseWindow *window, GtkTreeView *treeview )
 {
-       static const gchar *thisfn = "nact_providers_list_init_view";
+       static const gchar *thisfn = "fma_providers_list_init_view";
        ProvidersListData *data;
        FMAApplication *application;
        FMAUpdater *updater;
@@ -223,7 +223,7 @@ nact_providers_list_init_view( BaseWindow *window, GtkTreeView *treeview )
 static void
 init_view_setup_providers( GtkTreeView *treeview, BaseWindow *window )
 {
-       static const gchar *thisfn = "nact_providers_list_init_view_setup_providers";
+       static const gchar *thisfn = "fma_providers_list_init_view_setup_providers";
        FMAApplication *application;
        FMAUpdater *updater;
        GtkListStore *model;
@@ -341,15 +341,15 @@ init_view_select_first_row( GtkTreeView *treeview )
 }
 
 /**
- * nact_providers_list_save:
+ * fma_providers_list_save:
  * @window: the #BaseWindow which embeds this treeview.
  *
  * Save the I/O provider status as a user preference.
  */
 void
-nact_providers_list_save( BaseWindow *window )
+fma_providers_list_save( BaseWindow *window )
 {
-       static const gchar *thisfn = "nact_providers_list_save";
+       static const gchar *thisfn = "fma_providers_list_save";
        GtkTreeView *treeview;
        GtkTreeModel *model;
        ProvidersListSaveData *plsd;
@@ -399,15 +399,15 @@ providers_list_save_iter( GtkTreeModel *model, GtkTreePath *path, GtkTreeIter* i
 }
 
 /**
- * nact_providers_list_dispose:
+ * fma_providers_list_dispose:
  * @treeview: the #GtkTreeView.
  *
  * Release the content of the page when we are closing the Preferences dialog.
  */
 void
-nact_providers_list_dispose( BaseWindow *window )
+fma_providers_list_dispose( BaseWindow *window )
 {
-       static const gchar *thisfn = "nact_providers_list_dispose";
+       static const gchar *thisfn = "fma_providers_list_dispose";
        GtkTreeView *treeview;
        GtkTreeModel *model;
        GtkTreeSelection *selection;
@@ -439,7 +439,7 @@ on_selection_changed( GtkTreeSelection *selection, BaseWindow *window )
        ProvidersListData *data;
        GtkTreeView *treeview;
 
-       g_debug( "nact_providers_list_on_selection_changed: selection=%p, window=%p (%s)",
+       g_debug( "fma_providers_list_on_selection_changed: selection=%p, window=%p (%s)",
                        ( void * ) selection, ( void * ) window, G_OBJECT_TYPE_NAME( window ));
 
        may_up = FALSE;
@@ -475,7 +475,7 @@ on_selection_changed( GtkTreeSelection *selection, BaseWindow *window )
 static void
 on_readable_toggled( GtkCellRendererToggle *renderer, gchar *path_string, BaseWindow *window )
 {
-       static const gchar *thisfn = "nact_providers_list_on_readable_toggled";
+       static const gchar *thisfn = "fma_providers_list_on_readable_toggled";
        ProvidersListData *data;
        GtkTreeView *treeview;
        GtkTreeModel *model;
@@ -518,7 +518,7 @@ on_readable_toggled( GtkCellRendererToggle *renderer, gchar *path_string, BaseWi
 static void
 on_writable_toggled( GtkCellRendererToggle *renderer, gchar *path_string, BaseWindow *window )
 {
-       static const gchar *thisfn = "nact_providers_list_on_writable_toggled";
+       static const gchar *thisfn = "fma_providers_list_on_writable_toggled";
        GtkTreeView *treeview;
        ProvidersListData *data;
        GtkTreeModel *model;
diff --git a/src/ui/nact-providers-list.h b/src/ui/fma-providers-list.h
similarity index 76%
rename from src/ui/nact-providers-list.h
rename to src/ui/fma-providers-list.h
index 94c5184..3d53712 100644
--- a/src/ui/nact-providers-list.h
+++ b/src/ui/fma-providers-list.h
@@ -27,8 +27,8 @@
  *   ... and many others (see AUTHORS)
  */
 
-#ifndef __UI_NACT_PROVIDERS_LIST_H__
-#define __UI_NACT_PROVIDERS_LIST_H__
+#ifndef __UI_FMA_PROVIDERS_LIST_H__
+#define __UI_FMA_PROVIDERS_LIST_H__
 
 #include <gtk/gtk.h>
 
@@ -36,11 +36,11 @@
 
 G_BEGIN_DECLS
 
-void    nact_providers_list_create_model( GtkTreeView *treeview );
-void    nact_providers_list_init_view( BaseWindow *window, GtkTreeView *treeview );
-void    nact_providers_list_save( BaseWindow *window );
-void    nact_providers_list_dispose( BaseWindow *window );
+void    fma_providers_list_create_model( GtkTreeView *treeview );
+void    fma_providers_list_init_view( BaseWindow *window, GtkTreeView *treeview );
+void    fma_providers_list_save( BaseWindow *window );
+void    fma_providers_list_dispose( BaseWindow *window );
 
 G_END_DECLS
 
-#endif /* __UI_NACT_PROVIDERS_LIST_H__ */
+#endif /* __UI_FMA_PROVIDERS_LIST_H__ */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]