Branch: refs/heads/master Author: Quentin Glidic sardemff7+git@sardemff7.net Committer: Frank Lanitz frank@frank.uvena.de Date: Sat, 06 Apr 2013 17:06:33 UTC Commit: 30d78c44bca9238879a1bbe46366896c63507858 https://github.com/geany/geany-plugins/commit/30d78c44bca9238879a1bbe4636689...
Log Message: ----------- GeanyLipsum: Fix GTK+3 support
Signed-off-by: Quentin Glidic sardemff7+git@sardemff7.net Signed-off-by: Frank Lanitz frank@frank.uvena.de
Modified Paths: -------------- build/geanylipsum.m4 geanylipsum/src/geanylipsum.c
Modified: build/geanylipsum.m4 1 files changed, 0 insertions(+), 1 deletions(-) =================================================================== @@ -1,7 +1,6 @@ AC_DEFUN([GP_CHECK_GEANYLIPSUM], [ GP_ARG_DISABLE([GeanyLipsum], [auto]) - GP_CHECK_PLUGIN_GTK2_ONLY([GeanyLipsum]) GP_COMMIT_PLUGIN_STATUS([GeanyLipsum]) AC_CONFIG_FILES([ geanylipsum/Makefile
Modified: geanylipsum/src/geanylipsum.c 6 files changed, 1 insertions(+), 5 deletions(-) =================================================================== @@ -140,12 +140,9 @@ static void kblipsum_insert(G_GNUC_UNUSED guint key_id) { GtkWidget *menu_lipsum = NULL; GKeyFile *config = g_key_file_new(); - GtkTooltips *tooltips = NULL; gchar *config_file = NULL; GeanyKeyGroup *key_group;
- tooltips = gtk_tooltips_new(); - main_locale_init(LOCALEDIR, GETTEXT_PACKAGE);
config_file = g_strconcat(geany->app->configdir, @@ -161,8 +158,7 @@ static void kblipsum_insert(G_GNUC_UNUSED guint key_id)
/* Building menu entry */ menu_lipsum = gtk_image_menu_item_new_with_mnemonic(_("_Lipsum")); - gtk_tooltips_set_tip(tooltips, menu_lipsum, - _("Include Pseudotext to your code"), NULL); + gtk_widget_set_tooltip_text(menu_lipsum, _("Include Pseudotext to your code")); gtk_widget_show(menu_lipsum); g_signal_connect((gpointer) menu_lipsum, "activate", G_CALLBACK(lipsum_activated), NULL);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org