Displaying 6 results from an estimated 6 matches for "vivimovielist".
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
...H:
+ return G_TYPE_INT;
+ case VIVI_MOVIE_LIST_COLUMN_TYPE:
+ return G_TYPE_STRING;
+ default:
+ break;
+ }
+ g_assert_not_reached ();
+ return G_TYPE_NONE;
+}
+
+static gboolean
+vivi_movie_list_get_iter (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreePath *path)
+{
+ ViviMovieList *movies = VIVI_MOVIE_LIST (tree_model);
+ GNode *node;
+ guint i, depth;
+ int *indices;
+
+ REPORT;
+ depth = gtk_tree_path_get_depth (path);
+ indices = gtk_tree_path_get_indices (path);
+ if (indices == NULL)
+ return FALSE;
+ node = movies->root;
+ for (i = 0; i < depth; i++)...
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 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
...k->data, vivi_movie_list_movie_notify, movies);
}
+ g_hash_table_remove (movies->nodes, node->data);
+ g_signal_handlers_disconnect_by_func (node->data, vivi_movie_list_movie_notify, movies);
}
static gboolean
@@ -359,14 +359,21 @@ vivi_movie_list_dispose (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_ob...
2007 Aug 22
0
Branch 'vivi' - 2 commits - libswfdec-gtk/swfdec_source.c vivified/ui
...nt);
- g_print ("reordering %u => %u (%u total)\n", old, new, count);
for (i = 0; i < min; i++) {
positions[i] = i;
}
@@ -393,6 +392,16 @@ vivi_movie_list_removed (ViviDebugger *d
}
static void
+vivi_movie_list_reset (ViviApplication *app, GParamSpec *pspec, ViviMovieList *movies)
+{
+ GNode *walk;
+
+ for (walk = movies->root->children; walk; walk = walk->next) {
+ vivi_movie_list_removed (NULL, walk->data, movies);
+ }
+}
+
+static void
vivi_movie_list_dispose (GObject *object)
{
ViviMovieList *movies = VIVI_MOVIE_LIST (object);
@@ -400,6 +4...
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
...gt;
#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_IS_MOVIE (object))
+ return FALSE;
+ movie = SWFDEC_MO...
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
...nt);
- g_print ("reordering %u => %u (%u total)\n", old, new, count);
for (i = 0; i < min; i++) {
positions[i] = i;
}
@@ -393,6 +392,16 @@ vivi_movie_list_removed (ViviDebugger *d
}
static void
+vivi_movie_list_reset (ViviApplication *app, GParamSpec *pspec, ViviMovieList *movies)
+{
+ GNode *walk;
+
+ for (walk = movies->root->children; walk; walk = walk->next) {
+ vivi_movie_list_removed (NULL, walk->data, movies);
+ }
+}
+
+static void
vivi_movie_list_dispose (GObject *object)
{
ViviMovieList *movies = VIVI_MOVIE_LIST (object);
@@ -400,6 +4...