Mercurial > geeqie
changeset 628:bbe8e71cdfb2
Fix help window title.
author | zas_ |
---|---|
date | Sun, 11 May 2008 11:46:48 +0000 |
parents | 2dc96f1fd83d |
children | 1fa2cb6d9d65 |
files | src/main.c |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main.c Sun May 11 11:44:58 2008 +0000 +++ b/src/main.c Sun May 11 11:46:48 2008 +0000 @@ -268,12 +268,9 @@ return; } - { - gchar *title = g_strdup_printf("%s - %s", _("Help"), GQ_APPNAME); - help_window = help_window_new(title, GQ_WMCLASS, "help", + help_window = help_window_new(_("Help"), GQ_WMCLASS, "help", GQ_HELPDIR "/README", key); - g_free(title); - } + g_signal_connect(G_OBJECT(help_window), "destroy", G_CALLBACK(help_window_destroy_cb), NULL); }