Externalized items to new glade files and classes #10
|
@ -22,6 +22,13 @@ def daemon_threaded_wrapper(fn):
|
||||||
threading.Thread(target=fn, args=args, kwargs=kwargs, daemon=True).start()
|
threading.Thread(target=fn, args=args, kwargs=kwargs, daemon=True).start()
|
||||||
return wrapper
|
return wrapper
|
||||||
|
|
||||||
|
def sizeof_fmt_def(num, suffix="B"):
|
||||||
|
for unit in ["", "K", "M", "G", "T", "Pi", "Ei", "Zi"]:
|
||||||
|
if abs(num) < 1024.0:
|
||||||
|
return f"{num:3.1f} {unit}{suffix}"
|
||||||
|
num /= 1024.0
|
||||||
|
return f"{num:.1f} Yi{suffix}"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# NOTE: Just reminding myself we can add to builtins two different ways...
|
# NOTE: Just reminding myself we can add to builtins two different ways...
|
||||||
|
@ -34,4 +41,5 @@ builtins.endpoint_registry = EndpointRegistry()
|
||||||
|
|
||||||
builtins.threaded = threaded_wrapper
|
builtins.threaded = threaded_wrapper
|
||||||
builtins.daemon_threaded = daemon_threaded_wrapper
|
builtins.daemon_threaded = daemon_threaded_wrapper
|
||||||
|
builtins.sizeof_fmt = sizeof_fmt_def
|
||||||
builtins.event_sleep_time = 0.05
|
builtins.event_sleep_time = 0.05
|
||||||
|
|
|
@ -12,12 +12,14 @@ from gi.repository import Gtk
|
||||||
from gi.repository import GLib
|
from gi.repository import GLib
|
||||||
|
|
||||||
# Application imports
|
# Application imports
|
||||||
from widgets.context_menu_widget import ContextMenuWidget
|
|
||||||
from widgets.rename_widget import RenameWidget
|
from widgets.rename_widget import RenameWidget
|
||||||
|
from widgets.file_exists_widget import FileExistsWidget
|
||||||
|
from widgets.context_menu_widget import ContextMenuWidget
|
||||||
from shellfm.windows.controller import WindowController
|
from shellfm.windows.controller import WindowController
|
||||||
from plugins.plugins_controller import PluginsController
|
from plugins.plugins_controller import PluginsController
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@dataclass(slots=True)
|
@dataclass(slots=True)
|
||||||
class State:
|
class State:
|
||||||
wid: int = None
|
wid: int = None
|
||||||
|
@ -40,6 +42,7 @@ class Controller_Data:
|
||||||
self.keybindings = settings.get_keybindings()
|
self.keybindings = settings.get_keybindings()
|
||||||
|
|
||||||
RenameWidget()
|
RenameWidget()
|
||||||
|
FileExistsWidget()
|
||||||
ContextMenuWidget()
|
ContextMenuWidget()
|
||||||
|
|
||||||
self.fm_controller = WindowController()
|
self.fm_controller = WindowController()
|
||||||
|
|
|
@ -17,35 +17,6 @@ class ShowHideMixin:
|
||||||
def stop_file_searching(self, widget=None, eve=None):
|
def stop_file_searching(self, widget=None, eve=None):
|
||||||
self.is_searching = False
|
self.is_searching = False
|
||||||
|
|
||||||
def show_exists_page(self, widget=None, eve=None):
|
|
||||||
response = self.file_exists_dialog.run()
|
|
||||||
self.file_exists_dialog.hide()
|
|
||||||
|
|
||||||
if response == Gtk.ResponseType.OK:
|
|
||||||
return "rename"
|
|
||||||
if response == Gtk.ResponseType.ACCEPT:
|
|
||||||
return "rename_auto"
|
|
||||||
if response == Gtk.ResponseType.CLOSE:
|
|
||||||
return "rename_auto_all"
|
|
||||||
if response == Gtk.ResponseType.YES:
|
|
||||||
return "overwrite"
|
|
||||||
if response == Gtk.ResponseType.APPLY:
|
|
||||||
return "overwrite_all"
|
|
||||||
if response == Gtk.ResponseType.NO:
|
|
||||||
return "skip"
|
|
||||||
if response == Gtk.ResponseType.REJECT:
|
|
||||||
return "skip_all"
|
|
||||||
|
|
||||||
def hide_exists_page_rename(self, widget=None, eve=None):
|
|
||||||
self.file_exists_dialog.response(Gtk.ResponseType.OK)
|
|
||||||
|
|
||||||
def hide_exists_page_auto_rename(self, widget=None, eve=None):
|
|
||||||
self.file_exists_dialog.response(Gtk.ResponseType.ACCEPT)
|
|
||||||
|
|
||||||
def hide_exists_page_auto_rename_all(self, widget=None, eve=None):
|
|
||||||
self.file_exists_dialog.response(Gtk.ResponseType.CLOSE)
|
|
||||||
|
|
||||||
|
|
||||||
def show_about_page(self, widget=None, eve=None):
|
def show_about_page(self, widget=None, eve=None):
|
||||||
about_page = self.builder.get_object("about_page")
|
about_page = self.builder.get_object("about_page")
|
||||||
response = about_page.run()
|
response = about_page.run()
|
||||||
|
|
|
@ -20,13 +20,6 @@ from widgets.io_widget import IOWidget
|
||||||
class FileActionSignalsMixin:
|
class FileActionSignalsMixin:
|
||||||
"""docstring for FileActionSignalsMixin"""
|
"""docstring for FileActionSignalsMixin"""
|
||||||
|
|
||||||
def sizeof_fmt(self, num, suffix="B"):
|
|
||||||
for unit in ["", "K", "M", "G", "T", "Pi", "Ei", "Zi"]:
|
|
||||||
if abs(num) < 1024.0:
|
|
||||||
return f"{num:3.1f} {unit}{suffix}"
|
|
||||||
num /= 1024.0
|
|
||||||
return f"{num:.1f} Yi{suffix}"
|
|
||||||
|
|
||||||
def get_dir_size(self, sdir):
|
def get_dir_size(self, sdir):
|
||||||
"""Get the size of a directory. Based on code found online."""
|
"""Get the size of a directory. Based on code found online."""
|
||||||
size = os.path.getsize(sdir)
|
size = os.path.getsize(sdir)
|
||||||
|
@ -274,8 +267,8 @@ class FileActionSignalsMixin:
|
||||||
|
|
||||||
if _file.query_exists():
|
if _file.query_exists():
|
||||||
if not overwrite_all and not rename_auto_all:
|
if not overwrite_all and not rename_auto_all:
|
||||||
self.setup_exists_data(file, _file)
|
event_system.emit("setup_exists_data", (file, _file))
|
||||||
response = self.show_exists_page()
|
response = event_system.emit_and_await("show_exists_page")
|
||||||
|
|
||||||
if response == "overwrite_all":
|
if response == "overwrite_all":
|
||||||
overwrite_all = True
|
overwrite_all = True
|
||||||
|
@ -359,47 +352,6 @@ class FileActionSignalsMixin:
|
||||||
|
|
||||||
self.exists_file_rename_bttn.set_sensitive(False)
|
self.exists_file_rename_bttn.set_sensitive(False)
|
||||||
|
|
||||||
|
|
||||||
def setup_exists_data(self, from_file, to_file):
|
|
||||||
from_info = from_file.query_info("standard::*,time::modified", 0, cancellable=None)
|
|
||||||
to_info = to_file.query_info("standard::*,time::modified", 0, cancellable=None)
|
|
||||||
exists_file_diff_from = self.builder.get_object("exists_file_diff_from")
|
|
||||||
exists_file_diff_to = self.builder.get_object("exists_file_diff_to")
|
|
||||||
exists_file_from = self.builder.get_object("exists_file_from")
|
|
||||||
exists_file_to = self.builder.get_object("exists_file_to")
|
|
||||||
from_date = from_info.get_modification_date_time()
|
|
||||||
to_date = to_info.get_modification_date_time()
|
|
||||||
from_size = from_info.get_size()
|
|
||||||
to_size = to_info.get_size()
|
|
||||||
|
|
||||||
exists_file_from.set_label(from_file.get_parent().get_path())
|
|
||||||
exists_file_to.set_label(to_file.get_parent().get_path())
|
|
||||||
self.exists_file_label.set_label(to_file.get_basename())
|
|
||||||
self.exists_file_field.set_text(to_file.get_basename())
|
|
||||||
|
|
||||||
# Returns: -1, 0 or 1 if dt1 is less than, equal to or greater than dt2.
|
|
||||||
age = GLib.DateTime.compare(from_date, to_date)
|
|
||||||
age_text = "( same time )"
|
|
||||||
if age == -1:
|
|
||||||
age_text = "older"
|
|
||||||
if age == 1:
|
|
||||||
age_text = "newer"
|
|
||||||
|
|
||||||
size_text = "( same size )"
|
|
||||||
if from_size < to_size:
|
|
||||||
size_text = "smaller"
|
|
||||||
if from_size > to_size:
|
|
||||||
size_text = "larger"
|
|
||||||
|
|
||||||
from_label_text = f"{age_text} & {size_text}"
|
|
||||||
if age_text != "( same time )" or size_text != "( same size )":
|
|
||||||
from_label_text = f"{from_date.format('%F %R')} {self.sizeof_fmt(from_size)} ( {from_size} bytes ) ( {age_text} & {size_text} )"
|
|
||||||
to_label_text = f"{to_date.format('%F %R')} {self.sizeof_fmt(to_size)} ( {to_size} bytes )"
|
|
||||||
|
|
||||||
exists_file_diff_from.set_text(from_label_text)
|
|
||||||
exists_file_diff_to.set_text(to_label_text)
|
|
||||||
|
|
||||||
|
|
||||||
def rename_proc(self, gio_file):
|
def rename_proc(self, gio_file):
|
||||||
full_path = gio_file.get_path()
|
full_path = gio_file.get_path()
|
||||||
base_path = gio_file.get_parent().get_path()
|
base_path = gio_file.get_parent().get_path()
|
||||||
|
@ -427,16 +379,3 @@ class FileActionSignalsMixin:
|
||||||
i += 1
|
i += 1
|
||||||
|
|
||||||
return target
|
return target
|
||||||
|
|
||||||
|
|
||||||
def exists_rename_field_changed(self, widget):
|
|
||||||
nfile_name = widget.get_text().strip()
|
|
||||||
ofile_name = self.exists_file_label.get_label()
|
|
||||||
|
|
||||||
if nfile_name:
|
|
||||||
if nfile_name == ofile_name:
|
|
||||||
self.exists_file_rename_bttn.set_sensitive(False)
|
|
||||||
else:
|
|
||||||
self.exists_file_rename_bttn.set_sensitive(True)
|
|
||||||
else:
|
|
||||||
self.exists_file_rename_bttn.set_sensitive(False)
|
|
||||||
|
|
|
@ -90,8 +90,8 @@ class WindowMixin(TabMixin):
|
||||||
current_directory = tab.get_current_directory()
|
current_directory = tab.get_current_directory()
|
||||||
path_file = Gio.File.new_for_path(current_directory)
|
path_file = Gio.File.new_for_path(current_directory)
|
||||||
mount_file = path_file.query_filesystem_info(attributes="filesystem::*", cancellable=None)
|
mount_file = path_file.query_filesystem_info(attributes="filesystem::*", cancellable=None)
|
||||||
formatted_mount_free = self.sizeof_fmt( int(mount_file.get_attribute_as_string("filesystem::free")) )
|
formatted_mount_free = sizeof_fmt( int(mount_file.get_attribute_as_string("filesystem::free")) )
|
||||||
formatted_mount_size = self.sizeof_fmt( int(mount_file.get_attribute_as_string("filesystem::size")) )
|
formatted_mount_size = sizeof_fmt( int(mount_file.get_attribute_as_string("filesystem::size")) )
|
||||||
|
|
||||||
# NOTE: Hides empty trash and other desired buttons based on context.
|
# NOTE: Hides empty trash and other desired buttons based on context.
|
||||||
if self.trash_files_path == current_directory:
|
if self.trash_files_path == current_directory:
|
||||||
|
@ -117,7 +117,7 @@ class WindowMixin(TabMixin):
|
||||||
print(repr(e))
|
print(repr(e))
|
||||||
|
|
||||||
|
|
||||||
formatted_size = self.sizeof_fmt(combined_size)
|
formatted_size = sizeof_fmt(combined_size)
|
||||||
if tab.is_hiding_hidden():
|
if tab.is_hiding_hidden():
|
||||||
self.bottom_path_label.set_label(f" {len(uris)} / {tab.get_files_count()} ({formatted_size})")
|
self.bottom_path_label.set_label(f" {len(uris)} / {tab.get_files_count()} ({formatted_size})")
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -28,3 +28,15 @@ class EventSystem:
|
||||||
fn(data)
|
fn(data)
|
||||||
else:
|
else:
|
||||||
fn()
|
fn()
|
||||||
|
|
||||||
|
# NOTE: Should be used when signal has only one listener and vis-a-vis
|
||||||
|
def emit_and_await(self, event_type, data = None):
|
||||||
|
if event_type in self.subscribers:
|
||||||
|
for fn in self.subscribers[event_type]:
|
||||||
|
if data:
|
||||||
|
if hasattr(data, '__iter__') and not type(data) is str:
|
||||||
|
return fn(*data)
|
||||||
|
else:
|
||||||
|
return fn(data)
|
||||||
|
else:
|
||||||
|
return fn()
|
||||||
|
|
|
@ -0,0 +1,141 @@
|
||||||
|
# Python imports
|
||||||
|
|
||||||
|
# Lib imports
|
||||||
|
import inspect
|
||||||
|
import gi
|
||||||
|
gi.require_version('Gtk', '3.0')
|
||||||
|
from gi.repository import Gtk
|
||||||
|
from gi.repository import GLib
|
||||||
|
|
||||||
|
# Application imports
|
||||||
|
|
||||||
|
|
||||||
|
class FileExistsWidget:
|
||||||
|
"""docstring for FileExistsWidget."""
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
super(FileExistsWidget, self).__init__()
|
||||||
|
_GLADE_FILE = f"{settings.get_ui_widgets_path()}/file_exists_ui.glade"
|
||||||
|
builder = settings.get_builder()
|
||||||
|
self._builder = Gtk.Builder()
|
||||||
|
|
||||||
|
self._builder.add_from_file(_GLADE_FILE)
|
||||||
|
|
||||||
|
self.file_exists_dialog = self._builder.get_object("file_exists_dialog")
|
||||||
|
self._exists_file_label = self._builder.get_object("exists_file_label")
|
||||||
|
self._exists_file_diff_from = self._builder.get_object("exists_file_diff_from")
|
||||||
|
self._exists_file_diff_to = self._builder.get_object("exists_file_diff_to")
|
||||||
|
self._exists_file_field = self._builder.get_object("exists_file_field")
|
||||||
|
self._exists_file_from = self._builder.get_object("exists_file_from")
|
||||||
|
self._exists_file_to = self._builder.get_object("exists_file_to")
|
||||||
|
self._exists_file_rename_bttn = self._builder.get_object("exists_file_rename_bttn")
|
||||||
|
|
||||||
|
builder.expose_object(f"file_exists_dialog", self.file_exists_dialog)
|
||||||
|
builder.expose_object(f"exists_file_diff_from", self._exists_file_diff_from)
|
||||||
|
builder.expose_object(f"exists_file_diff_to", self._exists_file_diff_to)
|
||||||
|
builder.expose_object(f"exists_file_field", self._exists_file_field)
|
||||||
|
builder.expose_object(f"exists_file_rename_bttn", self._exists_file_rename_bttn)
|
||||||
|
|
||||||
|
self._setup_styling()
|
||||||
|
self._setup_signals()
|
||||||
|
self._load_widgets()
|
||||||
|
|
||||||
|
|
||||||
|
def _setup_styling(self):
|
||||||
|
...
|
||||||
|
|
||||||
|
def _setup_signals(self):
|
||||||
|
event_system.subscribe("setup_exists_data", self.setup_exists_data)
|
||||||
|
event_system.subscribe("show_exists_page", self.show_exists_page)
|
||||||
|
|
||||||
|
|
||||||
|
classes = [self]
|
||||||
|
handlers = {}
|
||||||
|
for c in classes:
|
||||||
|
methods = None
|
||||||
|
try:
|
||||||
|
methods = inspect.getmembers(c, predicate=inspect.ismethod)
|
||||||
|
handlers.update(methods)
|
||||||
|
except Exception as e:
|
||||||
|
print(repr(e))
|
||||||
|
|
||||||
|
self._builder.connect_signals(handlers)
|
||||||
|
|
||||||
|
def _load_widgets(self):
|
||||||
|
...
|
||||||
|
|
||||||
|
def show_exists_page(self, widget=None, eve=None):
|
||||||
|
response = self.file_exists_dialog.run()
|
||||||
|
self.file_exists_dialog.hide()
|
||||||
|
|
||||||
|
if response == Gtk.ResponseType.OK:
|
||||||
|
return "rename"
|
||||||
|
if response == Gtk.ResponseType.ACCEPT:
|
||||||
|
return "rename_auto"
|
||||||
|
if response == Gtk.ResponseType.CLOSE:
|
||||||
|
return "rename_auto_all"
|
||||||
|
if response == Gtk.ResponseType.YES:
|
||||||
|
return "overwrite"
|
||||||
|
if response == Gtk.ResponseType.APPLY:
|
||||||
|
return "overwrite_all"
|
||||||
|
if response == Gtk.ResponseType.NO:
|
||||||
|
return "skip"
|
||||||
|
if response == Gtk.ResponseType.REJECT:
|
||||||
|
return "skip_all"
|
||||||
|
|
||||||
|
def hide_exists_page_rename(self, widget=None, eve=None):
|
||||||
|
self.file_exists_dialog.response(Gtk.ResponseType.OK)
|
||||||
|
|
||||||
|
def hide_exists_page_auto_rename(self, widget=None, eve=None):
|
||||||
|
self.file_exists_dialog.response(Gtk.ResponseType.ACCEPT)
|
||||||
|
|
||||||
|
def hide_exists_page_auto_rename_all(self, widget=None, eve=None):
|
||||||
|
self.file_exists_dialog.response(Gtk.ResponseType.CLOSE)
|
||||||
|
|
||||||
|
def setup_exists_data(self, from_file, to_file):
|
||||||
|
from_info = from_file.query_info("standard::*,time::modified", 0, cancellable=None)
|
||||||
|
to_info = to_file.query_info("standard::*,time::modified", 0, cancellable=None)
|
||||||
|
from_date = from_info.get_modification_date_time()
|
||||||
|
to_date = to_info.get_modification_date_time()
|
||||||
|
from_size = from_info.get_size()
|
||||||
|
to_size = to_info.get_size()
|
||||||
|
|
||||||
|
self._exists_file_from.set_label(from_file.get_parent().get_path())
|
||||||
|
self._exists_file_to.set_label(to_file.get_parent().get_path())
|
||||||
|
self._exists_file_label.set_label(to_file.get_basename())
|
||||||
|
self._exists_file_field.set_text(to_file.get_basename())
|
||||||
|
|
||||||
|
# Returns: -1, 0 or 1 if dt1 is less than, equal to or greater than dt2.
|
||||||
|
age = GLib.DateTime.compare(from_date, to_date)
|
||||||
|
age_text = "( same time )"
|
||||||
|
if age == -1:
|
||||||
|
age_text = "older"
|
||||||
|
if age == 1:
|
||||||
|
age_text = "newer"
|
||||||
|
|
||||||
|
size_text = "( same size )"
|
||||||
|
if from_size < to_size:
|
||||||
|
size_text = "smaller"
|
||||||
|
if from_size > to_size:
|
||||||
|
size_text = "larger"
|
||||||
|
|
||||||
|
from_label_text = f"{age_text} & {size_text}"
|
||||||
|
if age_text != "( same time )" or size_text != "( same size )":
|
||||||
|
from_label_text = f"{from_date.format('%F %R')} {sizeof_fmt(from_size)} ( {from_size} bytes ) ( {age_text} & {size_text} )"
|
||||||
|
to_label_text = f"{to_date.format('%F %R')} {sizeof_fmt(to_size)} ( {to_size} bytes )"
|
||||||
|
|
||||||
|
self._exists_file_diff_from.set_text(from_label_text)
|
||||||
|
self._exists_file_diff_to.set_text(to_label_text)
|
||||||
|
|
||||||
|
|
||||||
|
def exists_rename_field_changed(self, widget):
|
||||||
|
nfile_name = widget.get_text().strip()
|
||||||
|
ofile_name = self._exists_file_label.get_label()
|
||||||
|
|
||||||
|
if nfile_name:
|
||||||
|
if nfile_name == ofile_name:
|
||||||
|
self._exists_file_rename_bttn.set_sensitive(False)
|
||||||
|
else:
|
||||||
|
self._exists_file_rename_bttn.set_sensitive(True)
|
||||||
|
else:
|
||||||
|
self._exists_file_rename_bttn.set_sensitive(False)
|
|
@ -4,7 +4,6 @@
|
||||||
import inspect
|
import inspect
|
||||||
import gi
|
import gi
|
||||||
gi.require_version('Gtk', '3.0')
|
gi.require_version('Gtk', '3.0')
|
||||||
from gi.repository import Gtk
|
|
||||||
gi.require_version('Gdk', '3.0')
|
gi.require_version('Gdk', '3.0')
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
from gi.repository import Gdk
|
from gi.repository import Gdk
|
||||||
|
|
|
@ -1352,339 +1352,6 @@ SolarFM is developed on Atom, git, and using Python 3+ with Gtk GObject introspe
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
<object class="GtkDialog" id="file_exists_dialog">
|
|
||||||
<property name="height-request">120</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="resizable">False</property>
|
|
||||||
<property name="modal">True</property>
|
|
||||||
<property name="window-position">center-always</property>
|
|
||||||
<property name="destroy-with-parent">True</property>
|
|
||||||
<property name="type-hint">dialog</property>
|
|
||||||
<property name="skip-taskbar-hint">True</property>
|
|
||||||
<property name="skip-pager-hint">True</property>
|
|
||||||
<property name="urgency-hint">True</property>
|
|
||||||
<property name="decorated">False</property>
|
|
||||||
<property name="deletable">False</property>
|
|
||||||
<property name="gravity">center</property>
|
|
||||||
<property name="attached-to">main_window</property>
|
|
||||||
<child internal-child="vbox">
|
|
||||||
<object class="GtkBox">
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="margin-left">5</property>
|
|
||||||
<property name="margin-right">5</property>
|
|
||||||
<property name="margin-top">5</property>
|
|
||||||
<property name="margin-bottom">5</property>
|
|
||||||
<property name="orientation">vertical</property>
|
|
||||||
<property name="spacing">2</property>
|
|
||||||
<child internal-child="action_area">
|
|
||||||
<object class="GtkButtonBox">
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="layout-style">end</property>
|
|
||||||
<child>
|
|
||||||
<object class="GtkButton" id="button5">
|
|
||||||
<property name="label" translatable="yes">Overwrite</property>
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">True</property>
|
|
||||||
<property name="receives-default">True</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">0</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkButton" id="button6">
|
|
||||||
<property name="label" translatable="yes">Overwrite (All)</property>
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">True</property>
|
|
||||||
<property name="receives-default">True</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkButton" id="button7">
|
|
||||||
<property name="label" translatable="yes">Skip</property>
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">True</property>
|
|
||||||
<property name="receives-default">True</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">2</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkButton" id="button8">
|
|
||||||
<property name="label" translatable="yes">Skip (All)</property>
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">True</property>
|
|
||||||
<property name="receives-default">True</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">3</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">False</property>
|
|
||||||
<property name="position">0</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkBox">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="orientation">vertical</property>
|
|
||||||
<child>
|
|
||||||
<object class="GtkLabel">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="label" translatable="yes">Filename already exists. Please rename or select an action.</property>
|
|
||||||
<property name="xalign">0.10000000149011612</property>
|
|
||||||
<attributes>
|
|
||||||
<attribute name="scale" value="1.5"/>
|
|
||||||
</attributes>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">0</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkBox">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="margin-top">15</property>
|
|
||||||
<property name="margin-bottom">10</property>
|
|
||||||
<child>
|
|
||||||
<object class="GtkLabel">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="label" translatable="yes">Moving From:</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">0</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkLabel" id="exists_file_from">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkLabel" id="exists_file_diff_from">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="xalign">0</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">2</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkBox">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="margin-top">20</property>
|
|
||||||
<property name="margin-bottom">10</property>
|
|
||||||
<child>
|
|
||||||
<object class="GtkLabel">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="label" translatable="yes">Moving To:</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">0</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkLabel" id="exists_file_to">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">3</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkLabel" id="exists_file_diff_to">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="xalign">0</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">4</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkBox">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="margin-top">20</property>
|
|
||||||
<child>
|
|
||||||
<object class="GtkLabel">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="label" translatable="yes">Filename:</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">0</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkLabel" id="exists_file_label">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">5</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkEntry" id="exists_file_field">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">True</property>
|
|
||||||
<signal name="changed" handler="exists_rename_field_changed" swapped="no"/>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">6</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkButtonBox">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="spacing">20</property>
|
|
||||||
<property name="baseline-position">top</property>
|
|
||||||
<property name="layout-style">start</property>
|
|
||||||
<child>
|
|
||||||
<placeholder/>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkButton" id="exists_file_rename_bttn">
|
|
||||||
<property name="label" translatable="yes">Rename</property>
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="sensitive">False</property>
|
|
||||||
<property name="can-focus">True</property>
|
|
||||||
<property name="receives-default">True</property>
|
|
||||||
<signal name="button-release-event" handler="hide_exists_page_rename" swapped="no"/>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
<property name="secondary">True</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkButton">
|
|
||||||
<property name="label" translatable="yes">Auto Rename</property>
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">True</property>
|
|
||||||
<property name="receives-default">True</property>
|
|
||||||
<signal name="button-release-event" handler="hide_exists_page_auto_rename" swapped="no"/>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">2</property>
|
|
||||||
<property name="secondary">True</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkButton">
|
|
||||||
<property name="label" translatable="yes">Auto Rename All</property>
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">True</property>
|
|
||||||
<property name="receives-default">True</property>
|
|
||||||
<signal name="button-release-event" handler="hide_exists_page_auto_rename_all" swapped="no"/>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">3</property>
|
|
||||||
<property name="secondary">True</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">7</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
<action-widgets>
|
|
||||||
<action-widget response="-8">button5</action-widget>
|
|
||||||
<action-widget response="-10">button6</action-widget>
|
|
||||||
<action-widget response="-9">button7</action-widget>
|
|
||||||
<action-widget response="-2">button8</action-widget>
|
|
||||||
</action-widgets>
|
|
||||||
<style>
|
|
||||||
<class name="alert-border"/>
|
|
||||||
</style>
|
|
||||||
</object>
|
|
||||||
<object class="GtkPopover" id="io_popup">
|
<object class="GtkPopover" id="io_popup">
|
||||||
<property name="can-focus">False</property>
|
<property name="can-focus">False</property>
|
||||||
<property name="relative-to">io_button</property>
|
<property name="relative-to">io_button</property>
|
||||||
|
|
|
@ -0,0 +1,337 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Generated with glade 3.40.0 -->
|
||||||
|
<interface>
|
||||||
|
<requires lib="gtk+" version="3.22"/>
|
||||||
|
<object class="GtkDialog" id="file_exists_dialog">
|
||||||
|
<property name="height-request">120</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="resizable">False</property>
|
||||||
|
<property name="modal">True</property>
|
||||||
|
<property name="window-position">center-always</property>
|
||||||
|
<property name="destroy-with-parent">True</property>
|
||||||
|
<property name="type-hint">dialog</property>
|
||||||
|
<property name="skip-taskbar-hint">True</property>
|
||||||
|
<property name="skip-pager-hint">True</property>
|
||||||
|
<property name="urgency-hint">True</property>
|
||||||
|
<property name="decorated">False</property>
|
||||||
|
<property name="deletable">False</property>
|
||||||
|
<property name="gravity">center</property>
|
||||||
|
<child internal-child="vbox">
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="margin-left">5</property>
|
||||||
|
<property name="margin-right">5</property>
|
||||||
|
<property name="margin-top">5</property>
|
||||||
|
<property name="margin-bottom">5</property>
|
||||||
|
<property name="orientation">vertical</property>
|
||||||
|
<property name="spacing">2</property>
|
||||||
|
<child internal-child="action_area">
|
||||||
|
<object class="GtkButtonBox">
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="layout-style">end</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton" id="button5">
|
||||||
|
<property name="label" translatable="yes">Overwrite</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">True</property>
|
||||||
|
<property name="receives-default">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">0</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton" id="button6">
|
||||||
|
<property name="label" translatable="yes">Overwrite (All)</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">True</property>
|
||||||
|
<property name="receives-default">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton" id="button7">
|
||||||
|
<property name="label" translatable="yes">Skip</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">True</property>
|
||||||
|
<property name="receives-default">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">2</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton" id="button8">
|
||||||
|
<property name="label" translatable="yes">Skip (All)</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">True</property>
|
||||||
|
<property name="receives-default">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">3</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">False</property>
|
||||||
|
<property name="position">0</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="orientation">vertical</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="label" translatable="yes">Filename already exists. Please rename or select an action.</property>
|
||||||
|
<property name="xalign">0.10000000149011612</property>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="scale" value="1.5"/>
|
||||||
|
</attributes>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">0</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="margin-top">15</property>
|
||||||
|
<property name="margin-bottom">10</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="label" translatable="yes">Moving From:</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">0</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="exists_file_from">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="exists_file_diff_from">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">2</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="margin-top">20</property>
|
||||||
|
<property name="margin-bottom">10</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="label" translatable="yes">Moving To:</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">0</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="exists_file_to">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">3</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="exists_file_diff_to">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">4</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="margin-top">20</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="label" translatable="yes">Filename:</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">0</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="exists_file_label">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">5</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkEntry" id="exists_file_field">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">True</property>
|
||||||
|
<signal name="changed" handler="exists_rename_field_changed" swapped="no"/>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">6</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButtonBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="spacing">20</property>
|
||||||
|
<property name="baseline-position">top</property>
|
||||||
|
<property name="layout-style">start</property>
|
||||||
|
<child>
|
||||||
|
<placeholder/>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton" id="exists_file_rename_bttn">
|
||||||
|
<property name="label" translatable="yes">Rename</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="sensitive">False</property>
|
||||||
|
<property name="can-focus">True</property>
|
||||||
|
<property name="receives-default">True</property>
|
||||||
|
<signal name="button-release-event" handler="hide_exists_page_rename" swapped="no"/>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
<property name="secondary">True</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton">
|
||||||
|
<property name="label" translatable="yes">Auto Rename</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">True</property>
|
||||||
|
<property name="receives-default">True</property>
|
||||||
|
<signal name="button-release-event" handler="hide_exists_page_auto_rename" swapped="no"/>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">2</property>
|
||||||
|
<property name="secondary">True</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton">
|
||||||
|
<property name="label" translatable="yes">Auto Rename All</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">True</property>
|
||||||
|
<property name="receives-default">True</property>
|
||||||
|
<signal name="button-release-event" handler="hide_exists_page_auto_rename_all" swapped="no"/>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">3</property>
|
||||||
|
<property name="secondary">True</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">7</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<action-widgets>
|
||||||
|
<action-widget response="-8">button5</action-widget>
|
||||||
|
<action-widget response="-10">button6</action-widget>
|
||||||
|
<action-widget response="-9">button7</action-widget>
|
||||||
|
<action-widget response="-2">button8</action-widget>
|
||||||
|
</action-widgets>
|
||||||
|
<style>
|
||||||
|
<class name="alert-border"/>
|
||||||
|
</style>
|
||||||
|
</object>
|
||||||
|
</interface>
|
Loading…
Reference in New Issue