[gnome-software] Use standard size icon in the about dialog
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Use standard size icon in the about dialog
- Date: Tue, 1 Sep 2015 11:52:47 +0000 (UTC)
commit 68b0c8c09fba00ae4b07491894e94889e4ba2cf6
Author: Kalev Lember <klember redhat com>
Date: Tue Sep 1 13:29:18 2015 +0200
Use standard size icon in the about dialog
https://bugzilla.gnome.org/show_bug.cgi?id=754141
src/gs-application.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/gs-application.c b/src/gs-application.c
index 685148a..5994c4d 100644
--- a/src/gs-application.c
+++ b/src/gs-application.c
@@ -294,10 +294,8 @@ about_activated (GSimpleAction *action,
NULL
};
const gchar *copyright = "Copyright \xc2\xa9 2013 Richard Hughes, Matthias Clasen";
- GtkIconTheme *icon_theme;
GList *windows;
GtkWindow *parent = NULL;
- _cleanup_object_unref_ GdkPixbuf *logo = NULL;
gs_application_initialize_ui (app);
@@ -305,9 +303,6 @@ about_activated (GSimpleAction *action,
if (windows)
parent = windows->data;
- icon_theme = gtk_icon_theme_get_default ();
- logo = gtk_icon_theme_load_icon (icon_theme, "gnome-software", 256, 0, NULL);
-
gtk_show_about_dialog (parent,
/* TRANSLATORS: this is the title of the about window */
"title", _("About Software"),
@@ -318,7 +313,7 @@ about_activated (GSimpleAction *action,
"comments", _("A nice way to manage the software on your system."),
"copyright", copyright,
"license-type", GTK_LICENSE_GPL_2_0,
- "logo", logo,
+ "logo-icon-name", "gnome-software",
"translator-credits", _("translator-credits"),
"version", VERSION,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]