[anjuta] Change a function name in the commit dialog code for consistency.
- From: James Liggett <jrliggett src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjuta] Change a function name in the commit dialog code for consistency.
- Date: Sun, 3 May 2009 05:22:28 -0400 (EDT)
commit 4e5d0ae34f220ed9a8f73ee164035dc6ac11b27f
Author: James Liggett <jrliggett cox net>
Date: Sun May 3 02:13:06 2009 -0700
Change a function name in the commit dialog code for consistency.
Use on_commit_custom_author_info_check_toggled for the callback for the custom author checkbox.
Other functions local to their files are named like this, so this one should be too.
---
plugins/git/git-commit-dialog.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/git/git-commit-dialog.c b/plugins/git/git-commit-dialog.c
index 4d7c62e..1a88016 100644
--- a/plugins/git/git-commit-dialog.c
+++ b/plugins/git/git-commit-dialog.c
@@ -160,8 +160,8 @@ select_all_files (AnjutaCommand *command, guint return_code,
}
static void
-set_author_info_alignment_sensitive (GtkToggleButton *button,
- GtkWidget *commit_author_info_alignment)
+on_commit_custom_author_info_check_toggled (GtkToggleButton *button,
+ GtkWidget *commit_author_info_alignment)
{
gtk_widget_set_sensitive (commit_author_info_alignment,
gtk_toggle_button_get_active (button));
@@ -195,7 +195,7 @@ commit_dialog (Git *plugin)
GIT_STATUS_SECTION_MODIFIED);
g_signal_connect (G_OBJECT (commit_custom_author_info_check), "toggled",
- G_CALLBACK (set_author_info_alignment_sensitive),
+ G_CALLBACK (on_commit_custom_author_info_check_toggled),
commit_author_info_alignment);
g_signal_connect (G_OBJECT (commit_select_all_button), "clicked",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]