diff options
author | Alessandro Ghedini <al3xbio@gmail.com> | 2012-01-24 09:42:25 +0100 |
---|---|---|
committer | Alessandro Ghedini <al3xbio@gmail.com> | 2012-01-24 09:42:25 +0100 |
commit | 21c8b0c749be00fff27e41e4c2d677dd7d320fa0 (patch) | |
tree | e439b4de4a50a1bb656762f6e7a79a39431dd526 /src/gui/newSliceWindow.vala | |
parent | 60560a030fda3c539ff9dc1563b9926414a193da (diff) |
Imported Upstream version 0.4.1upstream/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); } ///////////////////////////////////////////////////////////////////// |