static void
display_about_dialog (BonoboUIComponent *uic,
                      ShowDesktopData   *sdd,
                      const gchar       *verbname)
{
        static const gchar *authors[] = {
                "Havoc Pennington <*****@*****.**>",
                NULL
        };
        static const char *documenters[] = {
                "Sun GNOME Documentation Team <*****@*****.**>",
                NULL
        };

        /* Translator credits */
        const char *translator_credits = _("translator-credits");

	wncklet_display_about (sdd->applet, &sdd->about_dialog,
			       _("Show Desktop Button"),
			       "Copyright \xc2\xa9 2002 Red Hat, Inc.",
			       _("This button lets you hide all windows and show the desktop."),
			       authors,
			       documenters,
			       translator_credits,
			       "gnome-fs-desktop",
			       "show-desktop",
			       "show-desktop");
}
static void
display_about_dialog (BonoboUIComponent *uic,
		      TasklistData      *tasklist,
		      const gchar       *verbname)
{
	static const gchar *authors[] =
	{
		"Alexander Larsson <*****@*****.**>",
		NULL
	};
	const char *documenters [] = {
		"Sun GNOME Documentation Team <*****@*****.**>",
		NULL
	};
	const char *translator_credits = _("translator-credits");

	wncklet_display_about (tasklist->applet, &tasklist->about,
			       _("Window List"),
			       "Copyright \xc2\xa9 2001-2002 Red Hat, Inc.",
			       _("The Window List shows a list of all windows in a set of buttons and lets you browse them."),
			       authors,
			       documenters,
			       translator_credits,
			       "gnome-panel-window-list",
			       "tasklist",
			       "Tasklist");
}
static void
display_about_dialog (BonoboUIComponent *uic,
		      PagerData         *pager,
		      const gchar       *verbname)
{
	static const gchar *authors[] =
	{
		"Alexander Larsson <*****@*****.**>",
		NULL
	};
	const char *documenters [] = {
                "John Fleck <*****@*****.**>",
                "Sun GNOME Documentation Team <*****@*****.**>",
                NULL
	};
	const char *translator_credits = _("translator-credits");

	wncklet_display_about (pager->applet, &pager->about,
			       _("Workspace Switcher"),
			       "Copyright \xc2\xa9 2001-2002 Red Hat, Inc.",
			       _("The Workspace Switcher shows you a small version of your workspaces that lets you manage your windows."),
			       authors,
			       documenters,
			       translator_credits,
			       "gnome-panel-workspace-switcher",
			       "pager",
			       "Pager");
}
Esempio n. 4
0
static void
display_about_dialog (BonoboUIComponent *uic,
                      ButtonData        *button_data,
                      const gchar       *verbname)
{
        static const gchar *authors[] = {
                "Havoc Pennington <*****@*****.**>",
                NULL
        };
        static const char *documenters[] = {
                NULL
        };

        /* Translator credits */
        const char *translator_credits = _("translator-credits");

        wncklet_display_about (button_data->applet, &button_data->about_dialog,
                               _("Show Sidebar Button"),
                               "Copyright \xc2\xa9 2002 Red Hat, Inc.",
                               _("This button lets you toggle the sidebar on and off."),
                               authors,
                               documenters,
                               translator_credits,
                               ICON_NAME,
                               "sidebar-button",
                               "sidebar-button");
}