1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
diff -Naur variety-0.6.3.orig/variety/PreferencesVarietyDialog.py variety-0.6.3/variety/PreferencesVarietyDialog.py
--- variety-0.6.3.orig/variety/PreferencesVarietyDialog.py 2016-11-01 19:59:39.000000000 +0100
+++ variety-0.6.3/variety/PreferencesVarietyDialog.py 2017-01-25 21:53:29.419376574 +0100
@@ -32,7 +32,6 @@
from variety.AddFlickrDialog import AddFlickrDialog
from variety.AddMediaRssDialog import AddMediaRssDialog
from variety.AddRedditDialog import AddRedditDialog
-from variety.AddPanoramioDialog import AddPanoramioDialog
from variety.EditFavoriteOperationsDialog import EditFavoriteOperationsDialog
from variety.SmartFeaturesConfirmationDialog import SmartFeaturesConfirmationDialog
from variety.LoginOrRegisterDialog import LoginOrRegisterDialog
@@ -64,7 +63,6 @@
EDITABLE_TYPES = [
Options.SourceType.FLICKR,
Options.SourceType.MEDIA_RSS,
- Options.SourceType.PANORAMIO,
Options.SourceType.WALLHAVEN,
Options.SourceType.REDDIT,
]
@@ -381,7 +379,6 @@
'-',
(_("Flickr"), self.on_add_flickr_clicked),
(_("Wallhaven.cc"), self.on_add_wallhaven_clicked),
- (_("Panoramio"), self.on_add_panoramio_clicked),
(_("Reddit"), self.on_add_reddit_clicked),
(_("Media RSS"), self.on_add_mediarss_clicked),
]
@@ -672,8 +669,6 @@
self.dialog = AddRedditDialog()
elif type == Options.SourceType.MEDIA_RSS:
self.dialog = AddMediaRssDialog()
- elif type == Options.SourceType.PANORAMIO:
- self.dialog = AddPanoramioDialog()
self.dialog.set_edited_row(edited_row)
self.show_dialog(self.dialog)
@@ -786,9 +781,6 @@
def on_add_wallhaven_clicked(self, widget=None):
self.show_dialog(AddWallhavenDialog())
- def on_add_panoramio_clicked(self, widget=None):
- self.show_dialog(AddPanoramioDialog())
-
def show_dialog(self, dialog):
self.dialog = dialog
self.dialog.parent = self
|