diff options
author | Davyd Madeley <davyd@madeley.id.au> | 2005-01-11 07:59:45 +0000 |
---|---|---|
committer | Davyd Madeley <davyd@src.gnome.org> | 2005-01-11 07:59:45 +0000 |
commit | aef7db4dc0b37c8602d6f9bbf0d355bc0785f273 (patch) | |
tree | ff05732f9284dfef556a20c6d86d5316efc5a1a9 /modemlights | |
parent | b6443da3d71c8bef7269c3adb132984838f51df9 (diff) |
specify DATADIR in panel_applet_setup_menu_from_file(), this will load the
2005-01-11 Davyd Madeley <davyd@madeley.id.au>
* accessx-status/applet.c:
* battstat/battstat_applet.c:
* charpick/charpick.c:
* drivemount/drivemount.c:
* geyes/geyes.c:
* gswitchit/gswitchit-applet.c:
* gtik/gtik.c:
* gweather/gweather-applet.c:
* mini-commander/src/mini-commander_applet.c:
* mixer/applet.c:
* modemlights/modem-applet.c:
* multiload/main.c:
* trashapplet/src/trashapplet.c: specify DATADIR in
panel_applet_setup_menu_from_file(), this will load the correct
version of the menus XML when building in a different prefix.
* modemlights/modem-applet.c:
* trashapplet/src/trashapplet.c: Don't set parent for GtkAboutDialog,
as we want about dialog to appear in the middle of the screen.
* gweather/Makefile.am:
* gweather/gweather-xml.c: Move Gweather files to
${pkgdatadir}/gweather. Remove deprecated function. Fixes out of
prefix builds.
* battstat/battstat_applet.c: Use GtkAboutDialog
Diffstat (limited to 'modemlights')
-rw-r--r-- | modemlights/modem-applet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modemlights/modem-applet.c b/modemlights/modem-applet.c index 833f4417c..89578ce7f 100644 --- a/modemlights/modem-applet.c +++ b/modemlights/modem-applet.c @@ -985,7 +985,7 @@ on_modem_applet_about_clicked (BonoboUIComponent *uic, NULL }; - gtk_show_about_dialog (GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (applet))), + gtk_show_about_dialog (NULL, "name", _("Modem monitor"), "version", VERSION, "copyright", "Copyright \xC2\xA9 2004 Free Software Foundation. Inc.", @@ -1015,7 +1015,7 @@ modem_applet_fill (ModemApplet *applet) gtk_widget_show_all (GTK_WIDGET (applet)); panel_applet_setup_menu_from_file (PANEL_APPLET (applet), - NULL, + DATADIR, "GNOME_ModemLights.xml", NULL, menu_verbs, |