[gtranslator] Place the signal connections in the right place.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator] Place the signal connections in the right place.
- Date: Thu, 18 Feb 2010 11:53:51 +0000 (UTC)
commit aaa9cb8614753f2416dee0d76653f3bef2ff1ab1
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Thu Feb 18 12:52:47 2010 +0100
Place the signal connections in the right place.
src/dialogs/gtr-preferences-dialog.c | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
---
diff --git a/src/dialogs/gtr-preferences-dialog.c b/src/dialogs/gtr-preferences-dialog.c
index 2e0feb8..7adcdd1 100644
--- a/src/dialogs/gtr-preferences-dialog.c
+++ b/src/dialogs/gtr-preferences-dialog.c
@@ -749,6 +749,16 @@ setup_profile_pages (GtrPreferencesDialog *dlg)
gtk_tree_view_column_set_expand (name_column, TRUE);
fill_profile_treeview (dlg, GTK_TREE_MODEL (model));
+
+ /* Connect the signals */
+ g_signal_connect (dlg->priv->add_button,
+ "clicked", G_CALLBACK (add_button_clicked), dlg);
+
+ g_signal_connect (dlg->priv->delete_button,
+ "clicked", G_CALLBACK (delete_button_clicked), dlg);
+
+ g_signal_connect (dlg->priv->edit_button,
+ "clicked", G_CALLBACK (edit_button_clicked), dlg);
}
/***************Interface pages****************/
@@ -1276,15 +1286,6 @@ gtr_preferences_dialog_init (GtrPreferencesDialog * dlg)
gtk_container_set_border_width (GTK_CONTAINER (dlg->priv->notebook), 5);
- g_signal_connect (dlg->priv->add_button,
- "clicked", G_CALLBACK (add_button_clicked), dlg);
-
- g_signal_connect (dlg->priv->delete_button,
- "clicked", G_CALLBACK (delete_button_clicked), dlg);
-
- g_signal_connect (dlg->priv->edit_button,
- "clicked", G_CALLBACK (edit_button_clicked), dlg);
-
setup_files_pages (dlg);
setup_editor_pages (dlg);
setup_profile_pages (dlg);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]