Skip to content
Snippets Groups Projects
Commit f6985cd2 authored by Enrico Tröger's avatar Enrico Tröger
Browse files

* Enabled website link to goodies.xfce.org in the about dialog.

* Added missing includes to fix compilation on FreeBSD.
* Improved calculation of panel icon size (thanks to Rupert Horstkötter for reporting).


(Old svn revision: 2179)
parent 0743a802
No related branches found
No related tags found
No related merge requests found
2006-11-25 enrico
* Enabled website link to goodies.xfce.org in the about dialog.
* Added missing includes to fix compilation on FreeBSD.
* Improved calculation of panel icon size (thanks to Rupert Horstkötter
for reporting).
2006-11-16 enrico 2006-11-16 enrico
* Added dependency of libexo. * Added dependency of libexo.
...@@ -12,7 +20,7 @@ ...@@ -12,7 +20,7 @@
* Prefixed all functions with dict. * Prefixed all functions with dict.
2006-10-14 enrico 2006-10-15 enrico
* Improved the threading code to do GTK-related stuff in the main thread. * Improved the threading code to do GTK-related stuff in the main thread.
* Fixed some compiler warnings. * Fixed some compiler warnings.
......
...@@ -31,10 +31,12 @@ ...@@ -31,10 +31,12 @@
#include <exo/exo.h> #include <exo/exo.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include <netdb.h> #include <netdb.h>
#include <netinet/tcp.h> #include <netinet/tcp.h>
#include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <signal.h> #include <signal.h>
#include <string.h> #include <string.h>
...@@ -658,9 +660,12 @@ static void dict_free_data(XfcePanelPlugin *plugin, DictData *dd) ...@@ -658,9 +660,12 @@ static void dict_free_data(XfcePanelPlugin *plugin, DictData *dd)
} }
static gboolean dict_set_size(XfcePanelPlugin *plugin, gint size, DictData *dd) static gboolean dict_set_size(XfcePanelPlugin *plugin, gint wsize, DictData *dd)
{ {
gint width; gint width;
gint size = wsize - 2 - (2 * MAX(dd->panel_button->style->xthickness,
dd->panel_button->style->ythickness));
//g_object_unref(G_OBJECT(dd->icon)); //g_object_unref(G_OBJECT(dd->icon));
dd->icon = dict_load_and_scale(dict_icon_data, size, -1); dd->icon = dict_load_and_scale(dict_icon_data, size, -1);
...@@ -1357,7 +1362,7 @@ static void dict_about_dialog(GtkWidget *widget, DictData *dd) ...@@ -1357,7 +1362,7 @@ static void dict_about_dialog(GtkWidget *widget, DictData *dd)
XFCE_LICENSE_GPL); XFCE_LICENSE_GPL);
xfce_about_info_add_credit(info, "Enrico Tröger", "enrico.troeger@uvena.de", _("Developer")); xfce_about_info_add_credit(info, "Enrico Tröger", "enrico.troeger@uvena.de", _("Developer"));
//xfce_about_info_set_homepage(info, "http://goodies.xfce.org"); xfce_about_info_set_homepage(info, "http://goodies.xfce.org");
dialog = xfce_about_dialog_new_with_values(GTK_WINDOW(widget), info, dd->icon); dialog = xfce_about_dialog_new_with_values(GTK_WINDOW(widget), info, dd->icon);
g_signal_connect(G_OBJECT(dialog), "response", G_CALLBACK(gtk_widget_destroy), NULL); g_signal_connect(G_OBJECT(dialog), "response", G_CALLBACK(gtk_widget_destroy), NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment