diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-06-14 20:36:17 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-06-14 20:36:17 +0200 |
commit | 31804433d72460cbe0a39f9f8ea5e76058d84cda (patch) | |
tree | 2084a84c39f159c6aea254775dc0880d52579d45 /src/data_imports/DataImportsUI.vala | |
parent | a9898fb3f39c44a85876930ef6b2558052569ae6 (diff) | |
parent | d443a3c2509889533ca812c163056bace396b586 (diff) |
Update upstream source from tag 'upstream/0.32.1'
Update to upstream version '0.32.1'
with Debian dir c460ad6e13d3c39eaa2d5399059385e64e6fba4c
Diffstat (limited to 'src/data_imports/DataImportsUI.vala')
-rw-r--r-- | src/data_imports/DataImportsUI.vala | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/data_imports/DataImportsUI.vala b/src/data_imports/DataImportsUI.vala index 29791a4..6fb7158 100644 --- a/src/data_imports/DataImportsUI.vala +++ b/src/data_imports/DataImportsUI.vala @@ -34,7 +34,7 @@ public class ConcreteDialogPane : Spit.DataImports.DialogPane, GLib.Object { public class StaticMessagePane : ConcreteDialogPane { public StaticMessagePane(string message_string) { Gtk.Label message_label = new Gtk.Label(message_string); - (get_widget() as Gtk.Box).pack_start(message_label, true, true, 0); + ((Gtk.Box) get_widget()).pack_start(message_label, true, true, 0); } public StaticMessagePane.with_pango(string msg) { @@ -42,7 +42,7 @@ public class StaticMessagePane : ConcreteDialogPane { label.set_markup(msg); label.set_line_wrap(true); - (get_widget() as Gtk.Box).pack_start(label, true, true, 0); + ((Gtk.Box) get_widget()).pack_start(label, true, true, 0); } } @@ -123,7 +123,7 @@ public class LibrarySelectionPane : ConcreteDialogPane { button_box.add(import_button); content_box.pack_end(button_box, true, false, 6); - (get_widget() as Gtk.Box).pack_start(content_box, true, true, 0); + ((Gtk.Box) get_widget()).pack_start(content_box, true, true, 0); set_import_button_sensitivity(); } @@ -177,7 +177,7 @@ public class ProgressPane : ConcreteDialogPane { progress_label = new Gtk.Label(""); content_box.pack_start(progress_label, false, true, 6); - (get_widget() as Gtk.Container).add(content_box); + ((Gtk.Container) get_widget()).add(content_box); } public void update_progress(double progress, string? progress_message) { @@ -285,7 +285,7 @@ public class DataImportsDialog : Gtk.Dialog { } } - // Intall the central area in all cases + // Install the central area in all cases central_area_layouter = new Gtk.Box(Gtk.Orientation.VERTICAL, 0); ((Gtk.Box) get_content_area()).pack_start(central_area_layouter, true, true, 0); |