[emerillon] Call gtk_show_uri () to display user guide
- From: Łukasz Jernaś <ljernas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [emerillon] Call gtk_show_uri () to display user guide
- Date: Sun, 6 Jun 2010 20:01:04 +0000 (UTC)
commit 31125de9f6735fb459049b240a766091b84382b8
Author: Å?ukasz JernaÅ? <deejay1 srem org>
Date: Sun Jun 6 21:57:19 2010 +0200
Call gtk_show_uri () to display user guide
emerillon/window.c | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/emerillon/window.c b/emerillon/window.c
index 0dd6ce5..83d62c5 100644
--- a/emerillon/window.c
+++ b/emerillon/window.c
@@ -458,7 +458,16 @@ static void
cmd_help (GtkAction *action,
EmerillonWindow *self)
{
- g_printerr ("Sorry, help not available\n");
+ GError *error = NULL;
+
+ gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (self)), "ghelp:emerillon",
+ gtk_get_current_event_time (), &error);
+
+ if (error != NULL)
+ {
+ g_printerr ("Error opening help: %s\n", error->message);
+ g_error_free (error);
+ }
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]