diff --git a/README.md b/README.md
index 63ac6c4..18dc13f 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,6 @@ SolarFM is a Gtk + Python file manager.
Add path bar search dropdown.
Add "execute" and "execute in terminal" context options.
Add "go to trash" and "delete all trash" options.
-Add save button for "show errors" dropdown.
Add simpleish plugin system to run bash/python scripts.
Add DnD context awareness for over folder drop.
diff --git a/src/versions/solarfm-0.0.1/SolarFM/new/solarfm/resources/Main_Window.glade b/src/versions/solarfm-0.0.1/SolarFM/new/solarfm/resources/Main_Window.glade
index e9afc36..36f0336 100644
--- a/src/versions/solarfm-0.0.1/SolarFM/new/solarfm/resources/Main_Window.glade
+++ b/src/versions/solarfm-0.0.1/SolarFM/new/solarfm/resources/Main_Window.glade
@@ -1421,23 +1421,50 @@ SolarFM is developed on Atom, git, and using Python 3+ with Gtk GObject introspe
controll_box
bottom
-
diff --git a/src/versions/solarfm-0.0.1/SolarFM/new/solarfm/signal_classes/Controller.py b/src/versions/solarfm-0.0.1/SolarFM/new/solarfm/signal_classes/Controller.py
index acf2edc..d01b32a 100644
--- a/src/versions/solarfm-0.0.1/SolarFM/new/solarfm/signal_classes/Controller.py
+++ b/src/versions/solarfm-0.0.1/SolarFM/new/solarfm/signal_classes/Controller.py
@@ -82,6 +82,27 @@ class Controller(Controller_Data, ShowHideMixin, KeyboardSignalsMixin, WidgetFil
time.sleep(seconds)
GLib.idle_add(self.message_widget.popdown)
+ def save_debug_alerts(self, widget=None, eve=None):
+ start_itr, end_itr = self.message_buffer.get_bounds()
+ save_location_prompt = Gtk.FileChooserDialog("Choose Save Folder", self.window, \
+ action = Gtk.FileChooserAction.SAVE, \
+ buttons = (Gtk.STOCK_CANCEL, \
+ Gtk.ResponseType.CANCEL, \
+ Gtk.STOCK_SAVE, \
+ Gtk.ResponseType.OK))
+
+ text = self.message_buffer.get_text(start_itr, end_itr, False)
+ resp = save_location_prompt.run()
+ if (resp == Gtk.ResponseType.CANCEL) or (resp == Gtk.ResponseType.DELETE_EVENT):
+ pass
+ elif resp == Gtk.ResponseType.OK:
+ target = save_location_prompt.get_filename();
+ with open(target, "w") as f:
+ f.write(text)
+
+ save_location_prompt.destroy()
+
+
def do_edit_files(self, widget=None, eve=None):
diff --git a/src/versions/solarfm-0.0.1/SolarFM/new/solarfm/signal_classes/ShowHideMixin.py b/src/versions/solarfm-0.0.1/SolarFM/new/solarfm/signal_classes/ShowHideMixin.py
index 886aa08..84dccab 100644
--- a/src/versions/solarfm-0.0.1/SolarFM/new/solarfm/signal_classes/ShowHideMixin.py
+++ b/src/versions/solarfm-0.0.1/SolarFM/new/solarfm/signal_classes/ShowHideMixin.py
@@ -15,7 +15,7 @@ class ShowHideMixin:
def show_about_page(self, widget=None, eve=None):
about_page = self.builder.get_object("about_page")
response = about_page.run()
- if response == -4:
+ if (response == Gtk.ResponseType.CANCEL) or (response == Gtk.ResponseType.DELETE_EVENT):
self.hide_about_page()
def hide_about_page(self, widget=None, eve=None):
diff --git a/src/versions/solarfm-0.0.1/SolarFM/new/solarfm/signal_classes/mixins/WidgetMixin.py b/src/versions/solarfm-0.0.1/SolarFM/new/solarfm/signal_classes/mixins/WidgetMixin.py
index 743f8b9..e574ad3 100644
--- a/src/versions/solarfm-0.0.1/SolarFM/new/solarfm/signal_classes/mixins/WidgetMixin.py
+++ b/src/versions/solarfm-0.0.1/SolarFM/new/solarfm/signal_classes/mixins/WidgetMixin.py
@@ -76,7 +76,6 @@ class WidgetMixin:
return None
except Exception as e:
print("System icon generation issue:")
- print( repr(e) )
return None
@@ -91,8 +90,6 @@ class WidgetMixin:
label.set_label(f"{view.get_end_of_path()}")
label.set_width_chars(len(view.get_end_of_path()))
- # label.set_margin_start(5)
- # label.set_margin_end(15)
label.set_xalign(0.0)
tid.set_label(f"{view.id}")