[gnome-boxes/refactor-some-download-an-os-bits: 4/8] wizard-window: Don't disconnect custom row handler
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/refactor-some-download-an-os-bits: 4/8] wizard-window: Don't disconnect custom row handler
- Date: Sat, 3 Mar 2018 10:41:32 +0000 (UTC)
commit 4c920af4c7e0854b2dede8630331b1145c40fedd
Author: Felipe Borges <felipeborges gnome org>
Date: Wed Feb 28 16:16:32 2018 +0100
wizard-window: Don't disconnect custom row handler
src/wizard-window.vala | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/src/wizard-window.vala b/src/wizard-window.vala
index 4757e4e8..03ca8c64 100644
--- a/src/wizard-window.vala
+++ b/src/wizard-window.vala
@@ -127,11 +127,8 @@ public void add_custom_download (Gtk.ListBoxRow row, owned CustomDownloadChosenF
downloads_list.insert (row, -1);
var button = row.get_child () as Gtk.Button;
-
- ulong activated_id = 0;
- activated_id = button.clicked.connect (() => {
+ button.clicked.connect (() => {
custom_download_chosen_func ();
- button.disconnect (activated_id);
page = WizardWindowPage.MAIN;
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]