comparison audacious/main.c @ 257:256b3acc87d4 trunk

[svn] Properly report Audacious instead of XMMS or BMP in all places. Patch by laci; closes bug #379.
author chainsaw
date Sun, 04 Dec 2005 09:29:14 -0800
parents f31b2fc0f49d
children 763afa52f416
comparison
equal deleted inserted replaced
256:84aabc053b6e 257:256b3acc87d4
641 g_print("\n-h, --help "); 641 g_print("\n-h, --help ");
642 /* -h, --help switch */ 642 /* -h, --help switch */
643 g_print(_("Display this text and exit")); 643 g_print(_("Display this text and exit"));
644 g_print("\n-n, --session "); 644 g_print("\n-n, --session ");
645 /* -n, --session switch */ 645 /* -n, --session switch */
646 g_print(_("Select audacious/BMP/XMMS session (Default: 0)")); 646 g_print(_("Select Audacious/BMP/XMMS session (Default: 0)"));
647 g_print("\n-r, --rew "); 647 g_print("\n-r, --rew ");
648 /* -r, --rew switch */ 648 /* -r, --rew switch */
649 g_print(_("Skip backwards in playlist")); 649 g_print(_("Skip backwards in playlist"));
650 g_print("\n-p, --play "); 650 g_print("\n-p, --play ");
651 /* -p, --play switch */ 651 /* -p, --play switch */
668 g_print("\n-m, --show-main-window "); 668 g_print("\n-m, --show-main-window ");
669 /* -m, --show-main-window switch */ 669 /* -m, --show-main-window switch */
670 g_print(_("Show the main window")); 670 g_print(_("Show the main window"));
671 g_print("\n-a, --activate "); 671 g_print("\n-a, --activate ");
672 /* -a, --activate switch */ 672 /* -a, --activate switch */
673 g_print(_("Activate audacious")); 673 g_print(_("Activate Audacious"));
674 g_print("\n-i, --sm-client-id "); 674 g_print("\n-i, --sm-client-id ");
675 /* -i, --sm-client-id switch */ 675 /* -i, --sm-client-id switch */
676 g_print(_("Previous session ID")); 676 g_print(_("Previous session ID"));
677 g_print("\n-H, --headless "); 677 g_print("\n-H, --headless ");
678 /* -h, --headless switch */ 678 /* -h, --headless switch */
915 bmp_setup_logger(); 915 bmp_setup_logger();
916 916
917 /* Check GTK version. Really, this is only needed for binary 917 /* Check GTK version. Really, this is only needed for binary
918 * distribution since configure already checks. */ 918 * distribution since configure already checks. */
919 if (!GTK_CHECK_VERSION(2, 4, 0)) { 919 if (!GTK_CHECK_VERSION(2, 4, 0)) {
920 g_printerr(_("Sorry, your GTK+ version (%d.%d.%d) does not work with audacious.\n" 920 g_printerr(_("Sorry, your GTK+ version (%d.%d.%d) does not work with Audacious.\n"
921 "Please use GTK+ %s or newer.\n"), 921 "Please use GTK+ %s or newer.\n"),
922 gtk_major_version, gtk_minor_version, gtk_micro_version, 922 gtk_major_version, gtk_minor_version, gtk_micro_version,
923 "2.4.0"); 923 "2.4.0");
924 exit(EXIT_FAILURE); 924 exit(EXIT_FAILURE);
925 } 925 }