[easytag] Remove useless "edit masks" playlist button
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Remove useless "edit masks" playlist button
- Date: Sat, 4 May 2013 16:56:24 +0000 (UTC)
commit 8b2d654cff803a785510e60edb7cae2a4595e8aa
Author: David King <amigadave amigadave com>
Date: Sat May 4 17:55:19 2013 +0100
Remove useless "edit masks" playlist button
src/misc.c | 25 -------------------------
1 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/src/misc.c b/src/misc.c
index b0dd463..c5a1d6c 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -1238,19 +1238,6 @@ void Open_Write_Playlist_Window (void)
g_signal_connect_swapped(G_OBJECT(gtk_bin_get_child(GTK_BIN(PlayListNameMaskCombo))),"changed",
G_CALLBACK(Playlist_Check_Content_Mask),G_OBJECT(MaskStatusIconBox));
- // Button for Mask editor
- Button = gtk_button_new();
- Icon = gtk_image_new_from_stock("easytag-mask", GTK_ICON_SIZE_BUTTON);
- gtk_container_add(GTK_CONTAINER(Button),Icon);
- gtk_box_pack_start(GTK_BOX(hbox),Button,FALSE,FALSE,0);
- gtk_button_set_relief(GTK_BUTTON(Button),GTK_RELIEF_NONE);
- gtk_widget_set_tooltip_text(Button,_("Edit Masks"));
- // The masks will be edited into a tab of the preferences window. In the future...
- //g_signal_connect(G_OBJECT(Button),"clicked",(GtkSignalFunc)???,NULL);
- // FIX ME : edit the masks
- gtk_widget_set_sensitive(GTK_WIDGET(Button),FALSE);
-
-
/* Playlist options */
Frame = gtk_frame_new(_("Playlist Options"));
gtk_box_pack_start(GTK_BOX(VBox),Frame,TRUE,TRUE,0);
@@ -1329,18 +1316,6 @@ void Open_Write_Playlist_Window (void)
g_signal_connect_swapped(G_OBJECT(gtk_bin_get_child(GTK_BIN(PlayListContentMaskCombo))),"changed",
G_CALLBACK(Playlist_Check_Content_Mask),G_OBJECT(MaskStatusIconBox1));
- // Button for Mask editor
- Button = gtk_button_new();
- Icon = gtk_image_new_from_stock("easytag-mask", GTK_ICON_SIZE_BUTTON);
- gtk_container_add(GTK_CONTAINER(Button),Icon);
- gtk_box_pack_start(GTK_BOX(hbox),Button,FALSE,FALSE,0);
- gtk_button_set_relief(GTK_BUTTON(Button),GTK_RELIEF_NONE);
- gtk_widget_set_tooltip_text(Button,_("Edit Masks"));
- // The masks will be edited into a tab of the preferences window. In the future...
- //g_signal_connect(G_OBJECT(Button),"clicked",(GtkSignalFunc)???,NULL);
- // FIX ME : edit the masks
- gtk_widget_set_sensitive(GTK_WIDGET(Button),FALSE);
-
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(playlist_content_none), PLAYLIST_CONTENT_NONE);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(playlist_content_filename),PLAYLIST_CONTENT_FILENAME);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(playlist_content_mask), PLAYLIST_CONTENT_MASK);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]