mirror of https://github.com/GNOME/gimp.git
minor cleanups to my last commit
svn path=/trunk/; revision=26060
This commit is contained in:
parent
9a253efe4a
commit
d2d12997b2
app
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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__ */
|
||||
|
|
Loading…
Reference in New Issue