totem r5088 - in trunk: . browser-plugin
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5088 - in trunk: . browser-plugin
- Date: Sat, 9 Feb 2008 00:30:20 +0000 (GMT)
Author: hadess
Date: Sat Feb 9 00:30:20 2008
New Revision: 5088
URL: http://svn.gnome.org/viewvc/totem?rev=5088&view=rev
Log:
2008-02-09 Bastien Nocera <hadess hadess net>
* browser-plugin/totem-plugin-viewer.c:
(totem_embedded_set_logo_by_name):
Avoid warnings when hidden
Modified:
trunk/ChangeLog
trunk/browser-plugin/totem-plugin-viewer.c
Modified: trunk/browser-plugin/totem-plugin-viewer.c
==============================================================================
--- trunk/browser-plugin/totem-plugin-viewer.c (original)
+++ trunk/browser-plugin/totem-plugin-viewer.c Sat Feb 9 00:30:20 2008
@@ -402,7 +402,7 @@
totem_embedded_set_state (embedded, TOTEM_STATE_STOPPED);
- if (embedded->audioonly != FALSE)
+ if (embedded->audioonly != FALSE || embedded->hidden != FALSE)
return;
theme = gtk_icon_theme_get_for_screen (gtk_widget_get_screen (embedded->window));
@@ -1953,7 +1953,7 @@
totem_embedded_set_logo_by_name (emb, "gtk-media-play-ltr");
else
totem_embedded_set_logo_by_name (emb, "gtk-media-play-rtl");
- } else if (!emb->hidden) {
+ } else {
totem_embedded_set_logo_by_name (emb, "totem");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]