[shotwell] Do not reset title on startup
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] Do not reset title on startup
- Date: Sun, 26 Nov 2017 14:59:45 +0000 (UTC)
commit 2f0cb4807540574100f007139f9d8a5da36490e2
Author: Jens Georg <mail jensge org>
Date: Sun Nov 26 15:43:58 2017 +0100
Do not reset title on startup
This partially reverts some of the startup optimisation made in 125bfbe
but doesn't seem to make the startup any worse
Fixes sorting by title
https://bugzilla.gnome.org/show_bug.cgi?id=790668
src/Thumbnail.vala | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/Thumbnail.vala b/src/Thumbnail.vala
index 4ff4381..17dda4b 100644
--- a/src/Thumbnail.vala
+++ b/src/Thumbnail.vala
@@ -119,8 +119,6 @@ public class Thumbnail : MediaSourceItem {
clear_title();
else if (!init)
set_title(title);
- else
- set_title("");
}
private void update_comment(bool init = false) {
@@ -129,8 +127,6 @@ public class Thumbnail : MediaSourceItem {
clear_comment();
else if (!init)
set_comment(comment);
- else
- set_comment("");
}
protected override void notify_altered(Alteration alteration) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]