[sound-juicer] Don't set 'reread CD' sensitivity in _stop()
- From: Christophe Fergeau <teuf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sound-juicer] Don't set 'reread CD' sensitivity in _stop()
- Date: Mon, 14 May 2012 14:07:07 +0000 (UTC)
commit 9cb8fb9d815c7d8a241ac491c73d3a22be3ba716
Author: Christophe Fergeau <cfergeau redhat com>
Date: Mon May 14 00:38:28 2012 +0200
Don't set 'reread CD' sensitivity in _stop()
_stop() is resetting the sensitivity of the "reread CD" menu entry
to TRUE, but nothing in this file disables it. This commit removes
this code assuming the sensitivity would be changed in the same file
if there was a matching 'disable sensitivity' call.
https://bugzilla.gnome.org/show_bug.cgi?id=675996
src/sj-play.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/sj-play.c b/src/sj-play.c
index bc48275..cdb9731 100644
--- a/src/sj-play.c
+++ b/src/sj-play.c
@@ -40,7 +40,7 @@ static void set_gst_ui_and_play (void);
static GtkTreeIter current_iter;
-static GtkWidget *play_button, *next_menuitem, *prev_menuitem, *reread_menuitem, *seek_scale, *volume_button, *statusbar, *track_listview;
+static GtkWidget *play_button, *next_menuitem, *prev_menuitem, *seek_scale, *volume_button, *statusbar, *track_listview;
/**
* Select track number.
@@ -111,7 +111,6 @@ _stop (void)
/* TODO: this should be centralised into the state change logic really */
gtk_widget_set_sensitive (next_menuitem, FALSE);
gtk_widget_set_sensitive (prev_menuitem, FALSE);
- gtk_widget_set_sensitive (reread_menuitem, TRUE);
gtk_widget_hide (seek_scale);
gtk_widget_hide (volume_button);
sj_main_set_title (NULL);
@@ -655,7 +654,6 @@ sj_play_init (void)
play_button = GET_WIDGET ("play_button");
next_menuitem = GET_WIDGET ("next_track_menuitem");
prev_menuitem = GET_WIDGET ("previous_track_menuitem");
- reread_menuitem = GET_WIDGET ("re-read");
seek_scale = GET_WIDGET ("seek_scale");
volume_button = GET_WIDGET ("volume_button");
statusbar = GET_WIDGET ("status_bar");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]