[gthumb] video player: do not hide the mediabar when using the volume control
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] video player: do not hide the mediabar when using the volume control
- Date: Thu, 14 Aug 2014 15:30:37 +0000 (UTC)
commit 6d40db891c3207567922db7bd3bce4031d65c8a5
Author: Paolo Bacchilega <paobac src gnome org>
Date: Thu Aug 14 15:51:50 2014 +0200
video player: do not hide the mediabar when using the volume control
extensions/gstreamer_tools/gth-media-viewer-page.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/extensions/gstreamer_tools/gth-media-viewer-page.c
b/extensions/gstreamer_tools/gth-media-viewer-page.c
index 2111925..3ec58d7 100644
--- a/extensions/gstreamer_tools/gth-media-viewer-page.c
+++ b/extensions/gstreamer_tools/gth-media-viewer-page.c
@@ -735,7 +735,8 @@ gth_media_viewer_page_real_activate (GthViewerPage *base,
gth_browser_set_viewer_widget (browser, self->priv->area_box);
gtk_widget_realize (self->priv->area);
- gth_browser_register_viewer_control (self->priv->browser, self->priv->mediabar);
+ gth_browser_register_viewer_control (self->priv->browser, self->priv->mediabar_revealer);
+ gth_browser_register_viewer_control (self->priv->browser, gtk_scale_button_get_popup
(GTK_SCALE_BUTTON (GET_WIDGET ("volumebutton"))));
gth_viewer_page_focus (GTH_VIEWER_PAGE (self));
}
@@ -762,7 +763,8 @@ gth_media_viewer_page_real_deactivate (GthViewerPage *base)
self = (GthMediaViewerPage*) base;
- gth_browser_unregister_viewer_control (self->priv->browser, self->priv->mediabar);
+ gth_browser_unregister_viewer_control (self->priv->browser, gtk_scale_button_get_popup
(GTK_SCALE_BUTTON (GET_WIDGET ("volumebutton"))));
+ gth_browser_unregister_viewer_control (self->priv->browser, self->priv->mediabar_revealer);
if (self->priv->builder != NULL) {
g_object_unref (self->priv->builder);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]