diff options
author | Alessandro Ghedini <al3xbio@gmail.com> | 2012-01-24 09:42:26 +0100 |
---|---|---|
committer | Alessandro Ghedini <al3xbio@gmail.com> | 2012-01-24 09:42:26 +0100 |
commit | d1d354100822d77ff25ef9606d91a93062ecf234 (patch) | |
tree | 9e4bb8783e452b35c9e4586f1b0c9ab009cf1009 /src/gui/newSliceWindow.vala | |
parent | b1677fafabacc4fa70296731552e9eb52ebe6f0b (diff) | |
parent | 21c8b0c749be00fff27e41e4c2d677dd7d320fa0 (diff) |
Merge commit 'upstream/0.4.1'
Diffstat (limited to 'src/gui/newSliceWindow.vala')
-rw-r--r-- | src/gui/newSliceWindow.vala | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/newSliceWindow.vala b/src/gui/newSliceWindow.vala index 4e38376..7bd6340 100644 --- a/src/gui/newSliceWindow.vala +++ b/src/gui/newSliceWindow.vala @@ -359,15 +359,16 @@ public class NewSliceWindow : GLib.Object { ///////////////////////////////////////////////////////////////////// private void on_icon_button_clicked(Gtk.Button button) { - if (icon_window == null) { - icon_window = new IconSelectWindow(this.window); - icon_window.on_ok.connect((icon) => { + if (this.icon_window == null) { + this.icon_window = new IconSelectWindow(this.window); + this.icon_window.on_ok.connect((icon) => { this.current_custom_icon = icon; this.set_icon(icon); }); } - icon_window.show(); + this.icon_window.show(); + this.icon_window.set_icon(this.current_icon); } ///////////////////////////////////////////////////////////////////// |