Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 335e0820850dc3297cf328e8dda98740ff9f87df 1 parent 4997cfe
Damián Nohales authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/StatusIconManager.vala
6 src/StatusIconManager.vala
View
@@ -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();
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.