[easytag] Remove handling of activation of tag field entries
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Remove handling of activation of tag field entries
- Date: Thu, 9 May 2013 21:09:41 +0000 (UTC)
commit ecbd9e6aa5b32acf5c8feda3868e5acddc802745
Author: David King <amigadave amigadave com>
Date: Thu May 9 22:05:07 2013 +0100
Remove handling of activation of tag field entries
Now that the tag field GtkEntrys have icons for applying the tag to
selected files, the focus chain is significantly shorter. Remove the
functionality to jump to the next field by activating the current
GtkEntry, as it incorrectly duplicates the focus chain order.
src/easytag.c | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/src/easytag.c b/src/easytag.c
index ee3aeca..579aa8c 100644
--- a/src/easytag.c
+++ b/src/easytag.c
@@ -1027,23 +1027,6 @@ Create_Tag_Area (void)
Attach_Popup_Menu_To_Tag_Entries(GTK_ENTRY(EncodedByEntry));
- // Managing of entries when pressing the Enter key
- g_signal_connect_swapped(G_OBJECT(TitleEntry),
"activate",G_CALLBACK(gtk_widget_grab_focus),G_OBJECT(ArtistEntry));
- g_signal_connect_swapped(G_OBJECT(ArtistEntry),
"activate",G_CALLBACK(gtk_widget_grab_focus),G_OBJECT(AlbumEntry));
- g_signal_connect_swapped(G_OBJECT(AlbumEntry),
"activate",G_CALLBACK(gtk_widget_grab_focus),G_OBJECT(DiscNumberEntry));
- g_signal_connect_swapped(G_OBJECT(DiscNumberEntry),
"activate",G_CALLBACK(gtk_widget_grab_focus),G_OBJECT(YearEntry));
- g_signal_connect_swapped(G_OBJECT(YearEntry),
"activate",G_CALLBACK(gtk_widget_grab_focus),G_OBJECT(GTK_ENTRY(gtk_bin_get_child(GTK_BIN(TrackEntryCombo)))));
-
g_signal_connect_swapped(G_OBJECT(GTK_ENTRY(gtk_bin_get_child(GTK_BIN(TrackEntryCombo)))),"activate",G_CALLBACK(gtk_widget_grab_focus),G_OBJECT(TrackTotalEntry));
- g_signal_connect_swapped(G_OBJECT(TrackTotalEntry),
"activate",G_CALLBACK(gtk_widget_grab_focus),G_OBJECT(gtk_bin_get_child(GTK_BIN(GenreCombo))));
-
g_signal_connect_swapped(G_OBJECT(gtk_bin_get_child(GTK_BIN(GenreCombo))),"activate",G_CALLBACK(gtk_widget_grab_focus),G_OBJECT(CommentEntry));
- g_signal_connect_swapped(G_OBJECT(CommentEntry),
"activate",G_CALLBACK(gtk_widget_grab_focus),G_OBJECT(ComposerEntry));
- g_signal_connect_swapped(G_OBJECT(ComposerEntry),
"activate",G_CALLBACK(gtk_widget_grab_focus),G_OBJECT(OrigArtistEntry));
- g_signal_connect_swapped(G_OBJECT(OrigArtistEntry),
"activate",G_CALLBACK(gtk_widget_grab_focus),G_OBJECT(CopyrightEntry));
- g_signal_connect_swapped(G_OBJECT(CopyrightEntry),
"activate",G_CALLBACK(gtk_widget_grab_focus),G_OBJECT(URLEntry));
- g_signal_connect_swapped(G_OBJECT(URLEntry),
"activate",G_CALLBACK(gtk_widget_grab_focus),G_OBJECT(EncodedByEntry));
- g_signal_connect_swapped(G_OBJECT(EncodedByEntry),
"activate",G_CALLBACK(gtk_widget_grab_focus),G_OBJECT(AlbumArtistEntry));
-
g_signal_connect_swapped(G_OBJECT(AlbumArtistEntry),"activate",G_CALLBACK(gtk_widget_grab_focus),G_OBJECT(TitleEntry));
-
// Set focus chain
focusable_widgets_list = g_list_prepend(focusable_widgets_list,TitleEntry);
focusable_widgets_list = g_list_prepend(focusable_widgets_list,ArtistEntry);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]