From 8b37f5bb6c8bd04dcde7edd66a366ba5c1eb3834 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 23 May 2012 17:14:21 +0200 Subject: fix some things for MATE in wncklet applet --- applets/wncklet/showdesktop.c | 8 +- applets/wncklet/window-list.c | 17 ++--- applets/wncklet/window-list.schemas.in | 8 +- applets/wncklet/window-list.ui | 130 --------------------------------- applets/wncklet/window-menu.c | 8 +- applets/wncklet/workspace-switcher.c | 10 ++- 6 files changed, 30 insertions(+), 151 deletions(-) (limited to 'applets/wncklet') diff --git a/applets/wncklet/showdesktop.c b/applets/wncklet/showdesktop.c index 7cfcb88d..2917e4bc 100644 --- a/applets/wncklet/showdesktop.c +++ b/applets/wncklet/showdesktop.c @@ -463,17 +463,21 @@ static void display_help_dialog(GtkAction* action, ShowDesktopData* sdd) static void display_about_dialog(GtkAction* action, ShowDesktopData* sdd) { static const gchar* authors[] = { + "Perberos ", + "Steve Zesch ", + "Stefano Karapetsas ", "Havoc Pennington ", NULL }; static const char* documenters[] = { - "Sun MATE Documentation Team ", + "Sun GNOME Documentation Team ", NULL }; /* Translator credits */ //const char* translator_credits = _("translator-credits"); char copyright[] = \ + "Copyright \xc2\xa9 2011 Perberos\n" "Copyright \xc2\xa9 2002 Red Hat, Inc."; gtk_show_about_dialog(GTK_WINDOW(sdd->applet), @@ -486,7 +490,7 @@ static void display_about_dialog(GtkAction* action, ShowDesktopData* sdd) "logo-icon-name", SHOW_DESKTOP_ICON, "translator-credits", _("translator-credits"), "version", VERSION, - "website", "http://matsusoft.com.ar/projects/mate/", + "website", "http://www.mate-desktop.org/", NULL); } diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c index a7ed6197..b7056a8e 100644 --- a/applets/wncklet/window-list.c +++ b/applets/wncklet/window-list.c @@ -53,13 +53,6 @@ typedef struct { GtkWidget* move_minimized_radio; GtkWidget* change_workspace_radio; - /* new options, must be translated! */ - /*GtkWidget* style_group_radio; - GtkWidget* icon_group_radio; - GtkWidget* text_group_radio;*/ - - - /* mateconf listeners id */ guint listeners [3]; } TasklistData; @@ -622,17 +615,21 @@ static void display_help_dialog(GtkAction* action, TasklistData* tasklist) static void display_about_dialog(GtkAction* action, TasklistData* tasklist) { static const gchar* authors[] = { + "Perberos ", + "Steve Zesch ", + "Stefano Karapetsas ", "Alexander Larsson ", NULL }; const char* documenters [] = { - "Sun MATE Documentation Team ", + "Sun GNOME Documentation Team ", NULL }; char copyright[] = \ - "Copyright \xc2\xa9 2001-2002 Red Hat, Inc."; + "Copyright \xc2\xa9 2011 Perberos\n" + "Copyright \xc2\xa9 2002 Red Hat, Inc."; gtk_show_about_dialog(GTK_WINDOW(tasklist->applet), "program-name", _("Window List"), @@ -644,7 +641,7 @@ static void display_about_dialog(GtkAction* action, TasklistData* tasklist) "logo-icon-name", WINDOW_LIST_ICON, "translator-credits", _("translator-credits"), "version", VERSION, - "website", "http://matsusoft.com.ar/projects/mate/", + "website", "http://www.mate-desktop.org/", NULL); } diff --git a/applets/wncklet/window-list.schemas.in b/applets/wncklet/window-list.schemas.in index b60c3222..99d79963 100644 --- a/applets/wncklet/window-list.schemas.in +++ b/applets/wncklet/window-list.schemas.in @@ -52,8 +52,8 @@ Minimum window list size - The use of this key was deprecated in MATE 2.20. The schema is - retained for compatibility with older versions. + The use of this key was deprecated in GNOME 2.20. The schema is + retained for compatibility with older versions. @@ -66,8 +66,8 @@ Maximum window list size - The use of this key was deprecated in MATE 2.20. The schema is - retained for compatibility with older versions. + The use of this key was deprecated in GNOME 2.20. The schema is + retained for compatibility with older versions. diff --git a/applets/wncklet/window-list.ui b/applets/wncklet/window-list.ui index 9d6f4e71..21228d78 100644 --- a/applets/wncklet/window-list.ui +++ b/applets/wncklet/window-list.ui @@ -93,136 +93,6 @@ 0 - - - - - - - - - - - - - - - - - - - - True diff --git a/applets/wncklet/window-menu.c b/applets/wncklet/window-menu.c index dabdb7e8..bfe41638 100644 --- a/applets/wncklet/window-menu.c +++ b/applets/wncklet/window-menu.c @@ -59,6 +59,9 @@ static void window_menu_help(GtkAction* action, WindowMenu* window_menu) static void window_menu_about(GtkAction* action, WindowMenu* window_menu) { static const char* authors[] = { + "Perberos ", + "Steve Zesch ", + "Stefano Karapetsas ", "Mark McLoughlin ", "George Lebl ", "Jacob Berkman ", @@ -66,11 +69,12 @@ static void window_menu_about(GtkAction* action, WindowMenu* window_menu) }; const char* documenters[] = { - "Sun MATE Documentation Team ", + "Sun GNOME Documentation Team ", NULL }; char copyright[] = \ + "Copyright \xc2\xa9 2011 Perberos\n" "Copyright \xc2\xa9 2003 Sun Microsystems, Inc.\n" "Copyright \xc2\xa9 2001 Free Software Foundation, Inc.\n" "Copyright \xc2\xa9 2000 Helix Code, Inc."; @@ -85,7 +89,7 @@ static void window_menu_about(GtkAction* action, WindowMenu* window_menu) "logo-icon-name", WINDOW_MENU_ICON, "translator-credits", _("translator-credits"), "version", VERSION, - "website", "http://matsusoft.com.ar/projects/mate/", + "website", "http://www.mate-desktop.org/", NULL); } diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c index cd241bea..0e0641e5 100644 --- a/applets/wncklet/workspace-switcher.c +++ b/applets/wncklet/workspace-switcher.c @@ -559,18 +559,22 @@ static void display_help_dialog(GtkAction* action, PagerData* pager) static void display_about_dialog(GtkAction* action, PagerData* pager) { static const gchar* authors[] = { + "Perberos ", + "Steve Zesch ", + "Stefano Karapetsas ", "Alexander Larsson ", NULL }; const char* documenters[] = { "John Fleck ", - "Sun MATE Documentation Team ", + "Sun GNOME Documentation Team ", NULL }; char copyright[] = \ - "Copyright \xc2\xa9 2001-2002 Red Hat, Inc."; + "Copyright \xc2\xa9 2011 Perberos\n" + "Copyright \xc2\xa9 2002 Red Hat, Inc."; gtk_show_about_dialog(GTK_WINDOW(pager->applet), "program-name", _("Workspace Switcher"), @@ -582,7 +586,7 @@ static void display_about_dialog(GtkAction* action, PagerData* pager) "logo-icon-name", WORKSPACE_SWITCHER_ICON, "translator-credits", _("translator-credits"), "version", VERSION, - "website", "http://matsusoft.com.ar/projects/mate/", + "website", "http://www.mate-desktop.org/", NULL); } -- cgit v1.2.1