Mercurial > audlegacy
changeset 503:1cc9edf68ce9 trunk
[svn] Remove crap that is unneeded from about.c, update credits information.
author | nenolod |
---|---|
date | Wed, 25 Jan 2006 18:40:41 -0800 |
parents | 3399d6a41f16 |
children | 9f135663aaee |
files | audacious/about.c audacious/credits.c |
diffstat | 2 files changed, 6 insertions(+), 211 deletions(-) [+] |
line wrap: on
line diff
--- a/audacious/about.c Wed Jan 25 18:37:38 2006 -0800 +++ b/audacious/about.c Wed Jan 25 18:40:41 2006 -0800 @@ -31,8 +31,6 @@ #include <gdk/gdkkeysyms.h> #include <gtk/gtk.h> -#include "audacious_logo.xpm" - static GtkWidget *about_window = NULL; static GdkPixbuf *about_pixbuf = NULL; static GdkPixmap *mask_pixmap_window1 = NULL, @@ -40,147 +38,6 @@ static GdkBitmap *mask_bitmap_window1 = NULL, *mask_bitmap_window2 = NULL; - -enum { - COL_LEFT, - COL_RIGHT, - N_COLS -}; - -static const gchar *bmp_brief = - N_("<big><b>Audacious %s</b></big>\n" - "The future of UNIX multimedia.\n" - "\n" - "Copyright (C) 2005-2006 Audacious Development Team\n"); - -static const gchar *credit_text[] = { - N_("Developers:"), - N_("Giacomo Lozito"), - N_("William Pitcock"), - N_("Tony Vroon"), - NULL, - - N_("0.1.x developers:"), - N_("William Pitcock"), - N_("Mohammed Sameer"), - N_("Tony Vroon"), - NULL, - - N_("BMP Developers:"), - N_("Artem Baguinski"), - N_("Edward Brocklesby"), - N_("Chong Kai Xiong"), - N_("Milosz Derezynski"), - N_("David Lau"), - N_("Ole Andre Vadla Ravnaas"), - N_("Michiel Sikkes"), - N_("Andrei Badea"), - N_("Peter Behroozi"), - N_("Bernard Blackham"), - N_("Oliver Blin"), - N_("Tomas Bzatek"), - N_("Liviu Danicel"), - N_("Jon Dowland"), - N_("Artur Frysiak"), - N_("Sebastian Kapfer"), - N_("Lukas Koberstein"), - N_("Dan Korostelev"), - N_("Jolan Luff"), - N_("Michael Marineau"), - N_("Tim-Philipp Muller"), - N_("Julien Portalier"), - N_("Andrew Ruder"), - N_("Olivier Samyn"), - N_("Martijn Vernooij"), - NULL, - - NULL -}; - -static const gchar *translators[] = { - N_("Brazilian Portuguese:"), - N_("Philipi Pinto"), - NULL, - N_("Breton:"), - N_("Thierry Vignaud"), - NULL, - N_("Chinese:"), - N_("Chong Kai Xiong"), - N_("Chao-Hsiung Liao"), - NULL, - N_("Czech:"), - N_("Jan Narovec"), - NULL, - N_("Dutch:"), - N_("Laurens Buhler"), - NULL, - N_("Finnish:"), - N_("Pauli Virtanen"), - NULL, - N_("French:"), - N_("David Le Brun"), - NULL, - N_("German:"), - N_("Matthias Debus"), - NULL, - N_("Georgian: "), - N_("George Machitidze"), - NULL, - N_("Greek:"), - N_("Kouzinopoulos Haris"), - N_("Stavros Giannouris"), - NULL, - N_("Hindi:"), - N_("Dhananjaya Sharma"), - NULL, - N_("Hungarian:"), - N_("Laszlo Dvornik"), - NULL, - N_("Italian:"), - N_("Alessio D'Ascanio"), - NULL, - N_("Japanese:"), - N_("Dai"), - NULL, - N_("Korean:"), - N_("DongCheon Park"), - NULL, - N_("Lithuanian:"), - N_("Rimas Kudelis"), - NULL, - N_("Macedonian:"), - N_("Arangel Angov"), - NULL, - N_("Polish:"), - N_("Jacek Wolszczak"), - NULL, - N_("Romanian:"), - N_("Liviu Danicel"), - NULL, - N_("Russian:"), - N_("Pavlo Bohmat"), - N_("Dan Korostelev"), - N_("Vitaly Lipatov"), - NULL, - N_("Slovak:"), - N_("Pavel Kanzelsberger"), - NULL, - N_("Spanish:"), - N_("Francisco Javier F. Serrador"), - NULL, - N_("Swedish:"), - N_("Martin Persenius"), - NULL, - N_("Ukrainian:"), - N_("Mykola Lynnyk"), - NULL, - N_("Welsh:"), - N_("Edward Brocklesby"), - NULL, - - NULL -}; - static gboolean on_about_window_expose(GtkWidget *widget, GdkEventExpose *expose, gpointer data) { @@ -205,73 +62,6 @@ return FALSE; } -static GtkWidget * -generate_credit_list(const gchar * text[], gboolean sec_space) -{ - GtkWidget *scrollwin; - GtkWidget *treeview; - GtkListStore *list_store; - GtkTreeIter iter; - GtkTreeViewColumn *column; - GtkCellRenderer *renderer; - const gchar *const *item; - - list_store = gtk_list_store_new(N_COLS, G_TYPE_STRING, G_TYPE_STRING); - - item = text; - - while (*item) { - gtk_list_store_append(list_store, &iter); - gtk_list_store_set(list_store, &iter, - COL_LEFT, _(item[0]), COL_RIGHT, _(item[1]), -1); - item += 2; - - while (*item) { - gtk_list_store_append(list_store, &iter); - gtk_list_store_set(list_store, &iter, - COL_LEFT, "", COL_RIGHT, _(*item++), -1); - } - - ++item; - - if (*item && sec_space) { - gtk_list_store_append(list_store, &iter); - gtk_list_store_set(list_store, &iter, - COL_LEFT, "", COL_RIGHT, "", -1); - } - } - - treeview = gtk_tree_view_new_with_model(GTK_TREE_MODEL(list_store)); - gtk_tree_view_set_headers_clickable(GTK_TREE_VIEW(treeview), FALSE); - gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(treeview), FALSE); - gtk_tree_selection_set_mode(gtk_tree_view_get_selection(GTK_TREE_VIEW(treeview)), - GTK_SELECTION_NONE); - - renderer = gtk_cell_renderer_text_new(); - g_object_set(renderer, "xalign", 1.0, NULL); - column = gtk_tree_view_column_new_with_attributes("Left", renderer, - "text", COL_LEFT, NULL); - gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column); - - renderer = gtk_cell_renderer_text_new(); - g_object_set(renderer, "xalign", 0.0, NULL); - column = gtk_tree_view_column_new_with_attributes("Right", renderer, - "text", COL_RIGHT, - NULL); - gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column); - - scrollwin = gtk_scrolled_window_new(NULL, NULL); - gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrollwin), - GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); - gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(scrollwin), GTK_SHADOW_IN); - gtk_container_add(GTK_CONTAINER(scrollwin), treeview); - gtk_container_set_border_width(GTK_CONTAINER(scrollwin), 10); - - gtk_widget_show_all(scrollwin); - - return scrollwin; -} - void show_about_window(void) {
--- a/audacious/credits.c Wed Jan 25 18:37:38 2006 -0800 +++ b/audacious/credits.c Wed Jan 25 18:40:41 2006 -0800 @@ -55,8 +55,13 @@ NULL, N_("Graphics:"), + N_("George Averill"), N_("deitarion in #audacious"), - N_("NhJm in #audacious"), + NULL, + + N_("Default skin:"), + N_("George Averill"), + N_("William Pitcock"), NULL, N_("Plugin development:"),