diff options
-rw-r--r-- | src/fr-window.c | 1 | ||||
-rw-r--r-- | src/server.c | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/fr-window.c b/src/fr-window.c index 4277f70..08bc0f8 100644 --- a/src/fr-window.c +++ b/src/fr-window.c @@ -815,6 +815,7 @@ fr_window_init (FrWindow *window) window->priv->filter_mode = FALSE; window->priv->batch_title = NULL; window->priv->use_progress_dialog = TRUE; + window->priv->batch_title = NULL; g_signal_connect (window, "realize", diff --git a/src/server.c b/src/server.c index 9ff3656..2c5f8ba 100644 --- a/src/server.c +++ b/src/server.c @@ -293,7 +293,7 @@ handle_method_call (GDBusConnection *connection, g_signal_connect (window, "progress", G_CALLBACK (window_progress_cb), connection); g_signal_connect (window, "ready", G_CALLBACK (window_ready_cb), invocation); - fr_window_new_batch (FR_WINDOW (window)); + fr_window_new_batch (FR_WINDOW (window), _("Compress")); fr_window_set_batch__add (FR_WINDOW (window), archive, file_list); fr_window_append_batch_action (FR_WINDOW (window), FR_BATCH_ACTION_QUIT, NULL, NULL); fr_window_start_batch (FR_WINDOW (window)); @@ -326,7 +326,7 @@ handle_method_call (GDBusConnection *connection, g_signal_connect (window, "progress", G_CALLBACK (window_progress_cb), connection); g_signal_connect (window, "ready", G_CALLBACK (window_ready_cb), invocation); - fr_window_new_batch (FR_WINDOW (window)); + fr_window_new_batch (FR_WINDOW (window), _("Extract archive")); fr_window_set_batch__add (FR_WINDOW (window), NULL, file_list); fr_window_append_batch_action (FR_WINDOW (window), FR_BATCH_ACTION_QUIT, NULL, NULL); fr_window_start_batch (FR_WINDOW (window)); @@ -351,7 +351,7 @@ handle_method_call (GDBusConnection *connection, g_signal_connect (window, "progress", G_CALLBACK (window_progress_cb), connection); g_signal_connect (window, "ready", G_CALLBACK (window_ready_cb), invocation); - fr_window_new_batch (FR_WINDOW (window)); + fr_window_new_batch (FR_WINDOW (window), _("Extract archive")); fr_window_set_batch__extract (FR_WINDOW (window), archive, destination); fr_window_append_batch_action (FR_WINDOW (window), FR_BATCH_ACTION_QUIT, NULL, NULL); fr_window_start_batch (FR_WINDOW (window)); @@ -374,7 +374,7 @@ handle_method_call (GDBusConnection *connection, g_signal_connect (window, "progress", G_CALLBACK (window_progress_cb), connection); g_signal_connect (window, "ready", G_CALLBACK (window_ready_cb), invocation); - fr_window_new_batch (FR_WINDOW (window)); + fr_window_new_batch (FR_WINDOW (window), _("Extract archive")); fr_window_set_batch__extract_here (FR_WINDOW (window), archive); fr_window_append_batch_action (FR_WINDOW (window), FR_BATCH_ACTION_QUIT, NULL, NULL); fr_window_start_batch (FR_WINDOW (window)); |