diff --git a/images/pic1.png b/images/pic1.png index 355f1f3..740e29e 100644 Binary files a/images/pic1.png and b/images/pic1.png differ diff --git a/src/core/mixins/signals/widget_signals/dialog_signals_mixin.py b/src/core/mixins/signals/widget_signals/dialog_signals_mixin.py index 50a0a70..29688d2 100644 --- a/src/core/mixins/signals/widget_signals/dialog_signals_mixin.py +++ b/src/core/mixins/signals/widget_signals/dialog_signals_mixin.py @@ -25,7 +25,8 @@ class DialogSignalsMixin(): file_chooser.add_filter(file_filter) file_chooser.set_default_response(Gtk.ResponseType.OK) - file_chooser.set_current_folder(os.path.expanduser('~')) + path = f"{os.path.expanduser('~')}/.local/share/gtksourceview-4/styles" + file_chooser.set_current_folder(path) path = None response = file_chooser.run() @@ -112,7 +113,8 @@ class DialogSignalsMixin(): file_chooser.add_filter(file_filter) file_chooser.set_default_response(Gtk.ResponseType.OK) - file_chooser.set_current_folder( os.path.expanduser('~') ) + path = f"{os.path.expanduser('~')}/.local/share/gtksourceview-4/styles" + file_chooser.set_current_folder(path) if current_name: file_chooser.set_current_name(current_name) diff --git a/user_config/bin/code-themer b/user_config/bin/gtkcodethemer similarity index 90% rename from user_config/bin/code-themer rename to user_config/bin/gtkcodethemer index 6820875..6eb4f10 100755 --- a/user_config/bin/code-themer +++ b/user_config/bin/gtkcodethemer @@ -18,6 +18,6 @@ function main() { fi cd "/opt/" - python /opt/gtk-code-themer.zip "$@" + python /opt/gtkcodethemer.zip "$@" } main "$@"; diff --git a/user_config/usr/applications/.desktop b/user_config/usr/applications/.desktop deleted file mode 100755 index d459bfb..0000000 --- a/user_config/usr/applications/.desktop +++ /dev/null @@ -1,11 +0,0 @@ -[Desktop Entry] -Name= -GenericName= -Comment= -Exec=/bin/ %F -Icon=/usr/share//icons/.png -Type=Application -StartupNotify=true -Categories=System;FileTools;Utility;Core;GTK;FileManager; -MimeType= -Terminal=false diff --git a/user_config/usr/applications/gtkcodethemer.desktop b/user_config/usr/applications/gtkcodethemer.desktop new file mode 100755 index 0000000..9a302ba --- /dev/null +++ b/user_config/usr/applications/gtkcodethemer.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Gtk Code Themer +GenericName=Code Syntax Themer. +Comment=A code syntax theming tool for Gtk Source View using tools. +Exec=/bin/gtkcodethemer %F +Icon=/usr/share/gtkcodethemer/icons/gtkcodethemer.png +Type=Application +StartupNotify=true +Categories=System;Utility;Core;GTK;Code;IDE;Development +MimeType= +Terminal=false diff --git a/user_config/usr/share/gtkcodethemer/Main_Window.glade b/user_config/usr/share/gtkcodethemer/Main_Window.glade index 41d4579..7a86e4f 100644 --- a/user_config/usr/share/gtkcodethemer/Main_Window.glade +++ b/user_config/usr/share/gtkcodethemer/Main_Window.glade @@ -411,6 +411,7 @@ True True True + 1 @@ -422,6 +423,7 @@ True True True + 1 @@ -643,6 +645,15 @@ True 2 2 + True + True + True + True + True + True + always + True + True True