Mercurial > audlegacy-plugins
comparison src/bluetooth/bluetooth.c @ 2930:acfa92d9ff5e
bluetooth headset plugin about box
| author | Paula Stanciu <paula.stanciu@gmail.com> |
|---|---|
| date | Wed, 20 Aug 2008 22:42:30 +0300 |
| parents | 223822ba79f2 |
| children | 3134a0987162 |
comparison
equal
deleted
inserted
replaced
| 2929:3868d67e7d19 | 2930:acfa92d9ff5e |
|---|---|
| 98 | 98 |
| 99 } | 99 } |
| 100 | 100 |
| 101 void bt_about( void ) | 101 void bt_about( void ) |
| 102 { | 102 { |
| 103 printf("about call\n"); | 103 static GtkWidget *dialog; |
| 104 dbus_g_object_register_marshaller(marshal_VOID__STRING_UINT_INT, G_TYPE_NONE, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_INT, G_TYPE_INVALID); | 104 |
| 105 dbus_g_proxy_call(obj,"RemoveBonding",NULL,G_TYPE_STRING,((DeviceData*)(selected_dev->data))->address,G_TYPE_INVALID,G_TYPE_INVALID); | 105 dialog = audacious_info_dialog (_("Bluetooth headset support plugin"), |
| 106 _("Bluetooth headset support\n" | |
| 107 "Copyright (c) 2008 Paula Stanciu paula.stanciu@gmail.com\n" | |
| 108 "This was a GSoC 2008 Project - Many thanks to my mentor Tony Vroon and the Audacious team\n \n" | |
| 109 "In order to use the AVRCP you need the uinput module loaded into the kernel\n" | |
| 110 "The headset keys will be recognized as normal mutimedia keys and \n" | |
| 111 "can be configured using the Audacious Global Hotkey plugin or ohter tools \n" | |
| 112 "provided by your window manager\n" | |
| 113 ), | |
| 114 _("OK"), TRUE, NULL, NULL); | |
| 115 | |
| 116 gtk_signal_connect(GTK_OBJECT(dialog), "destroy", | |
| 117 GTK_SIGNAL_FUNC(gtk_widget_destroyed), &dialog); | |
| 106 | 118 |
| 107 } | 119 } |
| 108 | 120 |
| 109 void bt_cfg(void) | 121 void bt_cfg(void) |
| 110 { | 122 { |
