[totem/gnome-2-28] Prefer the stream URI when copying the location
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/gnome-2-28] Prefer the stream URI when copying the location
- Date: Mon, 12 Apr 2010 16:18:49 +0000 (UTC)
commit 040725cde3e66e2a083bc44e9c1c62ba1e9ddb4b
Author: Bastien Nocera <hadess hadess net>
Date: Sun Apr 11 17:44:12 2010 +0100
Prefer the stream URI when copying the location
browser-plugin/totem-plugin-viewer.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/browser-plugin/totem-plugin-viewer.c b/browser-plugin/totem-plugin-viewer.c
index 725c425..90f8558 100644
--- a/browser-plugin/totem-plugin-viewer.c
+++ b/browser-plugin/totem-plugin-viewer.c
@@ -1157,7 +1157,9 @@ on_copy_location1_activate (GtkButton *button, TotemEmbedded *emb)
GtkClipboard *clip;
const char *uri;
- if (emb->href_uri != NULL) {
+ if (emb->stream_uri != NULL) {
+ uri = emb->stream_uri;
+ } else if (emb->href_uri != NULL) {
uri = emb->href_uri;
} else {
uri = emb->current_uri;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]