summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/pynb/core-ui.c4
-rw-r--r--plugins/pynb/panel.c2
-rw-r--r--plugins/pynb/params.c2
-rw-r--r--plugins/pynb/prefs-int.h4
-rw-r--r--plugins/pynb/prefs.c34
-rw-r--r--plugins/pynb/prefs.h4
6 files changed, 25 insertions, 25 deletions
diff --git a/plugins/pynb/core-ui.c b/plugins/pynb/core-ui.c
index 489284c..dd49a83 100644
--- a/plugins/pynb/core-ui.c
+++ b/plugins/pynb/core-ui.c
@@ -81,7 +81,7 @@ static tweak_info_t *g_python_notebook_plugin_ui_get_tweak_info(const GTweakable
/* ---------------------------------------------------------------------------------- */
-/* Indique le type défini pour un greffon de liaison Python */
+/* Indique le type défini pour une présentation de notes texte et code Python. */
G_DEFINE_TYPE_WITH_CODE(GPythonNotebookPluginUI, g_python_notebook_plugin_ui, G_TYPE_NATIVE_PLUGIN,
G_IMPLEMENT_INTERFACE(G_TYPE_TWEAKABLE_PLUGIN, g_python_notebook_plugin_ui_tweakable_plugin_interface_init));
@@ -350,7 +350,7 @@ static tweak_info_t *g_python_notebook_plugin_ui_get_tweak_info(const GTweakable
tweak_info_t infos[] = {
TWEAK_SIMPLE_DEF("root", "Basics",
- "pynb-symbolic", "pynotebook", "Notebook", GTK_TYPE_PYTHON_NOTEBOOK_PANEL_PANEL),
+ "pynb-symbolic", "pynotebook", "Notebook", GTK_TYPE_PYTHON_NOTEBOOK_TWEAK_PANEL),
};
*count = 1;
diff --git a/plugins/pynb/panel.c b/plugins/pynb/panel.c
index 1b4b3e3..8ce9cdb 100644
--- a/plugins/pynb/panel.c
+++ b/plugins/pynb/panel.c
@@ -62,7 +62,7 @@ static void gtk_python_notebook_panel_finalize(GObject *);
/* ---------------------------------------------------------------------------------- */
-/* Indique le type défini pour un panneau d'accueil. */
+/* Indique le type défini pour un panneau de présentation de notes. */
G_DEFINE_TYPE(GtkPythonNotebookPanel, gtk_python_notebook_panel, GTK_TYPE_TILED_PANEL);
diff --git a/plugins/pynb/params.c b/plugins/pynb/params.c
index 3a6bf70..690ff95 100644
--- a/plugins/pynb/params.c
+++ b/plugins/pynb/params.c
@@ -48,7 +48,7 @@ static void gtk_python_notebook_parameters_on_create_clicked(GtkButton *, GtkPyt
-/* Détermine le type du composant d'édition des paramètres de chargement. */
+/* Indique le type du composant d'édition des paramètres de chargement. */
G_DEFINE_TYPE(GtkPythonNotebookParameters, gtk_python_notebook_parameters, GTK_TYPE_GRID);
diff --git a/plugins/pynb/prefs-int.h b/plugins/pynb/prefs-int.h
index 9ce579e..9c44c68 100644
--- a/plugins/pynb/prefs-int.h
+++ b/plugins/pynb/prefs-int.h
@@ -29,14 +29,14 @@
-/* Fenêtre d'édition générale de la configuration (instance) */
+/* Composant d'édition des paramètres liés aux notes (instance) */
struct _GtkPythonNotebookTweakPanel
{
GtkBox parent; /* A laisser en premier */
};
-/* Fenêtre d'édition générale de la configuration (classe) */
+/* Composant d'édition des paramètres liés aux notes (classe) */
struct _GtkPythonNotebookTweakPanelClass
{
GtkBoxClass parent; /* A laisser en premier */
diff --git a/plugins/pynb/prefs.c b/plugins/pynb/prefs.c
index 952f6c8..9363e9b 100644
--- a/plugins/pynb/prefs.c
+++ b/plugins/pynb/prefs.c
@@ -1,6 +1,6 @@
/* Chrysalide - Outil d'analyse de fichiers binaires
- * prefs.h - configuration des paramètres liés aux notes
+ * prefs.c - configuration des paramètres liés aux notes
*
* Copyright (C) 2025 Cyrille Bagard
*
@@ -32,21 +32,21 @@
/* Procède à l'initialisation de classe des configurations. */
-static void gtk_python_notebook_panel_panel_class_init(GtkPythonNotebookTweakPanelClass *);
+static void gtk_python_notebook_tweak_panel_class_init(GtkPythonNotebookTweakPanelClass *);
/* Procède à l'initialisation des configurations de sécurité. */
-static void gtk_python_notebook_panel_panel_init(GtkPythonNotebookTweakPanel *);
+static void gtk_python_notebook_tweak_panel_init(GtkPythonNotebookTweakPanel *);
/* Supprime toutes les références externes. */
-static void gtk_python_notebook_panel_panel_dispose(GObject *);
+static void gtk_python_notebook_tweak_panel_dispose(GObject *);
/* Procède à la libération totale de la mémoire. */
-static void gtk_python_notebook_panel_panel_finalize(GObject *);
+static void gtk_python_notebook_tweak_panel_finalize(GObject *);
-/* Détermine le type du composant de configuration des notes. */
-G_DEFINE_TYPE(GtkPythonNotebookTweakPanel, gtk_python_notebook_panel_panel, GTK_TYPE_BOX);
+/* Indique le type du composant de configuration des notes. */
+G_DEFINE_TYPE(GtkPythonNotebookTweakPanel, gtk_python_notebook_tweak_panel, GTK_TYPE_BOX);
/******************************************************************************
@@ -61,15 +61,15 @@ G_DEFINE_TYPE(GtkPythonNotebookTweakPanel, gtk_python_notebook_panel_panel, GTK_
* *
******************************************************************************/
-static void gtk_python_notebook_panel_panel_class_init(GtkPythonNotebookTweakPanelClass *class)
+static void gtk_python_notebook_tweak_panel_class_init(GtkPythonNotebookTweakPanelClass *class)
{
GObjectClass *object; /* Plus haut niveau équivalent */
GtkWidgetClass *widget; /* Classe de haut niveau */
object = G_OBJECT_CLASS(class);
- object->dispose = gtk_python_notebook_panel_panel_dispose;
- object->finalize = gtk_python_notebook_panel_panel_finalize;
+ object->dispose = gtk_python_notebook_tweak_panel_dispose;
+ object->finalize = gtk_python_notebook_tweak_panel_finalize;
widget = GTK_WIDGET_CLASS(class);
@@ -77,7 +77,7 @@ static void gtk_python_notebook_panel_panel_class_init(GtkPythonNotebookTweakPan
/* Stockage sécurisé */
- //gtk_widget_class_bind_template_callback_full(widget, BUILDER_CB(gtk_python_notebook_panel_panel_on_new_passwords_changed));
+ //gtk_widget_class_bind_template_callback_full(widget, BUILDER_CB(gtk_python_notebook_tweak_panel_on_new_passwords_changed));
//gtk_widget_class_bind_template_child(widget, GtkPythonNotebookTweakPanel, current_primary_passwd);
@@ -96,7 +96,7 @@ static void gtk_python_notebook_panel_panel_class_init(GtkPythonNotebookTweakPan
* *
******************************************************************************/
-static void gtk_python_notebook_panel_panel_init(GtkPythonNotebookTweakPanel *panel)
+static void gtk_python_notebook_tweak_panel_init(GtkPythonNotebookTweakPanel *panel)
{
gtk_widget_init_template(GTK_WIDGET(panel));
@@ -115,11 +115,11 @@ static void gtk_python_notebook_panel_panel_init(GtkPythonNotebookTweakPanel *pa
* *
******************************************************************************/
-static void gtk_python_notebook_panel_panel_dispose(GObject *object)
+static void gtk_python_notebook_tweak_panel_dispose(GObject *object)
{
- gtk_widget_dispose_template(GTK_WIDGET(object), GTK_TYPE_PYTHON_NOTEBOOK_PANEL_PANEL);
+ gtk_widget_dispose_template(GTK_WIDGET(object), GTK_TYPE_PYTHON_NOTEBOOK_TWEAK_PANEL);
- G_OBJECT_CLASS(gtk_python_notebook_panel_panel_parent_class)->dispose(object);
+ G_OBJECT_CLASS(gtk_python_notebook_tweak_panel_parent_class)->dispose(object);
}
@@ -136,8 +136,8 @@ static void gtk_python_notebook_panel_panel_dispose(GObject *object)
* *
******************************************************************************/
-static void gtk_python_notebook_panel_panel_finalize(GObject *object)
+static void gtk_python_notebook_tweak_panel_finalize(GObject *object)
{
- G_OBJECT_CLASS(gtk_python_notebook_panel_panel_parent_class)->finalize(object);
+ G_OBJECT_CLASS(gtk_python_notebook_tweak_panel_parent_class)->finalize(object);
}
diff --git a/plugins/pynb/prefs.h b/plugins/pynb/prefs.h
index 9a20281..6551983 100644
--- a/plugins/pynb/prefs.h
+++ b/plugins/pynb/prefs.h
@@ -32,9 +32,9 @@
-#define GTK_TYPE_PYTHON_NOTEBOOK_PANEL_PANEL (gtk_python_notebook_panel_panel_get_type())
+#define GTK_TYPE_PYTHON_NOTEBOOK_TWEAK_PANEL (gtk_python_notebook_tweak_panel_get_type())
-DECLARE_GTYPE(GtkPythonNotebookTweakPanel, gtk_python_notebook_panel_panel, GTK, PYTHON_NOTEBOOK_PANEL_PANEL);
+DECLARE_GTYPE(GtkPythonNotebookTweakPanel, gtk_python_notebook_tweak_panel, GTK, PYTHON_NOTEBOOK_TWEAK_PANEL);