search for: gtk_tree_path_free

Displaying 19 results from an estimated 19 matches for "gtk_tree_path_free".

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 17
0
Branch 'vivi' - 3 commits - player/Makefile.am player/swfdec_debug_movies.c player/swfdec_debug_movies.h vivified/core vivified/ui
...); - pos = swfdec_debug_movies_get_index (node, new); - g_node_insert (node, pos, new); - movies->stamp++; - iter.stamp = movies->stamp; - iter.user_data = new; - path = swfdec_debug_movies_node_to_path (new); - gtk_tree_model_row_inserted (GTK_TREE_MODEL (movies), path, &iter); - gtk_tree_path_free (path); -} - -static void -swfdec_debug_movies_movie_notify (SwfdecMovie *movie, GParamSpec *pspec, SwfdecDebugMovies *movies) -{ - GtkTreeIter iter; - GtkTreePath *path; - GNode *node; - - node = g_hash_table_lookup (movies->nodes, movie); - if (g_str_equal (pspec->name, "depth&quo...
2016 Jan 26
1
[PATCH v2] p2v: User can click on an interface name to identify the
v1 -> v2: Added a (now blue) underlined "Identify interface" link. It's not really a link, but it looks like one, so hopefully should resolve the previous UI issue. Rich.
2016 Jan 26
2
[PATCH] p2v: User can click on an interface name to identify the physical interface.
...t;)); populate_interfaces (GTK_TREE_VIEW (interfaces_list)); gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (interfaces_sw), interfaces_list); @@ -1022,6 +1027,68 @@ network_edited_callback (GtkCellRendererToggle *cell, gchar *path_str, gtk_tree_path_free (path); } +/* When the user clicks on the interface name on the list of + * interfaces, we want to run 'ethtool --identify', which usually + * makes some lights flash on the physical interface. We cannot catch + * clicks on the cell itself, so we have to go via a more obscure + * route....
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
...7,8 @@ vivi_movie_list_removed (ViviDebugger *d if (node == NULL) return FALSE; vivi_movie_list_remove_node (movies, node); - g_node_destroy (node); path = vivi_movie_list_node_to_path (node); + g_node_destroy (node); gtk_tree_model_row_deleted (GTK_TREE_MODEL (movies), path); gtk_tree_path_free (path); return FALSE; diff-tree cd57b9ab579ac803f64b351459380fb749daaa0f (from 1c017203cce97b97487e8513c645f9c6fe8b24e4) Author: Benjamin Otte <otte at gnome.org> Date: Tue Aug 21 22:53:56 2007 +0200 add a Player.sound property so disabling sound is possible It's incred...
2007 Mar 19
0
7 commits - libswfdec/jpeg libswfdec/swfdec_button_movie.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_movie.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_video.c player/swfdec_debug_movies.c
...c_debug_movies.c +++ b/player/swfdec_debug_movies.c @@ -299,7 +299,6 @@ swfdec_debug_movies_added (SwfdecPlayer GtkTreeIter iter; iter.user_data = movie; - g_print ("movie %s added\n", movie->name); gtk_tree_model_row_inserted (GTK_TREE_MODEL (movies), path, &iter); gtk_tree_path_free (path); } @@ -324,7 +323,6 @@ swfdec_debug_movies_removed (SwfdecPlaye i++; } gtk_tree_path_append_index (path, i); - g_print ("movie %s removed\n", movie->name); gtk_tree_model_row_deleted (GTK_TREE_MODEL (movies), path); gtk_tree_path_free (path); } diff-tree aa8f...
2007 Aug 07
0
5 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_keys.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite_movie_as.c player/swfdebug.c player/swfdec_debug_movies.c player/swfdec_debug_movies.h test/trace
...); + pos = swfdec_debug_movies_get_index (node, new); + g_node_insert (node, pos, new); + movies->stamp++; + iter.stamp = movies->stamp; + iter.user_data = new; + path = swfdec_debug_movies_node_to_path (new); gtk_tree_model_row_inserted (GTK_TREE_MODEL (movies), path, &iter); gtk_tree_path_free (path); } static void +swfdec_debug_movies_movie_notify (SwfdecMovie *movie, GParamSpec *pspec, SwfdecDebugMovies *movies) +{ + GtkTreeIter iter; + GtkTreePath *path; + GNode *node; + + node = g_hash_table_lookup (movies->nodes, movie); + if (g_str_equal (pspec->name, "depth&quo...
2007 Jan 22
0
Branch 'interpreter' - 3 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_swf_decoder.c test/Makefile.am test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_tag.c test/swfedit_tag.h test/swfedit_token.c test/swfedit_token.h
...FALSE; + new = gtk_tree_path_new (); + indices = gtk_tree_path_get_indices (path); + for (j = 1; j < gtk_tree_path_get_depth (path); j++) { + gtk_tree_path_append_index (path, indices[j]); + } + ret = swfedit_token_get_iter (GTK_TREE_MODEL (entry->value), iter, new); + gtk_tree_path_free (new); + return ret; + } else { + iter->stamp = 0; /* FIXME */ + iter->user_data = token; + iter->user_data2 = GINT_TO_POINTER (i); + return TRUE; + } +} + +static GtkTreePath * +swfedit_token_get_path (GtkTreeModel *tree_model, GtkTreeIter *iter) +{ + SwfeditToken *token...
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 (movie->parent) { node = g_hash_table_lookup (movies->nodes, movie->parent); g_assert (node); @@ -297,6 +300,7 @@ vivi_movie_list_added (SwfdecPlayer *pla path = vivi_movie_list_node_to_path (new); gtk_tree_model_row_inserted (GTK_TREE_MODEL (movies), path, &iter); gtk_tree_path_free (path); + return FALSE; } static void @@ -318,30 +322,35 @@ vivi_movie_list_movie_notify (SwfdecMovi gtk_tree_path_free (path); } -static void -vivi_movie_list_removed (SwfdecPlayer *player, SwfdecMovie *movie, ViviMovieList *movies) +static gboolean +vivi_movie_list_removed (ViviDebugge...
2007 Mar 15
0
11 commits - libswfdec/swfdec_debugger.c libswfdec/swfdec_debugger.h libswfdec/swfdec_event.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c
...decMovie *movie, SwfdecDebugMovies *movies) +{ + GtkTreePath *path = swfdec_debug_movies_movie_to_path (movie); + GtkTreeIter iter; + + iter.user_data = movie; + g_print ("movie %s added\n", movie->name); + gtk_tree_model_row_inserted (GTK_TREE_MODEL (movies), path, &iter); + gtk_tree_path_free (path); +} + +static void +swfdec_debug_movies_removed (SwfdecPlayer *player, SwfdecMovie *movie, SwfdecDebugMovies *movies) +{ + GList *list; + GtkTreePath *path; + int i = 0; + + if (movie->parent) { + path = swfdec_debug_movies_movie_to_path (movie->parent); + list = movie->pa...
2007 Feb 14
0
7 commits - libswfdec/swfdec_image.c libswfdec/swfdec_script.c libswfdec/swfdec_script.h test/Makefile.am test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_list.c test/swfedit_tag.c test/swfedit_token.c test/swfedit_token.h test/swfscript.c
...i); + + model = token; + while (model->parent) + model = model->parent; + iter.user_data = token; + iter.user_data2 = GUINT_TO_POINTER (i); + path = gtk_tree_model_get_path (GTK_TREE_MODEL (model), &iter); + gtk_tree_model_row_changed (GTK_TREE_MODEL (model), path, &iter); + gtk_tree_path_free (path); +} + +void +swfedit_token_set_iter (SwfeditToken *token, GtkTreeIter *iter, const char *value) { SwfeditTokenClass *klass; GtkTreeModel *model; diff --git a/test/swfedit_token.h b/test/swfedit_token.h index c9e522f..448f4cb 100644 --- a/test/swfedit_token.h +++ b/test/swfedit_token.h...
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
...} + g_node_unlink (node); + g_node_insert (parent, new, node); + iter.stamp = movies->stamp; + iter.user_data = parent; + path = vivi_movie_list_node_to_path (parent); + gtk_tree_model_rows_reordered (GTK_TREE_MODEL (movies), path, &iter, positions); + gtk_tree_path_free (path); + g_free (positions); + } + } + iter.stamp = movies->stamp; + iter.user_data = node; + path = vivi_movie_list_node_to_path (node); + gtk_tree_model_row_changed (GTK_TREE_MODEL (movies), path, &iter); + gtk_tree_path_free (path); +} + static gboolean vivi_movie_list_ad...
2008 Jan 07
0
12 commits - configure.ac doc/swfdec.types Makefile.am test/crashfinder.c test/dump.c test/Makefile.am test/swfdec-extract.c test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_list.c test/swfedit_list.h
...n FALSE; - new = gtk_tree_path_new (); - indices = gtk_tree_path_get_indices (path); - for (j = 1; j < gtk_tree_path_get_depth (path); j++) { - gtk_tree_path_append_index (new, indices[j]); - } - ret = swfedit_token_get_iter (GTK_TREE_MODEL (entry->value), iter, new); - gtk_tree_path_free (new); - return ret; - } else { - iter->stamp = 0; /* FIXME */ - iter->user_data = token; - iter->user_data2 = GINT_TO_POINTER (i); - return TRUE; - } -} - -static GtkTreePath * -swfedit_token_get_path (GtkTreeModel *tree_model, GtkTreeIter *iter) -{ - SwfeditToken *token...
2007 Feb 06
0
Branch 'interpreter' - 8 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_edittext.c libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_pattern.c libswfdec/swfdec_sprite.c test/dump.c
...; + new = gtk_tree_path_new (); + indices = gtk_tree_path_get_indices (path); + for (j = 1; j < gtk_tree_path_get_depth (path); j++) { + gtk_tree_path_append_index (new, indices[j]); + } + ret = swfedit_token_get_iter (GTK_TREE_MODEL (entry->value), iter, new); + gtk_tree_path_free (new); + return ret; + } else { + iter->stamp = 0; /* FIXME */ + iter->user_data = token; + iter->user_data2 = GINT_TO_POINTER (i); + return TRUE; + } +} + +static GtkTreePath * +swfedit_token_get_path (GtkTreeModel *tree_model, GtkTreeIter *iter) +{ + Swfedi...
2007 Feb 13
0
9 commits - libswfdec/js libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_codec_screen.c libswfdec/swfdec_image.c libswfdec/swfdec_script.c test/Makefile.am test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c
...= NULL) converters[entry->type].free (entry->value); entry->value = new; + klass = SWFEDIT_TOKEN_GET_CLASS (token); + if (klass->changed) + klass->changed (token, i); path = gtk_tree_model_get_path (model, iter); gtk_tree_model_row_changed (model, path, iter); gtk_tree_path_free (path); } +void +swfedit_token_set_visible (SwfeditToken *token, guint i, gboolean visible) +{ + SwfeditTokenEntry *entry; + GtkTreeModel *model; + GtkTreePath *path; + GtkTreeIter iter; + + g_return_if_fail (SWFEDIT_IS_TOKEN (token)); + g_return_if_fail (i < token->tokens->len);...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...; + new = gtk_tree_path_new (); + indices = gtk_tree_path_get_indices (path); + for (j = 1; j < gtk_tree_path_get_depth (path); j++) { + gtk_tree_path_append_index (new, indices[j]); + } + ret = swfedit_token_get_iter (GTK_TREE_MODEL (entry->value), iter, new); + gtk_tree_path_free (new); + return ret; + } else { + iter->stamp = 0; /* FIXME */ + iter->user_data = token; + iter->user_data2 = GINT_TO_POINTER (i); + return TRUE; + } +} + +static GtkTreePath * +swfedit_token_get_path (GtkTreeModel *tree_model, GtkTreeIter *iter) +{ + Swfedi...
2007 Aug 29
0
15 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_system_as.c
...e); - swfdec_debug_script_set_script (debug, script); - - path = gtk_tree_path_new_from_indices (line, -1); - gtk_tree_selection_select_path (gtk_tree_view_get_selection (GTK_TREE_VIEW (debug)), - path); - gtk_tree_view_scroll_to_cell (GTK_TREE_VIEW (debug), path, NULL, TRUE, 0.0, 0.5); - gtk_tree_path_free (path); -} - -static void -force_continue (SwfdecPlayerManager *manager, GParamSpec *pspec, gpointer unused) -{ - g_signal_stop_emission_by_name (manager, "notify::interrupted"); - if (swfdec_player_manager_get_interrupted (manager)) - swfdec_player_manager_continue (manager); -} - -...
2007 Jan 25
0
Branch 'interpreter' - 28 commits - configure.ac libswfdec/js libswfdec/swfdec_buffer.c libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_player.c
...= gtk_tree_path_get_indices (path); for (j = 1; j < gtk_tree_path_get_depth (path); j++) { - gtk_tree_path_append_index (path, indices[j]); + gtk_tree_path_append_index (new, indices[j]); } ret = swfedit_token_get_iter (GTK_TREE_MODEL (entry->value), iter, new); gtk_tree_path_free (new); @@ -218,6 +227,7 @@ swfedit_token_get_path (GtkTreeModel *tr SwfeditToken *token = SWFEDIT_TOKEN (iter->user_data); GtkTreePath *path = gtk_tree_path_new_from_indices (GPOINTER_TO_INT (iter->user_data2), -1); + REPORT; while (token->parent) { guint i; SwfeditTo...
2019 Sep 10
3
[PATCH 0/2] Remove virt-p2v from libguestfs
Now that virt-p2v has its own repository [1] and releases [2], it is time to remove it from libguestfs. [1] https://github.com/libguestfs/virt-p2v [2] http://download.libguestfs.org/virt-p2v/ Pino Toscano (2): Remove virt-p2v Remove remaining virt-p2v bits .gitignore | 4 - Makefile.am | 7 +- bash/Makefile.am