mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
f105fc7187
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
47 lines
2 KiB
Diff
47 lines
2 KiB
Diff
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
|
|
|