Displaying 3 results from an estimated 3 matches for "show_tag".
2006 Feb 19
0
acts_as_taggable
...to delete tags. The code below doesn''t seem to work
def remove_tag
@page = Page.find(params[:id])
@tag = Tag.find(params[:tag])
arr = @page.tag_names
arr.delete( @page.name )
@page.tag( arr, :clear => true )
@page.save
render( :partial => ''show_tags'' )
end
--
Posted via http://www.ruby-forum.com/.
2004 Sep 10
2
xmms plugin, fileinfo
...- gchar *text;
+}
- text = gtk_entry_get_text(entry);
- memset(tag, ' ', length);
- memcpy(tag, text, strlen(text) > length ? length : strlen(text));
+static void remove_cb(GtkWidget * w, gpointer data)
+{
}
-static gint genre_comp_func(gconstpointer a, gconstpointer b)
+static void show_tag()
{
- return strcasecmp(a, b);
+ FLAC_Plugin__CanonicalTag tag;
+
+ FLAC_plugin__canonical_tag_init(&tag);
+ FLAC_plugin__canonical_tag_get_combined(current_filename, &tag);
+
+ if(flac_cfg.title.convert_char_set) {
+ convert_from_file_to_user_in_place(&tag.title);
+ convert_from_fil...
2005 May 25
0
[PATCH] Fix fuction prototypes/definitions with void argument
...S__aboutbox();
+extern void FLAC_XMMS__aboutbox(void);
#endif
--- src/plugin_xmms/fileinfo.c-dist 2005-05-25 16:24:26.000000000 +0200
+++ src/plugin_xmms/fileinfo.c 2005-05-25 16:24:33.000000000 +0200
@@ -136,7 +136,7 @@ static void get_entry_tag(GtkEntry * ent
free(utf8);
}
-static void show_tag()
+static void show_tag(void)
{
set_entry_tag(GTK_ENTRY(title_entry) , FLAC_plugin__tags_get_tag_utf8(tags_, "TITLE"));
set_entry_tag(GTK_ENTRY(artist_entry) , FLAC_plugin__tags_get_tag_utf8(tags_, "ARTIST"));
@@ -189,7 +189,7 @@ static void...