gnome-docker r17 - trunk/src
- From: hmacht svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-docker r17 - trunk/src
- Date: Mon, 7 Jul 2008 11:24:34 +0000 (UTC)
Author: hmacht
Date: Mon Jul 7 11:24:34 2008
New Revision: 17
URL: http://svn.gnome.org/viewvc/gnome-docker?rev=17&view=rev
Log:
fix icon
Modified:
trunk/src/gd-tray.c
Modified: trunk/src/gd-tray.c
==============================================================================
--- trunk/src/gd-tray.c (original)
+++ trunk/src/gd-tray.c Mon Jul 7 11:24:34 2008
@@ -63,7 +63,7 @@
"version", "0.1",
"copyright", "Copyright 2008 Holger Macht",
"license", license_trans,
- "comments", "description",
+ "comments", "GNOME dock station applet",
"authors", authors,
"documenters", NULL,
"artists", NULL,
@@ -121,8 +121,13 @@
gboolean gd_tray_icon_init(const char *udi)
{
int docked;
+ gchar *icon_path;
- icon = gtk_status_icon_new_from_stock(GTK_STOCK_OPEN);
+ icon = gtk_status_icon_new();
+
+ icon_path = g_strdup_printf("%s/%s/gnome-docker.png", DATADIR, PACKAGE_NAME);
+ gtk_status_icon_set_from_file(icon, icon_path);
+ g_free(icon_path);
if (liblazy_hal_get_property_bool(udi, "info.docked", &docked)) {
gd_error("Cannot get docking status");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]