search for: vivi_movie_list_added

Displaying 6 results from an estimated 6 matches for "vivi_movie_list_added".

2007 Aug 16
1
Branch 'vivi' - vivified/ui
vivified/ui/main.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) New commits: diff-tree be3bc1a6cd88c0f2294b4f6059898c3989f172eb (from da8a9e9b145d5cb1aebc04764e9ed66856a31c9b) Author: Benjamin Otte <otte at gnome.org> Date: Thu Aug 16 21:42:39 2007 +0200 Set the title correctly diff --git a/vivified/ui/main.c b/vivified/ui/main.c index df123a9..13d03ab 100644 ---
2007 Aug 22
0
Branch 'vivi' - 2 commits - libswfdec-gtk/swfdec_source.c vivified/ui
...bject *object GNode *walk; debugger = movies->app->debugger; + g_signal_handlers_disconnect_by_func (movies->app, vivi_movie_list_reset, movies); g_signal_handlers_disconnect_by_func (debugger, vivi_movie_list_removed, movies); g_signal_handlers_disconnect_by_func (debugger, vivi_movie_list_added, movies); g_object_unref (movies->app); @@ -442,6 +452,7 @@ vivi_movie_list_new (ViviApplication *ap g_object_ref (app); movies->app = app; debugger = app->debugger; + g_signal_connect (app, "notify::player", G_CALLBACK (vivi_movie_list_reset), movies); g_signal_c...
2007 Aug 21
0
Branch 'vivi' - 15 commits - configure.ac libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_debugger.h libswfdec/swfdec_as_object.c libswfdec/swfdec_movie.c libswfdec/swfdec_script.c libswfdec/swfdec_types.h vivified/core vivified/ui
...f #include <gtk/gtk.h> -#include <libswfdec/swfdec.h> #include <libswfdec/swfdec_movie.h> #include <libswfdec/swfdec_player_internal.h> #include "vivi_movie_list.h" @@ -273,14 +272,18 @@ vivi_movie_list_get_index (GNode *parent return i; } -static void -vivi_movie_list_added (SwfdecPlayer *player, SwfdecMovie *movie, ViviMovieList *movies) +static gboolean +vivi_movie_list_added (ViviDebugger *debugger, SwfdecAsObject *object, ViviMovieList *movies) { + SwfdecMovie *movie; GtkTreePath *path; GtkTreeIter iter; GNode *node, *new; int pos; + if (!SWFDEC_I...
2007 Aug 17
0
Branch 'vivi' - 3 commits - player/Makefile.am player/swfdec_debug_movies.c player/swfdec_debug_movies.h vivified/core vivified/ui
...+ GNode *walk; + int i = 0; + + for (walk = parent->children; walk; walk = walk->next) { + if (walk == new) + continue; + if (swfdec_movie_compare_depths (walk->data, new->data) < 0) { + i++; + continue; + } + break; + } + return i; +} + +static void +vivi_movie_list_added (SwfdecPlayer *player, SwfdecMovie *movie, ViviMovieList *movies) +{ + GtkTreePath *path; + GtkTreeIter iter; + GNode *node, *new; + int pos; + + if (movie->parent) { + node = g_hash_table_lookup (movies->nodes, movie->parent); + g_assert (node); + } else { + node = movies-&...
2007 Aug 21
0
Branch 'vivi' - 10 commits - libswfdec/swfdec_button_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c vivified/core vivified/dock vivified/ui
...se (GObject *object { ViviMovieList *movies = VIVI_MOVIE_LIST (object); ViviDebugger *debugger; + GNode *walk; debugger = movies->app->debugger; g_signal_handlers_disconnect_by_func (debugger, vivi_movie_list_removed, movies); g_signal_handlers_disconnect_by_func (debugger, vivi_movie_list_added, movies); g_object_unref (movies->app); - g_assert (g_node_n_children (movies->root) == 0); + for (walk = movies->root->children; walk; walk = walk->next) { + vivi_movie_list_remove_node (movies, walk); + } g_node_destroy (movies->root); - g_assert (g_hash_table_size...
2007 Aug 22
0
163 commits - autogen.sh configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec-gtk/swfdec_source.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c
...bject *object GNode *walk; debugger = movies->app->debugger; + g_signal_handlers_disconnect_by_func (movies->app, vivi_movie_list_reset, movies); g_signal_handlers_disconnect_by_func (debugger, vivi_movie_list_removed, movies); g_signal_handlers_disconnect_by_func (debugger, vivi_movie_list_added, movies); g_object_unref (movies->app); @@ -442,6 +452,7 @@ vivi_movie_list_new (ViviApplication *ap g_object_ref (app); movies->app = app; debugger = app->debugger; + g_signal_connect (app, "notify::player", G_CALLBACK (vivi_movie_list_reset), movies); g_signal_c...