[Xfce4-commits] [apps/xfce4-dict] 34/43: Remove unnecessary code from About dialog
noreply at xfce.org
noreply at xfce.org
Tue Nov 1 00:31:47 CET 2016
This is an automated email from the git hooks/post-receive script.
andre pushed a commit to branch master
in repository apps/xfce4-dict.
commit 1960bf34a7bf66e6304bc3e49b00d6790cdc9b32
Author: Andre Miranda <andre42m at gmail.com>
Date: Mon Aug 22 21:48:50 2016 -0300
Remove unnecessary code from About dialog
Add myself to Authors :)
---
lib/gui.c | 17 ++++-------------
1 file changed, 4 insertions(+), 13 deletions(-)
diff --git a/lib/gui.c b/lib/gui.c
index 8e464b8..2b3d60c 100644
--- a/lib/gui.c
+++ b/lib/gui.c
@@ -1014,24 +1014,15 @@ void dict_gui_show_main_window(DictData *dd)
}
-static void about_activate_link(GtkAboutDialog *about, const gchar *ref, gpointer data)
-{
- gchar *cmd = g_strconcat("xdg-open ", ref, NULL);
- g_spawn_command_line_async(cmd, NULL);
- g_free(cmd);
-}
-
-
void dict_gui_about_dialog(GtkWidget *widget, DictData *dd)
{
const gchar *authors[]= { "Enrico Tröger <enrico at xfce.org>",
- "Harald Judt <hjudt at xfce.org>",
- NULL };
- const gchar *title = _("Xfce4 Dictionary");
+ "Harald Judt <hjudt at xfce.org>",
+ "André Miranda <andre42m at gmail.com>",
+ NULL };
+
GdkPixbuf *logo = gdk_pixbuf_new_from_resource("/org/xfce/dict/icon", NULL);
- gtk_about_dialog_set_email_hook(about_activate_link, NULL, NULL);
- gtk_about_dialog_set_url_hook(about_activate_link, NULL, NULL);
gtk_show_about_dialog(GTK_WINDOW(dd->window),
"destroy-with-parent", TRUE,
"authors", authors,
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list