From 237622044c96f0cfcba6d7fe21b908beb085b2e4 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 9 Jan 2003 19:40:18 +0000 Subject: Rehash link context menu order to be hig compliant. Set a desktop icon. 2003-01-09 Marco Pesenti Gritti * data/art/Makefile.am: * data/epiphany.desktop.in: * data/ui/epiphany-ui.xml.in: * embed/ephy-embed-popup.c: (embed_popup_open_link_cmd): * src/ephy-main.c: (main): * src/window-commands.c: (window_cmd_set_charset): Rehash link context menu order to be hig compliant. Set a desktop icon. --- ChangeLog | 12 ++++++++++++ data/art/Makefile.am | 5 ++++- data/epiphany.desktop.in | 2 +- data/ui/epiphany-ui.xml.in | 20 ++++++++++++-------- embed/ephy-embed-popup.c | 21 +++++++++++++++++++++ src/ephy-main.c | 8 ++++++-- src/window-commands.c | 1 - 7 files changed, 56 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index e10469a75..902fd9a40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2003-01-09 Marco Pesenti Gritti + + * data/art/Makefile.am: + * data/epiphany.desktop.in: + * data/ui/epiphany-ui.xml.in: + * embed/ephy-embed-popup.c: (embed_popup_open_link_cmd): + * src/ephy-main.c: (main): + * src/window-commands.c: (window_cmd_set_charset): + + Rehash link context menu order to be hig compliant. + Set a desktop icon. + 2003-01-09 Marco Pesenti Gritti * src/ephy-tab.c: (ephy_tab_location_cb): diff --git a/data/art/Makefile.am b/data/art/Makefile.am index 302d5eb3b..ca2595c24 100644 --- a/data/art/Makefile.am +++ b/data/art/Makefile.am @@ -3,6 +3,9 @@ art_DATA = \ epiphany-unsecure.png \ epiphany.png +appicon_DATA = epiphany.png +appicondir = $(datadir)/pixmaps + artdir = $(pkgdatadir)/art -EXTRA_DIST = $(art_DATA) +EXTRA_DIST = $(appicon_DATA) $(art_DATA) diff --git a/data/epiphany.desktop.in b/data/epiphany.desktop.in index cf28231d5..80c80feb5 100644 --- a/data/epiphany.desktop.in +++ b/data/epiphany.desktop.in @@ -4,6 +4,6 @@ _Comment=Browse the web Exec=epiphany Terminal=0 Type=Application -Icon= +Icon=epiphany.png X-GNOME-DocPath= Categories=Application;Network; diff --git a/data/ui/epiphany-ui.xml.in b/data/ui/epiphany-ui.xml.in index cb966a4e4..0927957a5 100644 --- a/data/ui/epiphany-ui.xml.in +++ b/data/ui/epiphany-ui.xml.in @@ -79,6 +79,8 @@ + + @@ -375,22 +377,24 @@ - - - - + + + - + - + + + priv->embed, location); +} + static void embed_popup_download_link_cmd (BonoboUIComponent *uic, EphyEmbedPopup *popup, diff --git a/src/ephy-main.c b/src/ephy-main.c index becc1d2e5..46fac6e6a 100644 --- a/src/ephy-main.c +++ b/src/ephy-main.c @@ -116,6 +116,7 @@ main (int argc, char *argv[]) poptContext context; GValue context_as_value = { 0 }; GnomeProgram *program; + char *file; #ifdef ENABLE_NLS /* Initialize the i18n stuff */ @@ -150,8 +151,11 @@ main (int argc, char *argv[]) ephy_shell_new (); - gtk_window_set_default_icon_from_file - (ephy_file ("epiphany.png"), NULL); + file = gnome_program_locate_file + (NULL, GNOME_FILE_DOMAIN_APP_PIXMAP, + "epiphany.png", TRUE, NULL); + gtk_window_set_default_icon_from_file (file, NULL); + g_free (file); g_idle_add ((GSourceFunc) ephy_main_start, NULL); diff --git a/src/window-commands.c b/src/window-commands.c index 84fabab15..67400748d 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -797,7 +797,6 @@ window_cmd_set_charset (BonoboUIComponent *uic, embed = ephy_window_get_active_embed (window); g_return_if_fail (embed != NULL); - g_print (data->encoding); ephy_embed_set_charset (embed, data->encoding); } -- cgit v1.2.3