[gedit/zbrown/deteplification-src: 310/633] About dialog: have the gedit icon, not the old logo
- From: Zander Brown <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/zbrown/deteplification-src: 310/633] About dialog: have the gedit icon, not the old logo
- Date: Sat, 10 Apr 2021 12:48:01 +0000 (UTC)
commit 00da4a66a2ef714cda6b3334f9dd898afa12db12
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu May 7 02:20:15 2020 +0200
About dialog: have the gedit icon, not the old logo
Fixes https://gitlab.gnome.org/GNOME/gedit/-/issues/215
gedit/gedit-commands-help.c | 14 +-------------
gedit/resources/gedit.gresource.xml.in | 1 -
gedit/resources/pixmaps/gedit-logo.png | Bin 25918 -> 0 bytes
gedit/resources/pixmaps/gedit-logo.svgz | Bin 8608 -> 0 bytes
4 files changed, 1 insertion(+), 14 deletions(-)
---
diff --git a/gedit/gedit-commands-help.c b/gedit/gedit-commands-help.c
index 050bba5c8..02c19ad19 100644
--- a/gedit/gedit-commands-help.c
+++ b/gedit/gedit-commands-help.c
@@ -107,33 +107,21 @@ _gedit_cmd_help_about (GeditWindow *window)
static const gchar comments[] = \
N_("gedit is a small and lightweight text editor for the GNOME Desktop");
- GdkPixbuf *logo;
- GError *error = NULL;
-
gedit_debug (DEBUG_COMMANDS);
- logo = gdk_pixbuf_new_from_resource ("/org/gnome/gedit/pixmaps/gedit-logo.png", &error);
- if (error != NULL)
- {
- g_warning ("Error when loading the gedit logo: %s", error->message);
- g_clear_error (&error);
- }
-
gtk_show_about_dialog (GTK_WINDOW (window),
"program-name", "gedit",
"authors", authors,
"comments", _(comments),
"copyright", copyright,
"license-type", GTK_LICENSE_GPL_2_0,
+ "logo-icon-name", "org.gnome.gedit",
"documenters", documenters,
- "logo", logo,
"translator-credits", _("translator-credits"),
"version", VERSION,
"website", "http://www.gedit.org",
"website-label", "www.gedit.org",
NULL);
-
- g_clear_object (&logo);
}
/* ex:set ts=8 noet: */
diff --git a/gedit/resources/gedit.gresource.xml.in b/gedit/resources/gedit.gresource.xml.in
index 8d6735610..b0a70c185 100644
--- a/gedit/resources/gedit.gresource.xml.in
+++ b/gedit/resources/gedit.gresource.xml.in
@@ -3,7 +3,6 @@
<gresource prefix="/org/gnome/gedit">
<file preprocess="xml-stripblanks">gtk/menus.ui</file>
<file preprocess="xml-stripblanks">gtk/menus-common.ui</file>
- <file preprocess="to-pixdata">pixmaps/gedit-logo.png</file>
<file preprocess="xml-stripblanks">ui/gedit-encodings-dialog.ui</file>
<file preprocess="xml-stripblanks">ui/gedit-preferences-dialog.ui</file>
<file preprocess="xml-stripblanks">ui/gedit-replace-dialog.ui</file>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]