diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-10-05 05:29:14 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-10-05 05:29:14 +0800 |
commit | 72cc23164627a75a0a390e98035e321f5b96fe01 (patch) | |
tree | 89ddb5cec169e405ecc310454753af0c91765264 /lib | |
parent | 07e2d63d6a93a572b26ed4d79d3e22a90475a544 (diff) | |
download | gsoc2013-epiphany-72cc23164627a75a0a390e98035e321f5b96fe01.tar gsoc2013-epiphany-72cc23164627a75a0a390e98035e321f5b96fe01.tar.gz gsoc2013-epiphany-72cc23164627a75a0a390e98035e321f5b96fe01.tar.bz2 gsoc2013-epiphany-72cc23164627a75a0a390e98035e321f5b96fe01.tar.lz gsoc2013-epiphany-72cc23164627a75a0a390e98035e321f5b96fe01.tar.xz gsoc2013-epiphany-72cc23164627a75a0a390e98035e321f5b96fe01.tar.zst gsoc2013-epiphany-72cc23164627a75a0a390e98035e321f5b96fe01.zip |
Set window icon.
2004-10-04 Christian Persch <chpe@cvs.gnome.org>
* lib/ephy-gui.c: (ephy_gui_menu_position_tree_selection),
(ephy_gui_confirm_overwrite_file):
* src/ephy-window.c: (confirm_close_with_modified_forms),
(ephy_window_init):
Set window icon.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ephy-gui.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/ephy-gui.c b/lib/ephy-gui.c index fe340bcc5..03ccab5f6 100644 --- a/lib/ephy-gui.c +++ b/lib/ephy-gui.c @@ -87,7 +87,8 @@ ephy_gui_menu_position_tree_selection (GtkMenu *menu, gtk_tree_view_get_cell_area (tree_view, selected_rows->data, NULL, &cell_rect); - *y += CLAMP (cell_rect.y, 0, widget->allocation.height); + + *y += CLAMP (cell_rect.y + cell_rect.height, 0, widget->allocation.height); g_list_foreach (selected_rows, (GFunc)gtk_tree_path_free, NULL); g_list_free (selected_rows); @@ -161,6 +162,8 @@ ephy_gui_confirm_overwrite_file (GtkWidget *parent, const char *filename) GTK_RESPONSE_CANCEL, _("_Overwrite"), GTK_RESPONSE_ACCEPT, NULL); + gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser"); + hbox = gtk_hbox_new (FALSE, 6); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), hbox, TRUE, TRUE, 12); image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_WARNING, GTK_ICON_SIZE_DIALOG); |