Merge lp:~meese/pantheon-photos/fix-1364576 into lp:~pantheon-photos/pantheon-photos/trunk

Proposed by meese
Status: Merged
Approved by: Cody Garver
Approved revision: 2612
Merged at revision: 2627
Proposed branch: lp:~meese/pantheon-photos/fix-1364576
Merge into: lp:~pantheon-photos/pantheon-photos/trunk
Diff against target: 12 lines (+1/-1)
1 file modified
src/sidebar/metadata/LibraryProperties.vala (+1/-1)
To merge this branch: bzr merge lp:~meese/pantheon-photos/fix-1364576
Reviewer Review Type Date Requested Status
Photos Devs Pending
Review via email: mp+233135@code.launchpad.net

Commit message

fixes sidebar flooding edit comment command

Description of the change

fixes sidebar flooding edit comment command

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/sidebar/metadata/LibraryProperties.vala'
2--- src/sidebar/metadata/LibraryProperties.vala 2014-08-24 00:46:42 +0000
3+++ src/sidebar/metadata/LibraryProperties.vala 2014-09-02 22:40:26 +0000
4@@ -161,7 +161,7 @@
5
6 public override void save_changes_to_source () {
7 if (media_source != null && is_media) {
8- comment = comment_entry.get_text ();
9+ comment = comment_entry.get_text ().strip ();
10 if (title != null && title != media_source.get_name ())
11 AppWindow.get_command_manager ().execute (new EditTitleCommand (media_source, title));
12 if (comment != null && comment != media_source.get_comment ())

Subscribers

People subscribed via source and target branches

to all changes: