[geany/geany-plugins] 8ee401: Merge pull request #859 from LarsGit223/tableconvert-gtk3
Frank Lanitz
git-noreply at xxxxx
Tue May 14 14:58:28 UTC 2019
Branch: refs/heads/master
Author: Frank Lanitz <frank at frank.uvena.de>
Committer: GitHub <noreply at github.com>
Date: Tue, 14 May 2019 14:58:28 UTC
Commit: 8ee401a937874a9404dd2ba8b9ab08bf35378d2b
https://github.com/geany/geany-plugins/commit/8ee401a937874a9404dd2ba8b9ab08bf35378d2b
Log Message:
-----------
Merge pull request #859 from LarsGit223/tableconvert-gtk3
tableconvert: fixed deprecated gtk call for gtk3
Modified Paths:
--------------
tableconvert/src/tableconvert_ui.c
Modified: tableconvert/src/tableconvert_ui.c
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -49,7 +49,11 @@ void init_menuentries(void)
* This is needed for e.g. different wiki-Syntax or differenz stiles
* within a special file type */
+#if GTK_CHECK_VERSION(3, 10, 0)
+ menu_tableconvert = gtk_menu_item_new_with_mnemonic(_("_More TableConvert"));
+#else
menu_tableconvert = gtk_image_menu_item_new_with_mnemonic(_("_More TableConvert"));
+#endif
gtk_container_add(GTK_CONTAINER(geany->main_widgets->tools_menu), menu_tableconvert);
menu_tableconvert_menu = gtk_menu_new ();
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list