summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-21 14:24:32 +0100
committerinfirit <[email protected]>2014-11-22 21:32:47 +0100
commitf1bfbcadb4b9e8343f347d08b2af32d99f8a706b (patch)
treef991979c4075898ae2b0266dd14cc3b7213ca05c /src
parentaac4f6e1b2e718d8a8f9649403a3086a9de65031 (diff)
downloadengrampa-f1bfbcadb4b9e8343f347d08b2af32d99f8a706b.tar.bz2
engrampa-f1bfbcadb4b9e8343f347d08b2af32d99f8a706b.tar.xz
set a fixed title for the progress dialog
Based on commit: fd497f4f9db806ce97f68d0366ae1f7fd37eccd1 From: Paolo Bacchilega <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/fr-window.c1
-rw-r--r--src/server.c8
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));