summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-progress-info.c
diff options
context:
space:
mode:
authoremanuele-f <[email protected]>2016-10-17 15:51:20 +0200
committerlukefromdc <[email protected]>2016-10-17 14:05:36 -0400
commit9081b8d96936b625c3c83b88282ad7437f8ef462 (patch)
treebba839b21c61be954ac9edeb0d29d47c3f8ede28 /libcaja-private/caja-progress-info.c
parenteee44838ba7ec3c4f4c1da5ab5abfbd41c03481d (diff)
downloadcaja-9081b8d96936b625c3c83b88282ad7437f8ef462.tar.bz2
caja-9081b8d96936b625c3c83b88282ad7437f8ef462.tar.xz
Fix disabled controls when recursively processing directories
Diffstat (limited to 'libcaja-private/caja-progress-info.c')
-rw-r--r--libcaja-private/caja-progress-info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcaja-private/caja-progress-info.c b/libcaja-private/caja-progress-info.c
index 1a48e131..44c8b6a8 100644
--- a/libcaja-private/caja-progress-info.c
+++ b/libcaja-private/caja-progress-info.c
@@ -746,6 +746,7 @@ start_button_init (ProgressWidgetData *data)
{
GtkWidget *pauseImage, *resumeImage;
GtkWidget *button = gtk_button_new ();
+ data->btstart = button;
#if GTK_CHECK_VERSION (3, 10, 0)
pauseImage = gtk_image_new_from_icon_name (
@@ -771,7 +772,6 @@ start_button_init (ProgressWidgetData *data)
start_button_update_view (data);
g_signal_connect (button, "clicked", (GCallback)start_clicked, data);
- data->btstart = button;
}
static void
@@ -780,6 +780,7 @@ queue_button_init (ProgressWidgetData *data)
GtkWidget *button, *image;
button = gtk_button_new ();
+ data->btqueue = button;
#if GTK_CHECK_VERSION (3, 10, 0)
image = gtk_image_new_from_icon_name ("undo", GTK_ICON_SIZE_BUTTON);
@@ -790,7 +791,6 @@ queue_button_init (ProgressWidgetData *data)
gtk_container_add (GTK_CONTAINER (button), image);
g_signal_connect (button, "clicked", (GCallback)queue_clicked, data);
- data->btqueue = button;
}
static GtkWidget *