[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Sun, 20 Mar 2022 04:55:07 -0400 (EDT) |
branch: master
commit 85665654040217be87badc0fae7edd436b0ee624
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun May 12 12:02:47 2019 +0100
hide index lookup box after selection
---
js/wkinfo/main.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/js/wkinfo/main.c b/js/wkinfo/main.c
index dd0fab9bda..a16ad606a1 100644
--- a/js/wkinfo/main.c
+++ b/js/wkinfo/main.c
@@ -60,7 +60,7 @@ GtkEntryCompletion *index_completion = 0;
GtkListStore *index_store = 0;
void
-load_relative_url (char *href)
+load_relative_url (const char *href)
{
char *link = 0;
@@ -104,7 +104,8 @@ match_selected_cb (GtkEntryCompletion *widget,
1,
&value);
load_relative_url (g_value_get_string (&value));
- return TRUE;
+ gtk_widget_hide (GTK_WIDGET(index_entry));
+ return FALSE;
}
void
@@ -345,14 +346,14 @@ main(int argc, char* argv[])
gtk_widget_show_all (main_window);
webkit_web_view_load_uri (hiddenWebView,
- "file:/home/g/src/texinfo/GIT/js/test/hello/Concept-index.html?send-index");
+ "file:/home/g/src/texinfo/GIT/js/test/elisp/Index.html?send-index");
/* Make sure that when the browser area becomes visible, it will get mouse
and keyboard events. */
gtk_widget_grab_focus (GTK_WIDGET(webView));
webkit_web_view_load_uri (webView,
- "file:/home/g/src/texinfo/GIT/js/test/hello/index.html");
+ "file:/home/g/src/texinfo/GIT/js/test/elisp/index.html");
main_loop = g_main_loop_new (NULL, FALSE);
g_main_loop_run (main_loop);
- master updated (cd0de30b76 -> ca0de032c7), Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject],
Gavin D. Smith <=
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20