Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntenore Gatta <antenore@simbiosi.org>2022-11-11 16:04:51 +0300
committerAntenore Gatta <antenore@simbiosi.org>2022-11-11 16:04:51 +0300
commitdd63c22a4aeb302e604368677903ae2b6ac67715 (patch)
tree6e7a69e0fb6df4bb494e971609df0e75108e49ab /src/remmina.c
parent87fa700ca921853e52da01afb0590d3aa956293e (diff)
Removing the News Widget
Diffstat (limited to 'src/remmina.c')
-rw-r--r--src/remmina.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/remmina.c b/src/remmina.c
index 2156bff30..5b59339f8 100644
--- a/src/remmina.c
+++ b/src/remmina.c
@@ -64,7 +64,6 @@
#include "remmina_ssh_plugin.h"
#include "remmina_widget_pool.h"
#include "remmina/remmina_trace_calls.h"
-#include "rmnews.h"
#ifdef HAVE_ERRNO_H
#include <errno.h>
@@ -84,7 +83,6 @@ static int gcrypt_thread_initialized = 0;
#endif /* HAVE_LIBGCRYPT */
gboolean kioskmode;
-gboolean disablenews;
gboolean disabletoolbar;
gboolean fullscreen;
gboolean extrahardening;
@@ -129,7 +127,6 @@ static GOptionEntry remmina_options[] =
// TRANSLATORS: Shown in terminal. Do not use characters that may be not supported on a terminal
{ "set-option", 0, 0, G_OPTION_ARG_STRING_ARRAY, NULL, N_("Set one or more profile settings, to be used with --update-profile"), NULL },
{ "encrypt-password", 0, 0, G_OPTION_ARG_NONE, NULL, N_("Encrypt a password"), NULL },
- { "disable-news", 0, 0, G_OPTION_ARG_NONE, NULL, N_("Disable news notification"), NULL },
{ "disable-toolbar", 0, 0, G_OPTION_ARG_NONE, NULL, N_("Disable toolbar"), NULL },
{ "enable-fullscreen", 0, 0, G_OPTION_ARG_NONE, NULL, N_("Enable fullscreen"), NULL },
{ "enable-extra-hardening", 0, 0, G_OPTION_ARG_NONE, NULL, N_("Enable extra hardening (disable closing confirmation, disable unsafe shortcut keys, hide tabs, hide search bar)"), NULL },
@@ -167,10 +164,6 @@ static gint remmina_on_command_line(GApplication *app, GApplicationCommandLine *
#endif
opts = g_application_command_line_get_options_dict(cmdline);
- if (g_variant_dict_lookup_value(opts, "disable-news", NULL)) {
- disablenews = TRUE;
- }
-
if (g_variant_dict_lookup_value(opts, "disable-toolbar", NULL)) {
disabletoolbar = TRUE;
}
@@ -298,8 +291,6 @@ static void remmina_on_startup(GApplication *app)
REMMINA_RUNTIME_DATADIR G_DIR_SEPARATOR_S "icons");
g_application_hold(app);
- rmnews_schedule();
-
/* Check for secret plugin and service initialization and show console warnings if
* something is missing */
secret_plugin = remmina_plugin_manager_get_secret_plugin();