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  <[EMAIL PROTECTED]>

        * 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");
        }
 
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to