You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hardinfo/SOURCES/0005-Drop-Synchronize.patch

42 lines
1.4 KiB

From c8695c01336b370c2a3eda5c7c87c395291c7ef6 Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru>
Date: Mon, 5 Feb 2024 15:01:31 +0300
Subject: [PATCH] Drop Synchronize
---
shell/menu.c | 5 -----
shell/syncmanager.c | 1 -
2 files changed, 6 deletions(-)
diff --git a/shell/menu.c b/shell/menu.c
index dee3aa4..9a0c2a4 100644
--- a/shell/menu.c
+++ b/shell/menu.c
@@ -52,11 +52,6 @@ static GtkActionEntry entries[] = {
N_("Generates a report with detailed system information"), /* tooltip */
G_CALLBACK(cb_generate_report)},
- {"SyncManagerAction", HI_STOCK_SYNC_MENU,
- N_("Synchronize"), NULL,
- N_("Send benchmark results and receive updated data from the network"),
- G_CALLBACK(cb_sync_manager)},
-
{"OpenAction", "_Open",
N_("_Open..."), NULL,
NULL,
diff --git a/shell/syncmanager.c b/shell/syncmanager.c
index c5f0b98..dfde212 100644
--- a/shell/syncmanager.c
+++ b/shell/syncmanager.c
@@ -513,7 +513,6 @@ static SyncDialog *sync_dialog_new(GtkWidget *parent)
dialog = gtk_dialog_new();
gtk_window_set_transient_for(GTK_WINDOW(dialog), GTK_WINDOW(parent));
- gtk_window_set_title(GTK_WINDOW(dialog), _("Synchronize"));
gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE);
gtk_window_set_icon(GTK_WINDOW(dialog),
icon_cache_get_pixbuf("syncmanager.png"));
--
2.43.0