diff options
author | Bastien Nocera <hadess@hadess.net> | 2007-04-09 21:40:05 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@src.gnome.org> | 2007-04-09 21:40:05 +0000 |
commit | 6a84a07b2694d08fd74041147850d630f448935a (patch) | |
tree | 064c4b6e08e066fa518279407e965c7e39e2ace2 /src/totem-object.c | |
parent | c1c16b53db7da87ff91859cf7367d1eb232dde37 (diff) |
Show the plugins menu entry above the Preferences menu entry
2007-04-09 Bastien Nocera <hadess@hadess.net>
* data/totem-ui.xml: Show the plugins menu entry above the Preferences
menu entry
* src/backend/bacon-video-widget-xine.c: (bacon_video_widget_seek),
(bacon_video_widget_seek_time): In some cases, when seeking, we might
not have reset the tick signal properly
* src/plugins/screensaver/totem-screensaver.c:
(totem_screensaver_update_from_state), (property_notify_cb),
(impl_activate): Make sure we're in the proper state when the
plugin is activated (ie. if it's not activated on startup, which
shouldn't happen)
* src/totem.c: (totem_is_playing): Don't print out an error if
there's no video widget yet
* src/totem-object.c: (totem_get_main_window):
* src/totem.h: Add a way to get the main window from a plugin
svn path=/trunk/; revision=4204
Diffstat (limited to 'src/totem-object.c')
-rw-r--r-- | src/totem-object.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/totem-object.c b/src/totem-object.c index f7dee0a3..4264ee80 100644 --- a/src/totem-object.c +++ b/src/totem-object.c @@ -29,6 +29,7 @@ #include "config.h" #include <glib-object.h> +#include <gtk/gtkwindow.h> #include "totem.h" #include "totem-private.h" @@ -122,3 +123,11 @@ totem_object_get_property (GObject *object, } } +GtkWindow * +totem_get_main_window (Totem *totem) +{ + g_return_val_if_fail (TOTEM_IS_OBJECT (totem), NULL); + + return GTK_WINDOW (totem->win); +} + |