Displaying 2 results from an estimated 2 matches for "remove_tag".
Did you mean:
remote_tag
2006 Feb 19
0
acts_as_taggable
does anyone now how 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/.
2005 May 25
0
[PATCH] Fix fuction prototypes/definitions with void argument
...)
+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 remove_tag(GtkWidget * w, gp
gtk_widget_destroy(window);
}
-static void show_file_info()
+static void show_file_info(void)
{
FLAC__StreamMetadata streaminfo;
struct stat _stat;
--- src/share/grabbag/file.c-dist 2005-05-25 16:07:23.000000000 +0200
+++ src/share/grabbag/file.c 2005-05-25 16:07:27.0000...