Commit 155dbd2d authored by Manish Singh's avatar Manish Singh Committed by Manish Singh

Allow activation of the search from the entry field.

2002-09-18  Manish Singh  <yosh@gimp.org>

        * plug-ins/dbbrowser/dbbrowser_utils.c: Allow activation of the
        search from the entry field.
parent b800763e
2002-09-18 Manish Singh <yosh@gimp.org>
* plug-ins/dbbrowser/dbbrowser_utils.c: Allow activation of the
search from the entry field.
2002-09-18 Manish Singh <yosh@gimp.org>
* configure.in: use X_CFLAGS when checking for Xmu headers too
......
......@@ -210,6 +210,9 @@ gimp_db_browser (GimpDBBrowserApplyCallback apply_callback)
gtk_widget_show (label);
dbbrowser->search_entry = gtk_entry_new ();
g_signal_connect_swapped (dbbrowser->search_entry, "activate",
G_CALLBACK (gtk_window_activate_default),
dbbrowser->dialog);
gtk_box_pack_start (GTK_BOX (searchhbox), dbbrowser->search_entry,
TRUE, TRUE, 0);
gtk_widget_show (dbbrowser->search_entry);
......
......@@ -210,6 +210,9 @@ gimp_db_browser (GimpDBBrowserApplyCallback apply_callback)
gtk_widget_show (label);
dbbrowser->search_entry = gtk_entry_new ();
g_signal_connect_swapped (dbbrowser->search_entry, "activate",
G_CALLBACK (gtk_window_activate_default),
dbbrowser->dialog);
gtk_box_pack_start (GTK_BOX (searchhbox), dbbrowser->search_entry,
TRUE, TRUE, 0);
gtk_widget_show (dbbrowser->search_entry);
......
......@@ -210,6 +210,9 @@ gimp_db_browser (GimpDBBrowserApplyCallback apply_callback)
gtk_widget_show (label);
dbbrowser->search_entry = gtk_entry_new ();
g_signal_connect_swapped (dbbrowser->search_entry, "activate",
G_CALLBACK (gtk_window_activate_default),
dbbrowser->dialog);
gtk_box_pack_start (GTK_BOX (searchhbox), dbbrowser->search_entry,
TRUE, TRUE, 0);
gtk_widget_show (dbbrowser->search_entry);
......
......@@ -210,6 +210,9 @@ gimp_db_browser (GimpDBBrowserApplyCallback apply_callback)
gtk_widget_show (label);
dbbrowser->search_entry = gtk_entry_new ();
g_signal_connect_swapped (dbbrowser->search_entry, "activate",
G_CALLBACK (gtk_window_activate_default),
dbbrowser->dialog);
gtk_box_pack_start (GTK_BOX (searchhbox), dbbrowser->search_entry,
TRUE, TRUE, 0);
gtk_widget_show (dbbrowser->search_entry);
......
......@@ -210,6 +210,9 @@ gimp_db_browser (GimpDBBrowserApplyCallback apply_callback)
gtk_widget_show (label);
dbbrowser->search_entry = gtk_entry_new ();
g_signal_connect_swapped (dbbrowser->search_entry, "activate",
G_CALLBACK (gtk_window_activate_default),
dbbrowser->dialog);
gtk_box_pack_start (GTK_BOX (searchhbox), dbbrowser->search_entry,
TRUE, TRUE, 0);
gtk_widget_show (dbbrowser->search_entry);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment