summarylogtreecommitdiffstats
path: root/bug_1396368.patch
blob: 77572fbcc5622ac27b336ef66e3acc7d4ba66ff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- /usr/share/shutter/resources/system/upload_plugins/upload/Dropbox.pm	2015-07-09 17:58:48.000000000 +0200
+++ /home/photon/Desktop/Dropbox.pm	2016-09-11 08:21:17.113474014 +0200
@@ -195,7 +195,7 @@
 		$upload_file->close();
 
 		if(! $self->{_box}->error) {
-			$res = $self->{_box}->media($self->{_config}->{upload_folder} . "/" . basename($upload_filename));
+			$res = $self->{_box}->shares($self->{_config}->{upload_folder} . "/" . basename($upload_filename), {short_url => 0});
 		}
 
 		if(! $self->{_box}->error){