[ekiga/ds-gsettings3] About: Moved Lumi to the About box.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/ds-gsettings3] About: Moved Lumi to the About box.
- Date: Wed, 4 Dec 2013 18:57:28 +0000 (UTC)
commit 106bda2a4be05e63ddf3817c5c08bdb8c4662a4b
Author: Damien Sandras <dsandras beip be>
Date: Tue Dec 3 22:03:12 2013 +0100
About: Moved Lumi to the About box.
Lumi has been removed from the prefs window. I have moved him to the
About box. Never forget who Lumi is :)
lib/gui/gmcallbacks.c | 32 ++++++++++++++++++++------------
pixmaps/ekiga-logo.png | Bin 67038 -> 76275 bytes
2 files changed, 20 insertions(+), 12 deletions(-)
---
diff --git a/lib/gui/gmcallbacks.c b/lib/gui/gmcallbacks.c
index d195dd3..8483746 100644
--- a/lib/gui/gmcallbacks.c
+++ b/lib/gui/gmcallbacks.c
@@ -60,6 +60,9 @@ void
about_callback (G_GNUC_UNUSED GtkWidget *widget,
gpointer parent_window)
{
+ GtkWidget *pixmap = NULL;
+ gchar *filename = NULL;
+
const gchar *authors [] = {
"Damien Sandras <dsandras seconix com>",
"",
@@ -124,21 +127,26 @@ GNU GPL for all the rest of the software thus combined.")
license_trans = g_strconcat (_(license[0]), "\n\n", _(license[1]), "\n\n",
_(license[2]), "\n\n", NULL);
+ filename = g_build_filename (DATA_DIR, "pixmaps", PACKAGE_NAME,
+ PACKAGE_NAME "-logo.png", NULL);
+ pixmap = gtk_image_new_from_file (filename);
+
gtk_show_about_dialog (GTK_WINDOW (parent_window),
- "name", "Ekiga",
- "version", VERSION,
- "copyright", "Copyright © 2000-2012 Damien Sandras",
- "authors", authors,
- "documenters", documenters,
- "translator-credits", translator_credits,
- "comments", comments,
- "logo-icon-name", GM_ICON_LOGO,
- "license", license_trans,
- "wrap-license", TRUE,
- "website", "http://www.ekiga.org",
- NULL);
+ "name", "Ekiga",
+ "version", VERSION,
+ "copyright", "Copyright © 2000-2014 Damien Sandras",
+ "authors", authors,
+ "documenters", documenters,
+ "translator-credits", translator_credits,
+ "comments", comments,
+ "logo", gtk_image_get_pixbuf (GTK_IMAGE (pixmap)),
+ "license", license_trans,
+ "wrap-license", TRUE,
+ "website", "http://www.ekiga.org",
+ NULL);
g_free (license_trans);
+ g_free (filename);
}
diff --git a/pixmaps/ekiga-logo.png b/pixmaps/ekiga-logo.png
index da9ce2b..e7380ff 100644
Binary files a/pixmaps/ekiga-logo.png and b/pixmaps/ekiga-logo.png differ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]