This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

/!\ Warning:
This is only a proposal at this time, and not approved for project-wide application.
This should not be applied before being officially turned into a GNOME Goal!

Note: the example code has been updated from earlier proposals, so the modules marked as "done" should be re-checked when this is turned into an approved GNOME Goal.

GNOME Goal: Update about dialogs

Applications should use GtkAboutDialog to show an about dialog. Make sure you have these properties set in your about dialog object, and that their values are up to date:

Here is an example of how it may look like:

#include <gtk/gtk.h>

...

const gchar *authors[] =
{
      "Noah Levitt <nlevitt@columbia.edu>",
      "Daniel Elstner <daniel.elstner@gmx.net>",
      "Padraig O'Briain <Padraig.Obriain@sun.com>",
      NULL
};

const gchar *documenters[] =
{
      "Chee Bin HOH <cbhoh@gnome.org>",
      "Sun Microsystems",
      NULL
};

static const gchar license_text[] = 
"This program is free software; you can redistribute it and blablabla";

gtk_show_about_dialog (GTK_WINDOW (parent_window),
                         "title", _("About Character Map"),
#if GTK_CHECK_VERSION (2, 12, 0)
                         "program-name", _("Character Map"),
#else
                         "name", _("Character Map"),
#endif
                         "authors", authors,
                         "comments", _("A featureful Unicode character map."),
                         "copyright", "Copyright © 2004 Noah Levitt <nlevitt@columbia.edu>\n"
                                      "Copyright © 1991-2005 Unicode, Inc.",
                         "documenters", documenters,
                         "license", license_text,
                         "wrap-license", TRUE,
                         "logo-icon-name", "gucharmap",
                         "translator-credits", _("translator-credits"),
                         "version", VERSION,
                         "website", "http://live.gnome.org/Gucharmap",
                         NULL);

Alternatively to setting the program-name property, you can put

  g_set_application_name (_("Gucharmap"));

into main() since GtkAboutDialog defaults it to the application name.

Comments

documenters property:

license property:

name property:

title property:

website-label property:

ChPe: I removed the static from the data in the code example above, since it's not necessary to make this data static. The modules already converted should be re-checked for this.

Status of this goal

State

Markup

todo

<: #ff8080> todo

patch

<: #ffc849> [[GnomeBug:xxxxx|patch]]

done

<: #80ff80> [[GnomeBug:xxxxx|done]]

not needed

<: #80ff80> not needed

When starting to work on one module, you can also put your name in the status so that other people don't duplicate the work you're doing.

Tarball

Status

Desktop

alacarte

not needed

bug-buddy

done

cheese

done

dasher

done

deskbar-applet

done

ekiga

done

empathy

done

eog

done

epiphany

done

evince

done

evolution-data-server

not needed

evolution

done

evolution-exchange

not needed

evolution-webcal

not needed

file-roller

done

gcalctool

done

gconf-editor

done

gdm

done

gedit

done

gnome-applets

to do

gnome-backgrounds

not needed

gnome-control-center

done

At least Typing Monitor, don't think there are other about dialogs

gnome-desktop

to do

gnome-doc-utils

to do

gnome-games

done

gnome-icon-theme

not needed

gnome-keyring

to do

gnome-netstatus

to do

gnome-nettool

to do

gnome-mag

to do

gnome-media

to do

gnome-menus

to do

gnome-panel

not needed

gnome-python-desktop

to do

gnome-screensaver

to do

gnome-session

to do

gnome-speech

to do

gnome-system-monitor

not needed

gnome-system-tools

to do

gnome-terminal

not needed

gnome-themes

not needed

gnome-user-docs

not needed

gnome-utils

to do

gnome-volume-manager

to do

gnopernicus

to do

gok

done

gstreamer

not needed

gst-plugins

not needed

gtk-engines

to do

gtkhtml

to do

gtksourceview

to do

gucharmap

to do

libgail-gnome

to do

libgtop

to do

librsvg

to do

libsoup

not needed

libwnck

to do

metacity

to do

nautilus

not needed

seahorse

to do

sound-juicer

done

totem

done

vinagre

to do

vino

to do

vte

to do

yelp

to do

zenity

done

Desktop (to be deprecated)

libgnomeprint

to do

libgnomeprintui

to do

Platform

GConf

not needed

at-spi

not needed

atk

not needed

gail

not needed

glib

not needed

gnome-mime-data

not needed

gnome-vfs

not needed

gtk+

not needed

gtk-doc

not needed

intltool

not needed

libglade

not needed

libxml2

not needed

libxslt

not needed

pango

not needed

pkgconfig

not needed

Platform (to be deprecated)

ORBit2

not needed

audiofile

not needed

esound

not needed

libIDL

not needed

libart_lgpl

not needed

libbonobo

not needed

libbonoboui

not needed

libgnome

not needed

libgnomecanvas

not needed

libgnomeui

not needed

Admin

pessulus

not needed

sabayon

to do

Bindings (C++)

glibmm

not needed

gtkmm

not needed

libglademm

not needed

gconfmm

not needed

libgnomecanvasmm

not needed

libgnome-vfsmm

not needed

libgnomemm

not needed

libgnomeuimm

not needed

libxml++

not needed

Bindings (java)

libgtk-java

not needed

libgnome-java

not needed

libgconf-java

not needed

libglade-java

not needed

Bindings (perl)

Glib

not needed

Gtk2

not needed

Gtk2-GladeXML

to do

Gnome2-GConf

to do

Gnome2-Canvas

to do

Gnome2-VFS

to do

Gnome2

to do

Bindings (python)

pygobject

not needed

pygtk

to do

GnomePython

to do


2024-10-23 11:17