[glom/glom-1-30] show_help(): Actually use the ID.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom/glom-1-30] show_help(): Actually use the ID.
- Date: Thu, 10 Mar 2016 11:17:32 +0000 (UTC)
commit 8e5e032ff189062974abac7ca07e725ac435659f
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Mar 8 09:19:06 2016 +0100
show_help(): Actually use the ID.
See bug #763250
However, see yelp bug #763294 .
glom/utils_ui.cc | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/glom/utils_ui.cc b/glom/utils_ui.cc
index 8eec7dc..ee4cd06 100644
--- a/glom/utils_ui.cc
+++ b/glom/utils_ui.cc
@@ -121,7 +121,7 @@ void UiUtils::show_help(Gtk::Window* parent_window, const Glib::ustring& id)
//TODO: Check that this actually works for any dialog that has an ID in the help files.
Glib::ustring uri = "help:glom";
if (!id.empty())
- uri + "/" + id;
+ uri += "/" + id;
try
{
@@ -131,7 +131,6 @@ void UiUtils::show_help(Gtk::Window* parent_window, const Glib::ustring& id)
if(parent_window)
screen = parent_window->get_screen();
- std::cout << "debug: opening URI:" << uri << std::endl;
if(!gtk_show_uri(screen ? screen->gobj() : nullptr,
uri.c_str(), GDK_CURRENT_TIME, &gerror))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]