Branch: refs/heads/master
Author: Dan Dascalescu <ddascalescu+github(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: Fri, 31 May 2019 03:27:38 UTC
Commit: 43eba2426bc5b539c03c141cdd11b974dec95548
https://github.com/geany/plugins.geany.org/commit/43eba2426bc5b539c03c141cd…
Log Message:
-----------
Clean up landing page and add Installation heading
Modified Paths:
--------------
content/start.html
Modified: content/start.html
50 lines changed, 21 insertions(+), 29 deletions(-)
===================================================================
@@ -1,53 +1,45 @@
<h2>Welcome</h2>
-<p> What you will find here is a lot of plugin stuff for <a href=
-"http://www.geany.org">Geany</a>. There is a Geany Plugins project</a>
-containing a lot of plugins, which is developed by various developers on <a
-href="https://github.com/geany/geany-plugins">GitHub</a>. </p>
+<p>This site is the home page for <a href= "http://www.geany.org">Geany</a>
+plugins. It includes official Geany Plugins, as well as 3rd party ones.</p>
-<p> Any plugin delivered with the Geany Plugins project is listed on the
-left sidebar (Or rather any plugin providing a valid README file written in
-reStructuredText. There are some plugins in an early development state, not
-having such a README file yet.) </p>
+<p>Some plugins may lack details. Feel free to bug us
+<a href="https://www.geany.org/Support/IRC">on IRC</a> about them.</p>
-<p> There also are some third party plugins for Geany. They are already
-listed on the left navigation bar, but maybe content is missing, yet. Feel
-free to kick our butts on IRC to complete also this pages and fill them with
-information. </p>
+<h3>Installation</h3>
+See the <a href="install.html">Installation</a> page.
-<p>If you are searching for <em>any</em> plugin for Geany or information about
-a plugin, this website is (or will be) the right place to get those
-information.</p>
+<h3>Developer details</h3>
+<p>The code for the plugins from the Geany Plugins project is hosted
+<a href="https://github.com/geany/geany-plugins">on GitHub</a>.</p>
-<p> The pages for any plugin delivered with the Geany Plugins project are
-automatically generated by a shell script using <a href=
-"http://docutils.sourceforge.net/">rst2html from doctools</a> and <a href=
-"http://www.html-tidy.org/">HTML Tidy</a>. Basis for that are the README
-files for each plugin, checked out and updated from <a href=
-"https://github.com/geany/geany-plugins">GitHub</a>, so if you think there's
-something wrong, you can feel free to report
-issues against the according plugin (or even this website) at <a href="https://github.com/geany/geany-plugins/issues">GitHub</a>.<br />
+<p>The details page for any plugin in the Geany Plugins project is
+automatically generated by a shell script from the README file of the plugin,
+using <a href="http://docutils.sourceforge.net/">rst2html from doctools</a>
+and <a href="http://www.html-tidy.org/">HTML Tidy</a>. If you think there's
+something wrong, feel free to report issues against the corresponding plugin
+at <a href="https://github.com/geany/geany-plugins/issues">GitHub</a>.
-The <a href= "https://github.com/geany/plugins.geany.org" >source code of
+<p>The <a href="https://github.com/geany/plugins.geany.org">source code of
this script</a> (including the whole source for the plugins.geany.org
-website itself) is available on <a href=
-"https://github.com/geany/plugins.geany.org">GitHub</a> as well. </p>
+website itself) is available <a href="https://github.com/geany/plugins.geany.org">
+on GitHub</a> as well.</p>
<p>
If you are a plugin developer and wonder why your plugin is not listed here,
there may be several reasons for that:
</p>
<ul>
<li>you didn't know of this site yet</li>
- <li>the maintainers of this site didn't know of your plugin yet</li>
+ <li>the maintainers of this site don't know about your plugin yet</li>
<li>your plugin is part of the Geany Plugins project, but</li>
<li><ul>
<li>you don't have a README file written in reStructuredText</li>
<li>or your README file is empty</li>
- <li>or a README file doesn't even exist</li>
+ <li>or a README file doesn't exist at all</li>
</ul></li>
</ul>
<p>
For any of these reasons, you will find more detailed hints on the
-<a href="index.php?site=README">List or update a plugin page</a>.
+<a href="README.html">List or update a plugin page</a>.
</p>
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Frank Lanitz <frank(a)frank.uvena.de>
Committer: GitHub <noreply(a)github.com>
Date: Thu, 23 May 2019 15:24:22 UTC
Commit: 68cb7d2c0f75aef0e98b3877088473a8618c46a0
https://github.com/geany/geany-plugins/commit/68cb7d2c0f75aef0e98b387708847…
Log Message:
-----------
Merge pull request #870 from LarsGit223/wb-styling
workbench: give sidebar a name to enable dedicated CSS styling
Modified Paths:
--------------
workbench/README
workbench/src/sidebar.c
Modified: workbench/README
41 lines changed, 41 insertions(+), 0 deletions(-)
===================================================================
@@ -166,6 +166,47 @@ will output a message in the message window. The message has the following form:
Could not setup file monitoring for directory: "exampledir". Error: <some error message>
+Styling the sidebar
+-------------------
+
+On linux based systems using GTK3 the workbench sidebar can be styled using CSS.
+For general information on how to setup CSS with Geany please see the manual under
+https://www.geany.org/manual/current/index.html#customizing-geany-s-appearance-using-gtk-3-css.
+
+To style the workbench sidebar use the CSS ID *"workbench"*. Here is a small
+example::
+
+ /* Style the label over the treeview. */
+ #workbench label {
+ color: black;
+ background-color: silver;
+ border-bottom: 2px solid red;
+ font-size: 20pt;
+ }
+
+ /* Style the treeview: the border-color specifies the color of the
+ treeview lines (if enabled in the workbench settings). */
+ #workbench treeview {
+ color: black;
+ background-color: linen;
+ border-color: darkviolet;
+ font-size: 12pt;
+ }
+
+ /* The following changes the text and background color for the selected
+ row in the workbench treeview. */
+ #workbench treeview:selected {
+ color: white;
+ background-color: red;
+ }
+
+ /* The following changes the text and background color for a row in the
+ workbench treeview if the user hovers over it with the mouse pointer. */
+ #workbench treeview:hover {
+ color: white;
+ background-color: orange;
+ }
+
Known issues
============
Modified: workbench/src/sidebar.c
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -1374,6 +1374,7 @@ void sidebar_init(void)
GList *focus_chain = NULL;
sidebar.file_view_vbox = gtk_vbox_new(FALSE, 0);
+ gtk_widget_set_name(sidebar.file_view_vbox, "workbench");
/**** label ****/
sidebar.file_view_label = gtk_label_new (_("No workbench opened."));
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: LarsGit223 <lars_paulsen(a)web.de>
Committer: LarsGit223 <lars_paulsen(a)web.de>
Date: Wed, 22 May 2019 18:40:35 UTC
Commit: bd2fd080acf681acae85d43a0f7711cffb9f6a2f
https://github.com/geany/geany-plugins/commit/bd2fd080acf681acae85d43a0f771…
Log Message:
-----------
workbench: give sidebar a name to enable dedicated CSS styling
Give the sidebar a name/CSS ID to enable dedicated styling. Also
added a section with an example to the README.
Modified Paths:
--------------
workbench/README
workbench/src/sidebar.c
Modified: workbench/README
41 lines changed, 41 insertions(+), 0 deletions(-)
===================================================================
@@ -166,6 +166,47 @@ will output a message in the message window. The message has the following form:
Could not setup file monitoring for directory: "exampledir". Error: <some error message>
+Styling the sidebar
+-------------------
+
+On linux based systems using GTK3 the workbench sidebar can be styled using CSS.
+For general information on how to setup CSS with Geany please see the manual under
+https://www.geany.org/manual/current/index.html#customizing-geany-s-appearance-using-gtk-3-css.
+
+To style the workbench sidebar use the CSS ID *"workbench"*. Here is a small
+example::
+
+ /* Style the label over the treeview. */
+ #workbench label {
+ color: black;
+ background-color: silver;
+ border-bottom: 2px solid red;
+ font-size: 20pt;
+ }
+
+ /* Style the treeview: the border-color specifies the color of the
+ treeview lines (if enabled in the workbench settings). */
+ #workbench treeview {
+ color: black;
+ background-color: linen;
+ border-color: darkviolet;
+ font-size: 12pt;
+ }
+
+ /* The following changes the text and background color for the selected
+ row in the workbench treeview. */
+ #workbench treeview:selected {
+ color: white;
+ background-color: red;
+ }
+
+ /* The following changes the text and background color for a row in the
+ workbench treeview if the user hovers over it with the mouse pointer. */
+ #workbench treeview:hover {
+ color: white;
+ background-color: orange;
+ }
+
Known issues
============
Modified: workbench/src/sidebar.c
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -1374,6 +1374,7 @@ void sidebar_init(void)
GList *focus_chain = NULL;
sidebar.file_view_vbox = gtk_vbox_new(FALSE, 0);
+ gtk_widget_set_name(sidebar.file_view_vbox, "workbench");
/**** label ****/
sidebar.file_view_label = gtk_label_new (_("No workbench opened."));
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: LarsGit223 <lars_paulsen(a)web.de>
Committer: LarsGit223 <lars_paulsen(a)web.de>
Date: Mon, 20 May 2019 17:20:12 UTC
Commit: 9e480a3b88f95a61fbef1e951efc426ccd4a9bb2
https://github.com/geany/geany-plugins/commit/9e480a3b88f95a61fbef1e951efc4…
Log Message:
-----------
workbench: save settings immediately
After confirming changed settings with "OK" they will now immediately
be written back to the workbench file. Therefore the menu item
"Workbench / Save" became useless and has been removed. Closes #841.
Modified Paths:
--------------
workbench/README
workbench/src/menu.c
workbench/src/plugin_main.c
Modified: workbench/README
8 lines changed, 3 insertions(+), 5 deletions(-)
===================================================================
@@ -35,12 +35,10 @@ menu:
As explained above, creates a new Workbench.
**Item "Open"**
Open a Workbench.
-**Item "Save"**
- Save the opened Workbench. This "only" saves any changes
- in the Workbench file. It does not save any changes of the projects
- belonging to the Workbench.
**Item "Settings"**
- Open the Workbench settings dialog.
+ Open the Workbench settings dialog. After the settings have been
+ confirmed with "OK" they will be written back to the workbench file
+ (if any value was changed).
**Item "Close"**
Closes the opened Workbench.
Modified: workbench/src/menu.c
35 lines changed, 9 insertions(+), 26 deletions(-)
===================================================================
@@ -36,7 +36,6 @@ typedef struct
GtkWidget *root_item;
GtkWidget *item_new;
GtkWidget *item_open;
- GtkWidget *item_save;
GtkWidget *item_settings;
GtkWidget *item_close;
}WB_MENU_DATA;
@@ -58,14 +57,12 @@ void menu_set_context(MENU_CONTEXT context)
case MENU_CONTEXT_WB_OPENED:
gtk_widget_set_sensitive(menu_data.item_new, FALSE);
gtk_widget_set_sensitive(menu_data.item_open, FALSE);
- gtk_widget_set_sensitive(menu_data.item_save, TRUE);
gtk_widget_set_sensitive(menu_data.item_settings, TRUE);
gtk_widget_set_sensitive(menu_data.item_close, TRUE);
break;
case MENU_CONTEXT_WB_CLOSED:
gtk_widget_set_sensitive(menu_data.item_new, TRUE);
gtk_widget_set_sensitive(menu_data.item_open, TRUE);
- gtk_widget_set_sensitive(menu_data.item_save, FALSE);
gtk_widget_set_sensitive(menu_data.item_settings, FALSE);
gtk_widget_set_sensitive(menu_data.item_close, FALSE);
break;
@@ -127,22 +124,6 @@ static void item_open_workbench_activate_cb(G_GNUC_UNUSED GtkMenuItem *menuitem,
}
-/* The function handles the menu item "Save workbench" */
-static void item_save_workbench_activate_cb(G_GNUC_UNUSED GtkMenuItem *menuitem, G_GNUC_UNUSED gpointer user_data)
-{
- GError *error = NULL;
-
- if (wb_globals.opened_wb != NULL)
- {
- if (!workbench_save(wb_globals.opened_wb, &error))
- {
- dialogs_show_msgbox(GTK_MESSAGE_INFO, _("Could not save workbench file: %s"), error->message);
- }
- sidebar_update(SIDEBAR_CONTEXT_WB_SAVED, NULL);
- }
-}
-
-
/* The function handles the menu item "Settings" */
static void item_workbench_settings_activate_cb(G_GNUC_UNUSED GtkMenuItem *menuitem, G_GNUC_UNUSED gpointer user_data)
{
@@ -153,8 +134,17 @@ static void item_workbench_settings_activate_cb(G_GNUC_UNUSED GtkMenuItem *menui
enable_live_update_old = workbench_get_enable_live_update(wb_globals.opened_wb);
if (dialogs_workbench_settings(wb_globals.opened_wb))
{
+ GError *error = NULL;
+
sidebar_update(SIDEBAR_CONTEXT_WB_SETTINGS_CHANGED, NULL);
+ /* Save the new settings to the workbench file (.geanywb). */
+ if (!workbench_save(wb_globals.opened_wb, &error))
+ {
+ dialogs_show_msgbox(GTK_MESSAGE_INFO, _("Could not save workbench file: %s"), error->message);
+ }
+ sidebar_update(SIDEBAR_CONTEXT_WB_SAVED, NULL);
+
enable_live_update = workbench_get_enable_live_update(wb_globals.opened_wb);
if (enable_live_update != enable_live_update_old)
{
@@ -209,13 +199,6 @@ gboolean menu_init(void)
g_signal_connect(menu_data.item_open, "activate",
G_CALLBACK(item_open_workbench_activate_cb), NULL);
- /* Create new menu item "Save Workbench" */
- menu_data.item_save = gtk_menu_item_new_with_mnemonic(_("_Save"));
- gtk_widget_show(menu_data.item_save);
- gtk_menu_shell_append(GTK_MENU_SHELL (menu_data.menu), menu_data.item_save);
- g_signal_connect(menu_data.item_save, "activate",
- G_CALLBACK(item_save_workbench_activate_cb), NULL);
-
/* Create new menu item "Workbench Settings" */
menu_data.item_settings = gtk_menu_item_new_with_mnemonic(_("S_ettings"));
gtk_widget_show(menu_data.item_settings);
Modified: workbench/src/plugin_main.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -130,7 +130,7 @@ void geany_load_module(GeanyPlugin *plugin)
/* Set metadata */
plugin->info->name = _("Workbench");
plugin->info->description = _("Manage and customize multiple projects.");
- plugin->info->version = "1.05";
+ plugin->info->version = "1.06";
plugin->info->author = "LarsGit223";
/* Set functions */
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).