[girl] Temporary removing Pause feature until it is possible to quit after pausing.
- From: ole <ole src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [girl] Temporary removing Pause feature until it is possible to quit after pausing.
- Date: Mon, 17 Apr 2017 15:24:28 +0000 (UTC)
commit 685db84d2e01dec5309ea92df67b13d054a90e90
Author: Ole Aamot <oka oka no>
Date: Mon Apr 17 17:23:46 2017 +0200
Temporary removing Pause feature until it is possible to quit after pausing.
README | 6 ++++++
src/GIRL-PLAYER.c | 3 +++
src/GIRL.c | 7 ++++++-
3 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/README b/README
index f05a077..9a095b5 100644
--- a/README
+++ b/README
@@ -1,4 +1,10 @@
================
+GIRL 9.9.6 notes
+================
+
+Audio playback (click "Listen") based on gst-player code now essentially works.
+
+================
GIRL 9.9.5 notes
================
diff --git a/src/GIRL-PLAYER.c b/src/GIRL-PLAYER.c
index 788cc18..16fafaa 100644
--- a/src/GIRL-PLAYER.c
+++ b/src/GIRL-PLAYER.c
@@ -660,7 +660,10 @@ girl_player_quit (GstPlayer *player)
void
girl_player_pause (GstPlayer *player)
{
+ /* FIXME: Unable to quit after pause is called for the first time. */
+#if 0
gst_player_pause(player);
+#endif
}
#if 0
diff --git a/src/GIRL.c b/src/GIRL.c
index 6790f85..bab600d 100644
--- a/src/GIRL.c
+++ b/src/GIRL.c
@@ -83,8 +83,11 @@ listen_station(GSimpleAction *simple, GVariant *parameter, gpointer user_data) {
static void
pause_station(GSimpleAction *simple, GVariant *parameter, gpointer user_data) {
+ /* FIXME: Removing Pause. Can't quit after gst_player_pause is called. */
+#if 0
girl_player_pause(player);
g_print("Pause Internet Radio Station\n");
+#endif
return;
}
@@ -248,13 +251,15 @@ girl_window_cb (GtkApplication *app,
gtk_tool_item_set_tooltip_text (GTK_TOOL_ITEM(listen), "Listen Internet Radio Station");
g_signal_connect(listen, "clicked", G_CALLBACK (listen_station), GTK_WINDOW (window));
+ /* FIXME: Removing Pause feature. Can't quit after Pause is called. */
+#if 0
pause = gtk_tool_button_new(gtk_image_new_from_icon_name(NULL, GTK_ICON_SIZE_BUTTON), "Pause");
gtk_tool_item_set_is_important(GTK_TOOL_ITEM(pause), TRUE);
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), GTK_TOOL_ITEM(pause), 3);
gtk_widget_show (GTK_WIDGET(pause));
gtk_tool_item_set_tooltip_text (GTK_TOOL_ITEM(pause), "Pause Internet Radio Station");
g_signal_connect(pause, "clicked", G_CALLBACK (pause_station), GTK_WINDOW (window));
-
+#endif
prev = gtk_tool_button_new(gtk_image_new_from_icon_name(NULL, GTK_ICON_SIZE_BUTTON), "Prev");
gtk_tool_item_set_is_important(GTK_TOOL_ITEM(prev), TRUE);
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), GTK_TOOL_ITEM(prev), 4);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]