Mercurial > audlegacy
changeset 4151:2cf487878044
finally got rid of the stupid ID shit which was one of the reasons i
joined this project and began this restucturing ;-) mission accomplished!
author | mf0102 <0102@gmx.at> |
---|---|
date | Thu, 03 Jan 2008 15:46:03 +0100 |
parents | b2cc1bf8e4fa |
children | 9289b6b424cd |
files | src/audacious/ui_preferences.c |
diffstat | 1 files changed, 7 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/ui_preferences.c Thu Jan 03 15:40:16 2008 +0100 +++ b/src/audacious/ui_preferences.c Thu Jan 03 15:46:03 2008 +0100 @@ -86,7 +86,6 @@ typedef struct { const gchar *icon_path; const gchar *name; - gint id; } Category; typedef struct { @@ -124,12 +123,12 @@ GtkTooltips *tooltips; static Category categories[] = { - {DATA_DIR "/images/appearance.png", N_("Appearance"), 0}, - {DATA_DIR "/images/audio.png", N_("Audio"), 1}, - {DATA_DIR "/images/connectivity.png", N_("Connectivity"), 2}, - {DATA_DIR "/images/mouse.png", N_("Mouse"), 3}, - {DATA_DIR "/images/playlist.png", N_("Playlist"), 4}, - {DATA_DIR "/images/plugins.png", N_("Plugins"), 5}, + {DATA_DIR "/images/appearance.png", N_("Appearance")}, + {DATA_DIR "/images/audio.png", N_("Audio")}, + {DATA_DIR "/images/connectivity.png", N_("Connectivity")}, + {DATA_DIR "/images/mouse.png", N_("Mouse")}, + {DATA_DIR "/images/playlist.png", N_("Playlist")}, + {DATA_DIR "/images/plugins.png", N_("Plugins")}, }; static gint n_categories = G_N_ELEMENTS(categories); @@ -978,7 +977,7 @@ CATEGORY_VIEW_COL_ICON, img, CATEGORY_VIEW_COL_NAME, gettext(categories[i].name), CATEGORY_VIEW_COL_ID, - categories[i].id, -1); + i, -1); g_object_unref(img); }