[easytag/wip/musicbrainz-support-merge: 20/75] Pressing Return/Enter in Manual Search Combo Box Text will start the manual search
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/musicbrainz-support-merge: 20/75] Pressing Return/Enter in Manual Search Combo Box Text will start the manual search
- Date: Fri, 29 Aug 2014 22:23:19 +0000 (UTC)
commit ccf2b5361c46e084daa5893d363aea7c59ad9105
Author: Abhinav <abhijangda hotmail com>
Date: Mon Jun 23 23:22:58 2014 +0530
Pressing Return/Enter in Manual Search Combo Box Text will start the manual search
Added callback for Entry of Search ComboBoxText on pressing enter.
src/musicbrainz_dialog.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/musicbrainz_dialog.c b/src/musicbrainz_dialog.c
index d08f7ba..402eb93 100755
--- a/src/musicbrainz_dialog.c
+++ b/src/musicbrainz_dialog.c
@@ -680,6 +680,7 @@ void
et_open_musicbrainz_dialog ()
{
GtkWidget *cb_manual_search_in;
+ GtkWidget *cb_search;
GError *error;
builder = gtk_builder_new ();
@@ -704,7 +705,10 @@ et_open_musicbrainz_dialog ()
gtk_widget_set_size_request (mbDialog, 600, 500);
gtk_box_pack_start (GTK_BOX (gtk_builder_get_object (builder, "centralBox")),
entityView, TRUE, TRUE, 2);
-
+
+ cb_search = GTK_WIDGET (gtk_builder_get_object (builder, "cbManualSearch"));
+ g_signal_connect (gtk_bin_get_child (GTK_BIN (cb_search)), "activate",
+ G_CALLBACK (btn_manual_find_clicked), NULL);
g_signal_connect (gtk_builder_get_object (builder, "btnManualFind"),
"clicked", G_CALLBACK (btn_manual_find_clicked),
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]