[gnome-subtitles/gtk3] Review
- From: Pedro Daniel da Rocha Melo e Castro <pcastro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-subtitles/gtk3] Review
- Date: Thu, 1 Feb 2018 22:31:52 +0000 (UTC)
commit 777e640679db721f59c17d9fa6f0fb5dcb3aab45
Author: Pedro Castro <pedro gnomesubtitles org>
Date: Thu Feb 1 22:30:36 2018 +0000
Review
src/GnomeSubtitles/Dialog/SearchDialog.cs | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/src/GnomeSubtitles/Dialog/SearchDialog.cs b/src/GnomeSubtitles/Dialog/SearchDialog.cs
index 253e4fd..0876d2f 100644
--- a/src/GnomeSubtitles/Dialog/SearchDialog.cs
+++ b/src/GnomeSubtitles/Dialog/SearchDialog.cs
@@ -101,14 +101,7 @@ public class SearchDialog : BaseDialog {
}
public void Show (bool useReplace) {
- if (useReplace) {
- Dialog.Title = Catalog.GetString("Replace");
-// table.RowSpacing = 12;
- }
- else {
- Dialog.Title = Catalog.GetString("Find");
-// table.RowSpacing = 0;
- }
+ Dialog.Title = (useReplace ? Catalog.GetString("Replace") : Catalog.GetString("Find"));
replaceEntry.Visible = useReplace;
replaceLabel.Visible = useReplace;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]