Permalink
Browse files

Use the present method from Gtk.Window to show the MainWindow.

  • Loading branch information...
1 parent 4997cfe commit 335e0820850dc3297cf328e8dda98740ff9f87df @dnohales committed Jan 26, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/StatusIconManager.vala
@@ -74,14 +74,12 @@ namespace Gablabel
public void on_clipboard_activated(){
parent.set_source_text_from_clipboard();
- parent.show();
- parent.get_window().show();
+ parent.present();
}
public void on_selected_activated(){
parent.set_source_text_from_selection();
- parent.show();
- parent.get_window().show();
+ parent.present();
}
}
}

0 comments on commit 335e082

Please sign in to comment.