~rakete/eidete/no-duration-fix

« back to all changes in this revision

Viewing changes to src/eidete.vala

  • Committer: Tom Beckmann
  • Date: 2012-04-18 15:35:01 UTC
  • Revision ID: tombeckmann@online.de-20120418153501-0dszenqbjk530e0n
Fixed bad window management (caused the eidete process not to exit)

Show diffs side-by-side

added added

removed removed

Lines of Context:
234
234
                        */
235
235
                        
236
236
                        cancel_bt.clicked.connect ( () => {
237
 
                                Gtk.main_quit ();
 
237
                                this.main_window.destroy ();
238
238
                        });
239
239
                        
240
240
                        start_bt.clicked.connect ( () => {
392
392
                        this.main_window.destroy.connect ( () => {
393
393
                                if (pipeline != null)
394
394
                                        pipeline.set_state (State.NULL);
395
 
                                Gtk.main_quit ();
396
395
                        });
397
396
                        
398
397
                        Granite.Services.Logger.initialize ("Eidete");
457
456
                        stop_bt.clicked.connect ( () => {
458
457
                                var end = new Eidete.Widgets.EndDialog (this);
459
458
                                end.show_all ();
460
 
                                this.main_window.hide ();
 
459
                                this.main_window.destroy ();
461
460
                        });
462
461
                        
463
462
                        continue_bt.clicked.connect ( () => {