comparison src/main.c @ 628:bbe8e71cdfb2

Fix help window title.
author zas_
date Sun, 11 May 2008 11:46:48 +0000
parents 734b6b0a3356
children 1fa2cb6d9d65
comparison
equal deleted inserted replaced
627:2dc96f1fd83d 628:bbe8e71cdfb2
266 gtk_window_present(GTK_WINDOW(help_window)); 266 gtk_window_present(GTK_WINDOW(help_window));
267 if (key) help_window_set_key(help_window, key); 267 if (key) help_window_set_key(help_window, key);
268 return; 268 return;
269 } 269 }
270 270
271 { 271 help_window = help_window_new(_("Help"), GQ_WMCLASS, "help",
272 gchar *title = g_strdup_printf("%s - %s", _("Help"), GQ_APPNAME);
273 help_window = help_window_new(title, GQ_WMCLASS, "help",
274 GQ_HELPDIR "/README", key); 272 GQ_HELPDIR "/README", key);
275 g_free(title); 273
276 }
277 g_signal_connect(G_OBJECT(help_window), "destroy", 274 g_signal_connect(G_OBJECT(help_window), "destroy",
278 G_CALLBACK(help_window_destroy_cb), NULL); 275 G_CALLBACK(help_window_destroy_cb), NULL);
279 } 276 }
280 277
281 278