aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-gui.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-03-01 02:34:48 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-03-01 02:34:48 +0800
commit30268048c1a62294bfe663d95830eeffb594aaf4 (patch)
tree50bf47aa2590b520a36c01089619c3a3e69441ac /lib/ephy-gui.c
parentf622f8192547ed09c59f09416a4b532c5541a372 (diff)
downloadgsoc2013-epiphany-30268048c1a62294bfe663d95830eeffb594aaf4.tar
gsoc2013-epiphany-30268048c1a62294bfe663d95830eeffb594aaf4.tar.gz
gsoc2013-epiphany-30268048c1a62294bfe663d95830eeffb594aaf4.tar.bz2
gsoc2013-epiphany-30268048c1a62294bfe663d95830eeffb594aaf4.tar.lz
gsoc2013-epiphany-30268048c1a62294bfe663d95830eeffb594aaf4.tar.xz
gsoc2013-epiphany-30268048c1a62294bfe663d95830eeffb594aaf4.tar.zst
gsoc2013-epiphany-30268048c1a62294bfe663d95830eeffb594aaf4.zip
Remove old toolbar editor ui
2003-02-28 Marco Pesenti Gritti <marco@it.gnome.org> * data/glade/Makefile.am: * data/glade/toolbar-editor.glade: Remove old toolbar editor ui * lib/ephy-autocompletion.c: (ephy_autocompletion_update_matches): Remove an obsolete FIXME * lib/ephy-gui.c: * lib/ephy-gui.h: Remove some functions that was used only in galeon bookmarks * lib/widgets/ephy-autocompletion-window.c: (hack_tree_view_move_selection), (ephy_autocompletion_window_key_press_hack): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_autocompletion_window_url_selected_cb): Up on the top border of the autocompl window goes back to the entry * src/appearance-prefs.c: (setup_font_menu): Free fonts list * src/ephy-tab.c: (ephy_tab_parent_set_cb), (ephy_tab_set_visibility): * src/window-commands.c: (window_cmd_tabs_move_left), (window_cmd_tabs_move_right): Implement tabs moving
Diffstat (limited to 'lib/ephy-gui.c')
-rw-r--r--lib/ephy-gui.c114
1 files changed, 0 insertions, 114 deletions
diff --git a/lib/ephy-gui.c b/lib/ephy-gui.c
index 90d282b3d..01500e1e6 100644
--- a/lib/ephy-gui.c
+++ b/lib/ephy-gui.c
@@ -120,120 +120,6 @@ ephy_gui_gtk_radio_button_set (GtkRadioButton *radio_button, gint index)
}
}
-GtkWidget *
-ephy_gui_append_new_menuitem (GtkWidget *menu,
- const char *mnemonic,
- GCallback callback,
- gpointer data)
-{
- GtkWidget *menu_item;
-
- menu_item = gtk_menu_item_new_with_mnemonic (mnemonic);
- gtk_widget_show (menu_item);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu),
- menu_item);
-
- if (callback)
- {
- g_signal_connect (G_OBJECT (menu_item),
- "activate",
- callback, data);
- }
-
- return menu_item;
-}
-
-GtkWidget *
-ephy_gui_append_new_menuitem_stock (GtkWidget *menu,
- const char *stock_id,
- GCallback callback,
- gpointer data)
-{
- GtkWidget *menu_item;
-
- menu_item = gtk_image_menu_item_new_from_stock (stock_id, NULL);
- gtk_widget_show (menu_item);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu),
- menu_item);
-
- if (callback)
- {
- g_signal_connect (G_OBJECT (menu_item),
- "activate",
- callback, data);
- }
-
- return menu_item;
-}
-
-GtkWidget *
-ephy_gui_append_new_menuitem_stock_icon (GtkWidget *menu,
- const char *stock_id,
- const char *mnemonic,
- GCallback callback,
- gpointer data)
-{
- GtkWidget *menu_item;
- GtkWidget *image;
-
- menu_item = gtk_image_menu_item_new_with_mnemonic (mnemonic);
- image = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_MENU);
- gtk_widget_show (image);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_item), image);
-
- gtk_widget_show (menu_item);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu),
- menu_item);
-
- if (callback)
- {
- g_signal_connect (G_OBJECT (menu_item),
- "activate",
- callback, data);
- }
-
- return menu_item;
-}
-
-GtkWidget *
-ephy_gui_append_new_check_menuitem (GtkWidget *menu,
- const char *mnemonic,
- gboolean value,
- GCallback callback,
- gpointer data)
-{
- GtkWidget *menu_item;
-
- menu_item = gtk_check_menu_item_new_with_mnemonic (mnemonic);
- gtk_widget_show (menu_item);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu),
- menu_item);
-
- gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_item), value);
-
- if (callback)
- {
- g_signal_connect (G_OBJECT (menu_item),
- "activate",
- callback, data);
- }
-
- return menu_item;
-}
-
-GtkWidget *
-ephy_gui_append_separator (GtkWidget *menu)
-{
- GtkWidget *menu_item;
-
- menu_item = gtk_menu_item_new ();
- gtk_widget_show (menu_item);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu),
- menu_item);
-
- return menu_item;
-}
-
gboolean
ephy_gui_confirm_overwrite_file (GtkWidget *parent, const char *filename)
{