Commit a3ccdb82 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

libgimpwidgets/gimpfileentry.c libgimpwidgets/gimppatheditor.c moved

2003-12-18  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpfileentry.c
	* libgimpwidgets/gimppatheditor.c
	* libgimpwidgets/gimpunitmenu.c (*_class_init): moved signal
	documentation from the gtk-doc templates to comments.

	* libgimpwidgets/gimppatheditor.c (gimp_path_editor_set_path):
	emit the "path-changed" signal.

	* libgimpwidgets/gimppatheditor.[ch]: s/gpe/editor/g.

2003-12-18  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/tmpl/gimppatheditor.sgml
	* libgimpwidgets/tmpl/gimpunitmenu.sgml: removed signal
	documentation, it lives in the .c files now.

	* libgimpwidgets/tmpl/gimpwidgets.sgml: updated.
parent cfb6640e
2003-12-18 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimpfileentry.c
* libgimpwidgets/gimppatheditor.c
* libgimpwidgets/gimpunitmenu.c (*_class_init): moved signal
documentation from the gtk-doc templates to comments.
* libgimpwidgets/gimppatheditor.c (gimp_path_editor_set_path):
emit the "path-changed" signal.
* libgimpwidgets/gimppatheditor.[ch]: s/gpe/editor/g.
2003-12-17 Dave Neary <bolsh@gimp.org> 2003-12-17 Dave Neary <bolsh@gimp.org>
* libgimpwidgets/gimpwidgets.[ch]: Change randomize boolean to * libgimpwidgets/gimpwidgets.[ch]: Change randomize boolean to
2003-12-18 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/tmpl/gimppatheditor.sgml
* libgimpwidgets/tmpl/gimpunitmenu.sgml: removed signal
documentation, it lives in the .c files now.
* libgimpwidgets/tmpl/gimpwidgets.sgml: updated.
2003-12-16 Dave Neary <bolsh@gimp.org> 2003-12-16 Dave Neary <bolsh@gimp.org>
* */Makefile.am: Fixed syntax errors in makefiles. Oops. * */Makefile.am: Fixed syntax errors in makefiles. Oops.
......
...@@ -51,8 +51,10 @@ the search path, the "path_changed" signal will be emitted. ...@@ -51,8 +51,10 @@ the search path, the "path_changed" signal will be emitted.
</para> </para>
@gpe: @editor:
@Returns: @Returns:
<!-- # Unused Parameters # -->
@gpe:
<!-- ##### FUNCTION gimp_path_editor_set_path ##### --> <!-- ##### FUNCTION gimp_path_editor_set_path ##### -->
...@@ -60,14 +62,15 @@ the search path, the "path_changed" signal will be emitted. ...@@ -60,14 +62,15 @@ the search path, the "path_changed" signal will be emitted.
</para> </para>
@gpe: @editor:
@path: @path:
<!-- # Unused Parameters # -->
@gpe:
<!-- ##### SIGNAL GimpPathEditor::path-changed ##### --> <!-- ##### SIGNAL GimpPathEditor::path-changed ##### -->
<para> <para>
This signal is emitted whenever the user adds, deletes, modifies or
reorders an element of the search path.
</para> </para>
@gimppatheditor: the object which received the signal. @gimppatheditor: the object which received the signal.
......
...@@ -90,8 +90,7 @@ gimp_coordinates_new() ...@@ -90,8 +90,7 @@ gimp_coordinates_new()
<!-- ##### SIGNAL GimpUnitMenu::unit-changed ##### --> <!-- ##### SIGNAL GimpUnitMenu::unit-changed ##### -->
<para> <para>
This signal is emitted whenever the user selects a #GimpUnit from the
#GimpUnitMenu.
</para> </para>
@gimpunitmenu: the object which received the signal. @gimpunitmenu: the object which received the signal.
......
...@@ -301,6 +301,7 @@ Returns the #GtkAdjustment of the random_seed's #GtkSpinButton. ...@@ -301,6 +301,7 @@ Returns the #GtkAdjustment of the random_seed's #GtkSpinButton.
</para> </para>
@seed: @seed:
@random_seed:
@Returns: @Returns:
......
...@@ -104,6 +104,11 @@ gimp_file_entry_class_init (GimpFileEntryClass *klass) ...@@ -104,6 +104,11 @@ gimp_file_entry_class_init (GimpFileEntryClass *klass)
parent_class = g_type_class_peek_parent (klass); parent_class = g_type_class_peek_parent (klass);
/**
* GimpFileEntry::filename-changed:
*
* This signal is emitted whenever the user changes the filename.
**/
gimp_file_entry_signals[FILENAME_CHANGED] = gimp_file_entry_signals[FILENAME_CHANGED] =
g_signal_new ("filename_changed", g_signal_new ("filename_changed",
G_TYPE_FROM_CLASS (klass), G_TYPE_FROM_CLASS (klass),
......
This diff is collapsed.
...@@ -63,7 +63,7 @@ struct _GimpPathEditorClass ...@@ -63,7 +63,7 @@ struct _GimpPathEditorClass
{ {
GtkVBoxClass parent_class; GtkVBoxClass parent_class;
void (* path_changed) (GimpPathEditor *gpe); void (* path_changed) (GimpPathEditor *editor);
}; };
...@@ -74,8 +74,8 @@ GType gimp_path_editor_get_type (void) G_GNUC_CONST; ...@@ -74,8 +74,8 @@ GType gimp_path_editor_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_path_editor_new (const gchar *filesel_title, GtkWidget * gimp_path_editor_new (const gchar *filesel_title,
const gchar *path); const gchar *path);
gchar * gimp_path_editor_get_path (GimpPathEditor *gpe); gchar * gimp_path_editor_get_path (GimpPathEditor *editor);
void gimp_path_editor_set_path (GimpPathEditor *gpe, void gimp_path_editor_set_path (GimpPathEditor *editor,
const gchar *path); const gchar *path);
......
...@@ -104,6 +104,12 @@ gimp_unit_menu_class_init (GimpUnitMenuClass *klass) ...@@ -104,6 +104,12 @@ gimp_unit_menu_class_init (GimpUnitMenuClass *klass)
parent_class = g_type_class_peek_parent (klass); parent_class = g_type_class_peek_parent (klass);
/**
* GimpUnitMenu::unit-changed:
*
* This signal is emitted whenever the user selects a #GimpUnit from
* the #GimpUnitMenu.
**/
gimp_unit_menu_signals[UNIT_CHANGED] = gimp_unit_menu_signals[UNIT_CHANGED] =
g_signal_new ("unit_changed", g_signal_new ("unit_changed",
G_TYPE_FROM_CLASS (klass), G_TYPE_FROM_CLASS (klass),
......
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