aea96b6a81
- install .desktop file - fix license marker - re-format DESCR
25 lines
1.4 KiB
Plaintext
25 lines
1.4 KiB
Plaintext
$OpenBSD: patch-src_interface_c,v 1.1 2008/09/16 20:00:18 jasper Exp $
|
|
|
|
Correct paths to pixmap files.
|
|
|
|
--- src/interface.c.orig Tue Sep 16 21:52:26 2008
|
|
+++ src/interface.c Tue Sep 16 21:55:47 2008
|
|
@@ -1166,7 +1166,7 @@ void interface (gint argc, gchar *argv[])
|
|
gtk_set_locale();
|
|
gtk_init (&argc, &argv);
|
|
Settings = init_settings ();
|
|
- gtk_window_set_default_icon_from_file("../pixmaps/beaver.png", NULL); // set beaver icon for all windows in Beaver
|
|
+ gtk_window_set_default_icon_from_file("${PREFIX}/share/beaver/pixmaps/beaver.png", NULL); // set beaver icon for all windows in Beaver
|
|
MainWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL);
|
|
gtk_window_set_policy (GTK_WINDOW(MainWindow), TRUE, TRUE, FALSE);
|
|
gtk_window_set_default_size (GTK_WINDOW (MainWindow), MAIN_WINDOW_WIDTH, MAIN_WINDOW_HEIGHT);
|
|
@@ -1265,7 +1265,7 @@ void about (void)
|
|
{
|
|
const char *AUTHORS[] = {"Damien Terrier", "Marc Bevand", "Emmanuel Turquin", "Michael Terry", "Leslie Polzer", "Trevor Brown", "Double 12", "Tobias Heinzen", NULL};
|
|
const char *ARTISTS[] = {"Tigert (logo)", "Remy Turquin (website logo)", NULL};
|
|
- GdkPixbuf *logo = gdk_pixbuf_new_from_file ("../pixmaps/about.xpm", NULL);
|
|
+ GdkPixbuf *logo = gdk_pixbuf_new_from_file ("${PREFIX}/share/beaver/pixmaps/about.xpm", NULL);
|
|
GtkWidget *AboutWindow = g_object_new (GTK_TYPE_ABOUT_DIALOG,
|
|
"name", APP_NAME,
|
|
"version", VERSION_NUMBER,
|