From d2d12997b28780850c75d1da5d94fa9131853344 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Fri, 4 Jul 2008 21:49:17 +0000 Subject: [PATCH] minor cleanups to my last commit svn path=/trunk/; revision=26060 --- app/dialogs/preferences-dialog.c | 3 ++- app/widgets/gimphelp.c | 7 ++++--- app/widgets/gimphelp.h | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/dialogs/preferences-dialog.c b/app/dialogs/preferences-dialog.c index c977c77270..4bfc787fb0 100644 --- a/app/dialogs/preferences-dialog.c +++ b/app/dialogs/preferences-dialog.c @@ -1814,7 +1814,7 @@ prefs_dialog_new (Gimp *gimp, GTK_TABLE (table), 0, size_group); gimp_help_set_help_data (combo, NULL, NULL); - dir = gimp_help_get_manual_location (); + dir = gimp_help_get_user_manual_location (); if (g_file_test (dir, G_FILE_TEST_IS_DIR)) { @@ -1843,6 +1843,7 @@ prefs_dialog_new (Gimp *gimp, gtk_widget_set_size_request (label, width - 20, -1); gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); + gtk_box_pack_start (GTK_BOX (hbox), label, TRUE, TRUE, 0); gtk_widget_show (label); diff --git a/app/widgets/gimphelp.c b/app/widgets/gimphelp.c index 60a12b86dd..da26934652 100644 --- a/app/widgets/gimphelp.c +++ b/app/widgets/gimphelp.c @@ -128,7 +128,7 @@ gimp_help_show (Gimp *gimp, } gchar * -gimp_help_get_manual_location (void) +gimp_help_get_user_manual_location (void) { return g_build_filename (gimp_data_directory (), "help", NULL); } @@ -246,7 +246,8 @@ gimp_help_browser (Gimp *gimp) { gimp_help_browser_error (gimp, _("Help browser doesn't start"), - _("Could not start the GIMP help browser plug-in."), + _("Could not start the GIMP help browser " + "plug-in."), NULL); busy = FALSE; @@ -460,7 +461,7 @@ gimp_help_get_default_domain_uri (Gimp *gimp) if (config->user_manual_online) return g_strdup (config->user_manual_online_uri); - dir = gimp_help_get_manual_location (); + dir = gimp_help_get_user_manual_location (); uri = g_filename_to_uri (dir, NULL, NULL); g_free (dir); diff --git a/app/widgets/gimphelp.h b/app/widgets/gimphelp.h index 4c28f3e66f..f9ff6ec33f 100644 --- a/app/widgets/gimphelp.h +++ b/app/widgets/gimphelp.h @@ -35,7 +35,7 @@ void gimp_help_show (Gimp *gimp, /* returns the folder where the user manual should be installed */ -gchar * gimp_help_get_manual_location (void); +gchar * gimp_help_get_user_manual_location (void); #endif /* __GIMP_HELP_H__ */