[gnome-subtitles] Code cleanup
- From: Pedro Castro <pcastro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-subtitles] Code cleanup
- Date: Thu, 23 May 2019 20:50:55 +0000 (UTC)
commit b4ae4f9f7f48a8d1d50bc4842aadf6ef3c4a2a49
Author: Pedro Castro <pedro gnomesubtitles org>
Date: Thu May 23 21:29:53 2019 +0100
Code cleanup
src/GnomeSubtitles/Dialog/BuilderDialog.cs | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/GnomeSubtitles/Dialog/BuilderDialog.cs b/src/GnomeSubtitles/Dialog/BuilderDialog.cs
index aa8f9e7..5dcf25b 100644
--- a/src/GnomeSubtitles/Dialog/BuilderDialog.cs
+++ b/src/GnomeSubtitles/Dialog/BuilderDialog.cs
@@ -50,11 +50,10 @@ public abstract class BuilderDialog : BaseDialog {
protected void Init (string filename, bool autoconnect) {
builder = new Builder(filename, Base.ExecutionContext.TranslationDomain);
- if (autoconnect)
+ if (autoconnect) {
Autoconnect();
- /*else
- glade.BindFields(this); //FIXME WHAT?
- */
+ }
+
base.Init(builder.GetObject("dialog") as Gtk.Dialog);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]