diff --git a/README.md b/README.md index e917bcb..dece57f 100644 --- a/README.md +++ b/README.md @@ -53,3 +53,12 @@ Made for peoples all needed download manager thank you all for the support and donations. we will continue to strive to make gabutdm a useful application.

+ +**PayPal** +You can transfer to my paypal account `torikhabib` or just click [PayPal Me](https://www.paypal.com/paypalme/TorikulHabib?locale.x=id_ID) + +**Bitcoin** +Bitcoin Address `19mZDWzZgzkHCi9YX9H3fYCUuCHq3W6wfT` + +**Saweria** +![alt text](image.png) \ No newline at end of file diff --git a/image.png b/image.png new file mode 100644 index 0000000..7d40346 Binary files /dev/null and b/image.png differ diff --git a/meson.build b/meson.build index 629f820..03c83de 100644 --- a/meson.build +++ b/meson.build @@ -10,7 +10,6 @@ dependencies = [ dependency ('glib-2.0'), dependency ('gtk4'), dependency ('sqlite3'), - dependency ('libcanberra'), dependency ('libsoup-3.0'), dependency ('gee-0.8'), dependency ('json-glib-1.0'), diff --git a/src/Application.vala b/src/Application.vala index a98ed86..1cf45d2 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -74,7 +74,6 @@ namespace Gabut { if (open_database (out gabutdb) != Sqlite.OK) { notify_app (_("Database Error"), _("Can't open database: %s\n").printf (gabutdb.errmsg ()), new ThemedIcon ("office-database")); - play_sound ("dialog-error"); } settings_table (); if (!bool.parse (get_dbsetting (DBSettings.STARTUP)) && startingup) { @@ -179,7 +178,6 @@ namespace Gabut { pantheon_theme.begin (); gabutwindow.load_dowanload (); download_table (); - play_sound ("bell"); if (!startingup && !dontopen) { gabutwindow.show (); } diff --git a/src/DownloadRow.vala b/src/DownloadRow.vala index 053d893..e8da5b7 100644 --- a/src/DownloadRow.vala +++ b/src/DownloadRow.vala @@ -107,7 +107,6 @@ namespace Gabut { if (filename != null) { GLib.Application.get_default ().lookup_action ("destroy").activate (new Variant.string (ariagid)); notify_app (_("Download Complete"), filename, imagefile.gicon); - play_sound ("complete"); if (bool.parse (get_dbsetting (DBSettings.DIALOGNOTIF))) { if (pathname != null && pathname != "" && fileordir != "" && fileordir != null) { send_dialog (); @@ -152,7 +151,6 @@ namespace Gabut { labeltransfer = get_aria_error (int.parse (aria_tell_status (ariagid, TellStatus.ERRORCODE))); if (filename != null) { notify_app (_("Download Error"), filename, imagefile.gicon); - play_sound ("com.github.gabutakut.gabutdm.error"); } aria_remove (ariagid); } @@ -464,7 +462,6 @@ namespace Gabut { } else { notify_app (_("Starting"), url, new ThemedIcon ("com.github.gabutakut.gabutdm.insertlink")); } - play_sound ("device-added"); } public void idle_progress () { diff --git a/src/GabutServer.vala b/src/GabutServer.vala index d06a611..3eb1b3b 100644 --- a/src/GabutServer.vala +++ b/src/GabutServer.vala @@ -93,10 +93,8 @@ namespace Gabut { if (!filed.query_exists ()) { write_file.begin (body, filed.get_path ()); notify_app (_("File Transfered"), _("%s").printf (filename), new ThemedIcon (GLib.ContentType.get_generic_icon_name (headers.get_content_type (null)))); - play_sound ("complete"); } else { notify_app (_("File Exist"), _("%s").printf (filename), new ThemedIcon (GLib.ContentType.get_generic_icon_name (headers.get_content_type (null)))); - play_sound ("dialog-error"); } } msg.set_status (Soup.Status.OK, "OK"); @@ -106,7 +104,6 @@ namespace Gabut { if (reslink != "") { if (reslink.has_prefix ("http://") || reslink.has_prefix ("https://") || reslink.has_prefix ("ftp://") || reslink.has_prefix ("sftp://")) { notify_app (_("Open Link"), reslink, new ThemedIcon ("insert-link")); - play_sound ("complete"); open_fileman.begin (reslink); } } diff --git a/src/Utils.vala b/src/Utils.vala index c66d5ed..92e5864 100644 --- a/src/Utils.vala +++ b/src/Utils.vala @@ -2414,20 +2414,6 @@ namespace Gabut { } } - private static void play_sound (string canbera) { - if (!bool.parse (get_dbsetting (DBSettings.NOTIFSOUND))) { - return; - } - Canberra.Context context; - Canberra.Proplist props; - Canberra.Context.create (out context); - Canberra.Proplist.create (out props); - props.sets (Canberra.PROP_EVENT_ID, canbera); - props.sets (Canberra.PROP_CANBERRA_CACHE_CONTROL, "permanent"); - props.sets (Canberra.PROP_MEDIA_ROLE, "event"); - context.play_full (0, props); - } - private File[] run_open_file (Gtk.Window window) { var loopop = new GLib.MainLoop (null, false); var filechooser = new Gtk.FileChooserNative (_("Open Torrent Or Metalink"), window, Gtk.FileChooserAction.OPEN, _("Open"), _("Cancel")) {