[nautilus-actions] BaseWindow: all_widgets_showed() renamed as show_widgets()
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] BaseWindow: all_widgets_showed() renamed as show_widgets()
- Date: Wed, 11 Jan 2012 22:11:14 +0000 (UTC)
commit f33caffb3039c397f456cf19283e57038d14515f
Author: Pierre Wieser <pwieser trychlos org>
Date: Wed Jan 11 22:59:28 2012 +0100
BaseWindow: all_widgets_showed() renamed as show_widgets()
This new name makes more sense as the virtual method is actually
called before gtk_widget_show_all().
ChangeLog | 3 +++
src/nact/base-window.c | 6 +++---
src/nact/base-window.h | 4 ++--
3 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c7bb60d..7816593 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2012-01-11 Pierre Wieser <pwieser trychlos org>
+ * src/nact/base-window.c:
+ * src/nact/base-window.h (all_widgets_showed): Renamed as show_widgets().
+
* src/nact/base-dialog.c:
* src/nact/base-dialog.h:
BASE_DIALOG_TYPE GType macro is renamed as BASE_TYPE_DIALOG.
diff --git a/src/nact/base-window.c b/src/nact/base-window.c
index e2bf927..c720cb4 100644
--- a/src/nact/base-window.c
+++ b/src/nact/base-window.c
@@ -249,7 +249,7 @@ class_init( BaseWindowClass *klass )
klass->initialize_gtk_toplevel = do_initialize_gtk_toplevel;
klass->initialize_base_window = do_initialize_base_window;
- klass->all_widgets_showed = do_show_widgets;
+ klass->show_widgets = do_show_widgets;
klass->run = NULL;
/**
@@ -860,8 +860,8 @@ on_show_widgets_class_handler( BaseWindow *window )
if( !window->private->dispose_has_run ){
g_debug( "%s: window=%p (%s)", thisfn, ( void * ) window, G_OBJECT_TYPE_NAME( window ));
- if( BASE_WINDOW_GET_CLASS( window )->all_widgets_showed ){
- BASE_WINDOW_GET_CLASS( window )->all_widgets_showed( window );
+ if( BASE_WINDOW_GET_CLASS( window )->show_widgets ){
+ BASE_WINDOW_GET_CLASS( window )->show_widgets( window );
}
}
}
diff --git a/src/nact/base-window.h b/src/nact/base-window.h
index f96b801..ff472f8 100644
--- a/src/nact/base-window.h
+++ b/src/nact/base-window.h
@@ -142,7 +142,7 @@ typedef struct {
void ( *initialize_base_window ) ( BaseWindow *window );
/**
- * all_widgets_showed:
+ * show_widgets:
* @window: this #BaseWindow instance.
*
* This virtual method is invoked at the end of initialization process,
@@ -154,7 +154,7 @@ typedef struct {
* The BaseWindow base class implementation of this method, which is
* so called last, will call gtk_widget_show_all() on the Gtk toplevel.
*/
- void ( *all_widgets_showed ) ( BaseWindow *window );
+ void ( *show_widgets ) ( BaseWindow *window );
/**
* run:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]