[gnome-devel-docs] Updated Greek translation
- From: Damned-Lies <translations src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] Updated Greek translation
- Date: Sun, 10 Apr 2016 19:04:45 +0000 (UTC)
commit f58ad05f0045c014e0184bf44cc520398def47ef
Author: Tom Tryfonidis <tomtryf gnome org>
Date: Sun Apr 10 19:04:39 2016 +0000
Updated Greek translation
platform-demos/el/el.po | 366 ++++++++++++++++++++++++++++++++---------------
1 files changed, 253 insertions(+), 113 deletions(-)
---
diff --git a/platform-demos/el/el.po b/platform-demos/el/el.po
index 9141f75..a090827 100644
--- a/platform-demos/el/el.po
+++ b/platform-demos/el/el.po
@@ -7,8 +7,8 @@
msgid ""
msgstr ""
"Project-Id-Version: gnome-devel-docs master\n"
-"POT-Creation-Date: 2015-11-10 08:53+0000\n"
-"PO-Revision-Date: 2015-11-10 12:41+0200\n"
+"POT-Creation-Date: 2016-04-10 08:10+0000\n"
+"PO-Revision-Date: 2016-04-10 22:00+0300\n"
"Last-Translator: Tom Tryfonidis <tomtryf gmail com>\n"
"Language-Team: team lists gnome gr\n"
"Language: el\n"
@@ -16,7 +16,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 1.8.5\n"
+"X-Generator: Poedit 1.8.7.1\n"
"X-Project-Style: gnome\n"
#. Put one translator per line, in the form NAME <EMAIL>, YEAR1, YEAR2
@@ -3086,12 +3086,178 @@ msgstr "<em style=\"bold\">You need to be running Gtk3.4 or later for this to wo
#. (itstool) path: page/code
#: C/aboutdialog.c.page:29
#, no-wrap
+#| msgid ""
+#| "\n"
+#| "#include <gtk/gtk.h>\n"
+#| "\n"
+#| "\n"
+#| "\n"
+#| "/* Callback function in which reacts to the \"response\" signal from the user in\n"
+#| " * the message dialog window.\n"
+#| " * This function is used to destroy the dialog window.\n"
+#| " */\n"
+#| "static void\n"
+#| "on_close (GtkDialog *dialog,\n"
+#| " gint response_id,\n"
+#| " gpointer user_data)\n"
+#| "{\n"
+#| " /*This will cause the dialog to be destroyed*/\n"
+#| " gtk_widget_destroy (GTK_WIDGET (dialog));\n"
+#| "\n"
+#| "}\n"
+#| "\n"
+#| "\n"
+#| "\n"
+#| "/* Callback function for the response signal \"activate\" related to the SimpleAction\n"
+#| " * \"about_action\".\n"
+#| " * This function is used to cause the about dialog window to popup.\n"
+#| " */\n"
+#| "static void\n"
+#| "about_cb (GSimpleAction *simple,\n"
+#| " GVariant *parameter,\n"
+#| " gpointer user_data)\n"
+#| "{\n"
+#| " GtkWidget *about_dialog;\n"
+#| "\n"
+#| " about_dialog = gtk_about_dialog_new ();\n"
+#| "\n"
+#| " /* Lists of authors/ documentators to be used later, they must be initialized\n"
+#| " * in a null terminated array of strings.\n"
+#| " */\n"
+#| " const gchar *authors[] = {\"GNOME Documentation Team\", NULL};\n"
+#| " const gchar *documenters[] = {\"GNOME Documentation Team\", NULL};\n"
+#| "\n"
+#| " /* We fill in the information for the about dialog */\n"
+#| " gtk_about_dialog_set_program_name (GTK_ABOUT_DIALOG (about_dialog), \"AboutDialog Example\");\n"
+#| " gtk_about_dialog_set_copyright (GTK_ABOUT_DIALOG (about_dialog), \"Copyright \\xc2\\xa9 2012 GNOME
Documentation Team\");\n"
+#| " gtk_about_dialog_set_authors (GTK_ABOUT_DIALOG (about_dialog), authors);\n"
+#| " gtk_about_dialog_set_documenters (GTK_ABOUT_DIALOG (about_dialog), documenters);\n"
+#| " gtk_about_dialog_set_website_label (GTK_ABOUT_DIALOG (about_dialog), \"GNOME Developer Website\");\n"
+#| " gtk_about_dialog_set_website (GTK_ABOUT_DIALOG (about_dialog), \"http://developer.gnome.org\");\n"
+#| "\n"
+#| " /* We do not wish to show the title, which in this case would be \n"
+#| " * \"AboutDialog Example\". We have to reset the title of the messagedialog \n"
+#| " * window after setting the program name.\n"
+#| " */\n"
+#| " gtk_window_set_title (GTK_WINDOW (about_dialog), \"\");\n"
+#| "\n"
+#| " /* To close the aboutdialog when \"close\" is clicked we connect the response \n"
+#| " * signal to on_close\n"
+#| " */\n"
+#| " g_signal_connect (GTK_DIALOG (about_dialog), \"response\", \n"
+#| " G_CALLBACK (on_close), NULL);\n"
+#| "\n"
+#| " /* Show the about dialog */\n"
+#| " gtk_widget_show (about_dialog); \n"
+#| "}\n"
+#| "\n"
+#| "\n"
+#| "\n"
+#| "static void\n"
+#| "activate (GtkApplication *app,\n"
+#| " gpointer user_data)\n"
+#| "{\n"
+#| " GtkWidget *window;\n"
+#| "\n"
+#| " GSimpleAction *about_action;\n"
+#| "\n"
+#| " /* Create a window with a title and a default size */\n"
+#| " window = gtk_application_window_new (app);\n"
+#| " gtk_window_set_title (GTK_WINDOW (window), \"AboutDialog Example\");\n"
+#| " gtk_window_set_default_size (GTK_WINDOW (window), 200, 200);\n"
+#| "\n"
+#| " /* Create a new simple action, giving it a NULL parameter type. It will \n"
+#| " * always be NULL for actions invoked from a menu. (e.g clicking on an \"ok\" \n"
+#| " * or \"cancel\" button)\n"
+#| " */\n"
+#| " about_action = g_simple_action_new (\"about\", NULL); \n"
+#| "\n"
+#| " /* Connect the \"activate\" signal to the appropriate callback function. \n"
+#| " * It will indicate that the action was just activated.\n"
+#| " */\n"
+#| " g_signal_connect (about_action, \"activate\", G_CALLBACK (about_cb), \n"
+#| " GTK_WINDOW (window));\n"
+#| "\n"
+#| " /* Adds the about_action to the overall action map. An Action map is an \n"
+#| " * interface that contains a number of named GAction instances \n"
+#| " * (such as about_action) \n"
+#| " */\n"
+#| " g_action_map_add_action (G_ACTION_MAP (window), G_ACTION (about_action));\n"
+#| "\n"
+#| " gtk_widget_show_all (window);\n"
+#| "}\n"
+#| "\n"
+#| "\n"
+#| "\n"
+#| "/* Callback function for the response signal \"activate\" from the \"quit\" action \n"
+#| " * found in the function directly below.\n"
+#| " */ \n"
+#| "static void\n"
+#| "quit_cb (GSimpleAction *simple,\n"
+#| " GVariant *parameter,\n"
+#| " gpointer user_data)\n"
+#| "{\n"
+#| " GApplication *application = user_data;\n"
+#| "\n"
+#| " g_application_quit (application);\n"
+#| "}\n"
+#| "\n"
+#| "\n"
+#| "\n"
+#| "/* Startup function for the menu we are creating in this sample */\n"
+#| "static void\n"
+#| "startup (GApplication *app,\n"
+#| " gpointer user_data)\n"
+#| "{\n"
+#| " GMenu *menu;\n"
+#| " GSimpleAction *quit_action;\n"
+#| "\n"
+#| " /* Initialize the GMenu, and add a menu item with label \"About\" and action \n"
+#| " * \"win.about\". Also add another menu item with label \"Quit\" and action \n"
+#| " * \"app.quit\" \n"
+#| " */\n"
+#| " menu = g_menu_new ();\n"
+#| " g_menu_append (menu, \"About\", \"win.about\");\n"
+#| " g_menu_append (menu, \"Quit\", \"app.quit\");\n"
+#| "\n"
+#| " /* Create a new simple action for the application. (In this case it is the \n"
+#| " * \"quit\" action.\n"
+#| " */\n"
+#| " quit_action = g_simple_action_new (\"quit\", NULL);\n"
+#| "\n"
+#| " /* Ensure that the menu we have just created is set for the overall application */\n"
+#| " gtk_application_set_app_menu (GTK_APPLICATION (app), G_MENU_MODEL (menu));\n"
+#| "\n"
+#| " g_signal_connect (quit_action, \n"
+#| " \"activate\", \n"
+#| " G_CALLBACK (quit_cb), \n"
+#| " app);\n"
+#| "\n"
+#| " g_action_map_add_action (G_ACTION_MAP (app), G_ACTION (quit_action));\n"
+#| "\n"
+#| "}\n"
+#| "\n"
+#| "\n"
+#| "\n"
+#| "/* Startup function for the application */\n"
+#| "int\n"
+#| "main (int argc, char **argv)\n"
+#| "{\n"
+#| " GtkApplication *app;\n"
+#| " int status;\n"
+#| "\n"
+#| " app = gtk_application_new (\"org.gtk.example\", G_APPLICATION_FLAGS_NONE);\n"
+#| " g_signal_connect (app, \"activate\", G_CALLBACK (activate), NULL);\n"
+#| " g_signal_connect (app, \"startup\", G_CALLBACK (startup), NULL);\n"
+#| " status = g_application_run (G_APPLICATION (app), argc, argv);\n"
+#| " g_object_unref (app);\n"
+#| "\n"
+#| " return status;\n"
+#| "}\n"
msgid ""
"\n"
"#include <gtk/gtk.h>\n"
"\n"
-"\n"
-"\n"
"/* Callback function in which reacts to the \"response\" signal from the user in\n"
" * the message dialog window.\n"
" * This function is used to destroy the dialog window.\n"
@@ -3101,13 +3267,10 @@ msgid ""
" gint response_id,\n"
" gpointer user_data)\n"
"{\n"
-" /*This will cause the dialog to be destroyed*/\n"
+" /* This will cause the dialog to be destroyed */\n"
" gtk_widget_destroy (GTK_WIDGET (dialog));\n"
-"\n"
"}\n"
"\n"
-"\n"
-"\n"
"/* Callback function for the response signal \"activate\" related to the SimpleAction\n"
" * \"about_action\".\n"
" * This function is used to cause the about dialog window to popup.\n"
@@ -3117,42 +3280,40 @@ msgid ""
" GVariant *parameter,\n"
" gpointer user_data)\n"
"{\n"
-" GtkWidget *about_dialog;\n"
+" GtkWidget *about_dialog;\n"
"\n"
-" about_dialog = gtk_about_dialog_new ();\n"
+" about_dialog = gtk_about_dialog_new ();\n"
"\n"
-" /* Lists of authors/ documentators to be used later, they must be initialized\n"
-" * in a null terminated array of strings.\n"
-" */\n"
-" const gchar *authors[] = {\"GNOME Documentation Team\", NULL};\n"
-" const gchar *documenters[] = {\"GNOME Documentation Team\", NULL};\n"
-"\n"
-" /* We fill in the information for the about dialog */\n"
-" gtk_about_dialog_set_program_name (GTK_ABOUT_DIALOG (about_dialog), \"AboutDialog Example\");\n"
-" gtk_about_dialog_set_copyright (GTK_ABOUT_DIALOG (about_dialog), \"Copyright \\xc2\\xa9 2012 GNOME
Documentation Team\");\n"
-" gtk_about_dialog_set_authors (GTK_ABOUT_DIALOG (about_dialog), authors);\n"
-" gtk_about_dialog_set_documenters (GTK_ABOUT_DIALOG (about_dialog), documenters);\n"
-" gtk_about_dialog_set_website_label (GTK_ABOUT_DIALOG (about_dialog), \"GNOME Developer Website\");\n"
-" gtk_about_dialog_set_website (GTK_ABOUT_DIALOG (about_dialog), \"http://developer.gnome.org\");\n"
-"\n"
-" /* We do not wish to show the title, which in this case would be \n"
-" * \"AboutDialog Example\". We have to reset the title of the messagedialog \n"
+" /* Lists of authors/ documentators to be used later, they must be initialized\n"
+" * in a null terminated array of strings.\n"
+" */\n"
+" const gchar *authors[] = {\"GNOME Documentation Team\", NULL};\n"
+" const gchar *documenters[] = {\"GNOME Documentation Team\", NULL};\n"
+"\n"
+" /* We fill in the information for the about dialog */\n"
+" gtk_about_dialog_set_program_name (GTK_ABOUT_DIALOG (about_dialog), \"AboutDialog Example\");\n"
+" gtk_about_dialog_set_copyright (GTK_ABOUT_DIALOG (about_dialog), \"Copyright \\xc2\\xa9 2012 GNOME
Documentation Team\");\n"
+" gtk_about_dialog_set_authors (GTK_ABOUT_DIALOG (about_dialog), authors);\n"
+" gtk_about_dialog_set_documenters (GTK_ABOUT_DIALOG (about_dialog), documenters);\n"
+" gtk_about_dialog_set_website_label (GTK_ABOUT_DIALOG (about_dialog), \"GNOME Developer Website\");\n"
+" gtk_about_dialog_set_website (GTK_ABOUT_DIALOG (about_dialog), \"http://developer.gnome.org\");\n"
+"\n"
+" /* We do not wish to show the title, which in this case would be\n"
+" * \"AboutDialog Example\". We have to reset the title of the messagedialog\n"
" * window after setting the program name.\n"
" */\n"
" gtk_window_set_title (GTK_WINDOW (about_dialog), \"\");\n"
"\n"
-" /* To close the aboutdialog when \"close\" is clicked we connect the response \n"
+" /* To close the aboutdialog when \"close\" is clicked we connect the response\n"
" * signal to on_close\n"
" */\n"
-" g_signal_connect (GTK_DIALOG (about_dialog), \"response\", \n"
+" g_signal_connect (GTK_DIALOG (about_dialog), \"response\",\n"
" G_CALLBACK (on_close), NULL);\n"
"\n"
" /* Show the about dialog */\n"
-" gtk_widget_show (about_dialog); \n"
+" gtk_widget_show (about_dialog);\n"
"}\n"
"\n"
-"\n"
-"\n"
"static void\n"
"activate (GtkApplication *app,\n"
" gpointer user_data)\n"
@@ -3166,32 +3327,30 @@ msgid ""
" gtk_window_set_title (GTK_WINDOW (window), \"AboutDialog Example\");\n"
" gtk_window_set_default_size (GTK_WINDOW (window), 200, 200);\n"
"\n"
-" /* Create a new simple action, giving it a NULL parameter type. It will \n"
-" * always be NULL for actions invoked from a menu. (e.g clicking on an \"ok\" \n"
+" /* Create a new simple action, giving it a NULL parameter type. It will\n"
+" * always be NULL for actions invoked from a menu. (e.g clicking on an \"ok\"\n"
" * or \"cancel\" button)\n"
" */\n"
-" about_action = g_simple_action_new (\"about\", NULL); \n"
+" about_action = g_simple_action_new (\"about\", NULL);\n"
"\n"
-" /* Connect the \"activate\" signal to the appropriate callback function. \n"
+" /* Connect the \"activate\" signal to the appropriate callback function.\n"
" * It will indicate that the action was just activated.\n"
" */\n"
-" g_signal_connect (about_action, \"activate\", G_CALLBACK (about_cb), \n"
+" g_signal_connect (about_action, \"activate\", G_CALLBACK (about_cb),\n"
" GTK_WINDOW (window));\n"
"\n"
-" /* Adds the about_action to the overall action map. An Action map is an \n"
-" * interface that contains a number of named GAction instances \n"
-" * (such as about_action) \n"
+" /* Adds the about_action to the overall action map. An Action map is an\n"
+" * interface that contains a number of named GAction instances\n"
+" * (such as about_action)\n"
" */\n"
" g_action_map_add_action (G_ACTION_MAP (window), G_ACTION (about_action));\n"
"\n"
" gtk_widget_show_all (window);\n"
"}\n"
"\n"
-"\n"
-"\n"
-"/* Callback function for the response signal \"activate\" from the \"quit\" action \n"
+"/* Callback function for the response signal \"activate\" from the \"quit\" action\n"
" * found in the function directly below.\n"
-" */ \n"
+" */\n"
"static void\n"
"quit_cb (GSimpleAction *simple,\n"
" GVariant *parameter,\n"
@@ -3202,8 +3361,6 @@ msgid ""
" g_application_quit (application);\n"
"}\n"
"\n"
-"\n"
-"\n"
"/* Startup function for the menu we are creating in this sample */\n"
"static void\n"
"startup (GApplication *app,\n"
@@ -3212,15 +3369,15 @@ msgid ""
" GMenu *menu;\n"
" GSimpleAction *quit_action;\n"
"\n"
-" /* Initialize the GMenu, and add a menu item with label \"About\" and action \n"
-" * \"win.about\". Also add another menu item with label \"Quit\" and action \n"
-" * \"app.quit\" \n"
+" /* Initialize the GMenu, and add a menu item with label \"About\" and action\n"
+" * \"win.about\". Also add another menu item with label \"Quit\" and action\n"
+" * \"app.quit\"\n"
" */\n"
" menu = g_menu_new ();\n"
" g_menu_append (menu, \"About\", \"win.about\");\n"
" g_menu_append (menu, \"Quit\", \"app.quit\");\n"
"\n"
-" /* Create a new simple action for the application. (In this case it is the \n"
+" /* Create a new simple action for the application. (In this case it is the\n"
" * \"quit\" action.\n"
" */\n"
" quit_action = g_simple_action_new (\"quit\", NULL);\n"
@@ -3228,17 +3385,14 @@ msgid ""
" /* Ensure that the menu we have just created is set for the overall application */\n"
" gtk_application_set_app_menu (GTK_APPLICATION (app), G_MENU_MODEL (menu));\n"
"\n"
-" g_signal_connect (quit_action, \n"
-" \"activate\", \n"
-" G_CALLBACK (quit_cb), \n"
+" g_signal_connect (quit_action,\n"
+" \"activate\",\n"
+" G_CALLBACK (quit_cb),\n"
" app);\n"
"\n"
" g_action_map_add_action (G_ACTION_MAP (app), G_ACTION (quit_action));\n"
-"\n"
"}\n"
"\n"
-"\n"
-"\n"
"/* Startup function for the application */\n"
"int\n"
"main (int argc, char **argv)\n"
@@ -3258,8 +3412,6 @@ msgstr ""
"\n"
"#include <gtk/gtk.h>\n"
"\n"
-"\n"
-"\n"
"/* Callback function in which reacts to the \"response\" signal from the user in\n"
" * the message dialog window.\n"
" * This function is used to destroy the dialog window.\n"
@@ -3269,13 +3421,10 @@ msgstr ""
" gint response_id,\n"
" gpointer user_data)\n"
"{\n"
-" /*This will cause the dialog to be destroyed*/\n"
+" /* This will cause the dialog to be destroyed */\n"
" gtk_widget_destroy (GTK_WIDGET (dialog));\n"
-"\n"
"}\n"
"\n"
-"\n"
-"\n"
"/* Callback function for the response signal \"activate\" related to the SimpleAction\n"
" * \"about_action\".\n"
" * This function is used to cause the about dialog window to popup.\n"
@@ -3285,42 +3434,40 @@ msgstr ""
" GVariant *parameter,\n"
" gpointer user_data)\n"
"{\n"
-" GtkWidget *about_dialog;\n"
+" GtkWidget *about_dialog;\n"
"\n"
-" about_dialog = gtk_about_dialog_new ();\n"
+" about_dialog = gtk_about_dialog_new ();\n"
"\n"
-" /* Lists of authors/ documentators to be used later, they must be initialized\n"
-" * in a null terminated array of strings.\n"
-" */\n"
-" const gchar *authors[] = {\"GNOME Documentation Team\", NULL};\n"
-" const gchar *documenters[] = {\"GNOME Documentation Team\", NULL};\n"
-"\n"
-" /* We fill in the information for the about dialog */\n"
-" gtk_about_dialog_set_program_name (GTK_ABOUT_DIALOG (about_dialog), \"AboutDialog Example\");\n"
-" gtk_about_dialog_set_copyright (GTK_ABOUT_DIALOG (about_dialog), \"Copyright \\xc2\\xa9 2012 GNOME
Documentation Team\");\n"
-" gtk_about_dialog_set_authors (GTK_ABOUT_DIALOG (about_dialog), authors);\n"
-" gtk_about_dialog_set_documenters (GTK_ABOUT_DIALOG (about_dialog), documenters);\n"
-" gtk_about_dialog_set_website_label (GTK_ABOUT_DIALOG (about_dialog), \"GNOME Developer Website\");\n"
-" gtk_about_dialog_set_website (GTK_ABOUT_DIALOG (about_dialog), \"http://developer.gnome.org\");\n"
-"\n"
-" /* We do not wish to show the title, which in this case would be \n"
-" * \"AboutDialog Example\". We have to reset the title of the messagedialog \n"
+" /* Lists of authors/ documentators to be used later, they must be initialized\n"
+" * in a null terminated array of strings.\n"
+" */\n"
+" const gchar *authors[] = {\"GNOME Documentation Team\", NULL};\n"
+" const gchar *documenters[] = {\"GNOME Documentation Team\", NULL};\n"
+"\n"
+" /* We fill in the information for the about dialog */\n"
+" gtk_about_dialog_set_program_name (GTK_ABOUT_DIALOG (about_dialog), \"AboutDialog Example\");\n"
+" gtk_about_dialog_set_copyright (GTK_ABOUT_DIALOG (about_dialog), \"Copyright \\xc2\\xa9 2012 GNOME
Documentation Team\");\n"
+" gtk_about_dialog_set_authors (GTK_ABOUT_DIALOG (about_dialog), authors);\n"
+" gtk_about_dialog_set_documenters (GTK_ABOUT_DIALOG (about_dialog), documenters);\n"
+" gtk_about_dialog_set_website_label (GTK_ABOUT_DIALOG (about_dialog), \"GNOME Developer Website\");\n"
+" gtk_about_dialog_set_website (GTK_ABOUT_DIALOG (about_dialog), \"http://developer.gnome.org\");\n"
+"\n"
+" /* We do not wish to show the title, which in this case would be\n"
+" * \"AboutDialog Example\". We have to reset the title of the messagedialog\n"
" * window after setting the program name.\n"
" */\n"
" gtk_window_set_title (GTK_WINDOW (about_dialog), \"\");\n"
"\n"
-" /* To close the aboutdialog when \"close\" is clicked we connect the response \n"
+" /* To close the aboutdialog when \"close\" is clicked we connect the response\n"
" * signal to on_close\n"
" */\n"
-" g_signal_connect (GTK_DIALOG (about_dialog), \"response\", \n"
+" g_signal_connect (GTK_DIALOG (about_dialog), \"response\",\n"
" G_CALLBACK (on_close), NULL);\n"
"\n"
" /* Show the about dialog */\n"
-" gtk_widget_show (about_dialog); \n"
+" gtk_widget_show (about_dialog);\n"
"}\n"
"\n"
-"\n"
-"\n"
"static void\n"
"activate (GtkApplication *app,\n"
" gpointer user_data)\n"
@@ -3334,32 +3481,30 @@ msgstr ""
" gtk_window_set_title (GTK_WINDOW (window), \"AboutDialog Example\");\n"
" gtk_window_set_default_size (GTK_WINDOW (window), 200, 200);\n"
"\n"
-" /* Create a new simple action, giving it a NULL parameter type. It will \n"
-" * always be NULL for actions invoked from a menu. (e.g clicking on an \"ok\" \n"
+" /* Create a new simple action, giving it a NULL parameter type. It will\n"
+" * always be NULL for actions invoked from a menu. (e.g clicking on an \"ok\"\n"
" * or \"cancel\" button)\n"
" */\n"
-" about_action = g_simple_action_new (\"about\", NULL); \n"
+" about_action = g_simple_action_new (\"about\", NULL);\n"
"\n"
-" /* Connect the \"activate\" signal to the appropriate callback function. \n"
+" /* Connect the \"activate\" signal to the appropriate callback function.\n"
" * It will indicate that the action was just activated.\n"
" */\n"
-" g_signal_connect (about_action, \"activate\", G_CALLBACK (about_cb), \n"
+" g_signal_connect (about_action, \"activate\", G_CALLBACK (about_cb),\n"
" GTK_WINDOW (window));\n"
"\n"
-" /* Adds the about_action to the overall action map. An Action map is an \n"
-" * interface that contains a number of named GAction instances \n"
-" * (such as about_action) \n"
+" /* Adds the about_action to the overall action map. An Action map is an\n"
+" * interface that contains a number of named GAction instances\n"
+" * (such as about_action)\n"
" */\n"
" g_action_map_add_action (G_ACTION_MAP (window), G_ACTION (about_action));\n"
"\n"
" gtk_widget_show_all (window);\n"
"}\n"
"\n"
-"\n"
-"\n"
-"/* Callback function for the response signal \"activate\" from the \"quit\" action \n"
+"/* Callback function for the response signal \"activate\" from the \"quit\" action\n"
" * found in the function directly below.\n"
-" */ \n"
+" */\n"
"static void\n"
"quit_cb (GSimpleAction *simple,\n"
" GVariant *parameter,\n"
@@ -3370,8 +3515,6 @@ msgstr ""
" g_application_quit (application);\n"
"}\n"
"\n"
-"\n"
-"\n"
"/* Startup function for the menu we are creating in this sample */\n"
"static void\n"
"startup (GApplication *app,\n"
@@ -3380,15 +3523,15 @@ msgstr ""
" GMenu *menu;\n"
" GSimpleAction *quit_action;\n"
"\n"
-" /* Initialize the GMenu, and add a menu item with label \"About\" and action \n"
-" * \"win.about\". Also add another menu item with label \"Quit\" and action \n"
-" * \"app.quit\" \n"
+" /* Initialize the GMenu, and add a menu item with label \"About\" and action\n"
+" * \"win.about\". Also add another menu item with label \"Quit\" and action\n"
+" * \"app.quit\"\n"
" */\n"
" menu = g_menu_new ();\n"
" g_menu_append (menu, \"About\", \"win.about\");\n"
" g_menu_append (menu, \"Quit\", \"app.quit\");\n"
"\n"
-" /* Create a new simple action for the application. (In this case it is the \n"
+" /* Create a new simple action for the application. (In this case it is the\n"
" * \"quit\" action.\n"
" */\n"
" quit_action = g_simple_action_new (\"quit\", NULL);\n"
@@ -3396,17 +3539,14 @@ msgstr ""
" /* Ensure that the menu we have just created is set for the overall application */\n"
" gtk_application_set_app_menu (GTK_APPLICATION (app), G_MENU_MODEL (menu));\n"
"\n"
-" g_signal_connect (quit_action, \n"
-" \"activate\", \n"
-" G_CALLBACK (quit_cb), \n"
+" g_signal_connect (quit_action,\n"
+" \"activate\",\n"
+" G_CALLBACK (quit_cb),\n"
" app);\n"
"\n"
" g_action_map_add_action (G_ACTION_MAP (app), G_ACTION (quit_action));\n"
-"\n"
"}\n"
"\n"
-"\n"
-"\n"
"/* Startup function for the application */\n"
"int\n"
"main (int argc, char **argv)\n"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]