[geany/geany-plugins] ab6246: GeanyMiniScript: Fix information dialog formatting
Colomban Wendling
git-noreply at xxxxx
Mon Feb 25 14:59:41 UTC 2013
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Mon, 25 Feb 2013 14:59:41 UTC
Commit: ab62460e7f238977592440a17866733b65a1c6e3
https://github.com/geany/geany-plugins/commit/ab62460e7f238977592440a17866733b65a1c6e3
Log Message:
-----------
GeanyMiniScript: Fix information dialog formatting
Modified Paths:
--------------
geanyminiscript/src/gms_gui.c
Modified: geanyminiscript/src/gms_gui.c
5 files changed, 3 insertions(+), 2 deletions(-)
===================================================================
@@ -349,11 +349,12 @@ static void gms_cb_info(
{
gms_private_t *this = GMS_PRIVATE(data) ;
- GtkWidget *dlg = gtk_message_dialog_new_with_markup( GTK_WINDOW(this->mw),
+ GtkWidget *dlg = gtk_message_dialog_new(GTK_WINDOW(this->mw),
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_INFO,
GTK_BUTTONS_CLOSE,
- "%s", _(geany_info) );
+ NULL);
+ gtk_message_dialog_set_markup(GTK_MESSAGE_DIALOG(dlg), _(geany_info));
gtk_dialog_run(GTK_DIALOG(dlg));
GMS_FREE_WIDGET(dlg);
--------------
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