gboolean show_navigationbar;
gboolean show_statusbar;
- gboolean customized_homepage_in_new_tabs;
+ gboolean speed_dial_in_new_tabs;
gboolean progress_in_location;
gboolean remember_last_visited_pages;
gchar* location_entry_search;
midori_view_can_go_forward (MIDORI_VIEW (view)));
gtk_action_set_visible (_action_by_name (browser, "AddSpeedDial"),
- browser->customized_homepage_in_new_tabs);
+ browser->speed_dial_in_new_tabs);
/* Currently views that don't support source, don't support
saving either. If that changes, we need to think of something. */
_action_set_sensitive (browser, "SaveAs",
MIDORI_LOCATION_ACTION (action), NULL);
g_object_notify (G_OBJECT (browser), "uri");
}
- if (browser->customized_homepage_in_new_tabs)
+ if (browser->speed_dial_in_new_tabs)
midori_browser_update_thumbnail (view, uri);
_midori_browser_update_interface (browser);
_midori_browser_update_interface (browser);
_midori_browser_update_progress (browser, MIDORI_VIEW (view));
- if (browser->customized_homepage_in_new_tabs)
+ if (browser->speed_dial_in_new_tabs)
midori_browser_update_thumbnail (view, uri);
}
NULL, "<Ctrl>s",
N_("Save to a file"), G_CALLBACK (_action_save_as_activate) },
{ "AddSpeedDial", NULL,
- N_("Add to customize _homepage"), "<Ctrl>h",
- N_("Add shortcut to customized _homepage"), G_CALLBACK (_action_add_speed_dial_activate) },
+ N_("Add to Speed _dial"), "<Ctrl>h",
+ N_("Add shortcut to speed dial"), G_CALLBACK (_action_add_speed_dial_activate) },
{ "TabClose", NULL,
N_("_Close Tab"), "<Ctrl>w",
N_("Close the current tab"), G_CALLBACK (_action_tab_close_activate) },
"show-panel", &show_panel,
"show-transferbar", &show_transferbar,
"show-statusbar", &browser->show_statusbar,
- "customized-homepage-in-new-tabs", &browser->customized_homepage_in_new_tabs,
+ "speed-dial-in-new-tabs", &browser->speed_dial_in_new_tabs,
"toolbar-style", &toolbar_style,
"toolbar-items", &toolbar_items,
"last-web-search", &last_web_search,
browser->show_navigationbar = g_value_get_boolean (&value);
else if (name == g_intern_string ("show-statusbar"))
browser->show_statusbar = g_value_get_boolean (&value);
- else if (name == g_intern_string ("customized-homepage-in-new-tabs"))
- browser->customized_homepage_in_new_tabs = g_value_get_boolean (&value);
+ else if (name == g_intern_string ("speed-dial-in-new-tabs"))
+ browser->speed_dial_in_new_tabs = g_value_get_boolean (&value);
else if (name == g_intern_string ("progress-in-location"))
browser->progress_in_location = g_value_get_boolean (&value);
else if (name == g_intern_string ("search-engines-in-completion"))
FILLED_ADD (hbox, 1, 2, 1, 2);
button = katze_property_proxy (settings, "show-crash-dialog", NULL);
INDENTED_ADD (button, 0, 1, 2, 3);
- button = katze_property_proxy (settings, "customized-homepage-in-new-tabs", NULL);
+ button = katze_property_proxy (settings, "speed-dial-in-new-tabs", NULL);
FILLED_ADD (button, 1, 2, 2, 3);
FRAME_NEW (_("Transfers"));
TABLE_NEW (2, 2);
GtkWidget* web_view;
KatzeArray* news_feeds;
- gboolean customized_homepage_in_new_tabs;
+ gboolean speed_dial_in_new_tabs;
gchar* download_manager;
gchar* news_aggregator;
gboolean middle_click_opens_selection;
G_CALLBACK (midori_web_view_menu_action_activate_cb), view);
gtk_widget_show (menuitem);
- if (view->customized_homepage_in_new_tabs)
+ if (view->speed_dial_in_new_tabs)
{
- menuitem = gtk_image_menu_item_new_with_mnemonic (_("Add to customized _homepage"));
+ menuitem = gtk_image_menu_item_new_with_mnemonic (_("Add to Speed _dial"));
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
g_object_set_data (G_OBJECT (menuitem), "action", "AddSpeedDial");
g_signal_connect (menuitem, "activate",
gboolean zoom_text_and_images;
g_object_get (view->settings,
- "customized-homepage-in-new-tabs", &view->customized_homepage_in_new_tabs,
+ "speed-dial-in-new-tabs", &view->speed_dial_in_new_tabs,
"download-manager", &view->download_manager,
"news-aggregator", &view->news_aggregator,
"zoom-text-and-images", &zoom_text_and_images,
g_value_init (&value, pspec->value_type);
g_object_get_property (G_OBJECT (view->settings), name, &value);
- if (name == g_intern_string ("customized-homepage-in-new-tabs"))
+ if (name == g_intern_string ("speed-dial-in-new-tabs"))
{
- view->customized_homepage_in_new_tabs = g_value_get_boolean (&value);
+ view->speed_dial_in_new_tabs = g_value_get_boolean (&value);
}
else if (name == g_intern_string ("download-manager"))
{
if (!view->web_view)
midori_view_construct_web_view (view);
- if (view->customized_homepage_in_new_tabs && !g_strcmp0 (uri, ""))
+ if (view->speed_dial_in_new_tabs && !g_strcmp0 (uri, ""))
{
SoupServer* res_server;
guint port;
"{search}", _("Search"),
"{click_to_add}", _("Click to add a shortcut"),
"{enter_shortcut_address}", _("Enter shortcut address"),
- "{enter_shortcut_name}", _("Enter shortcut name"),
+ "{enter_shortcut_name}", _("Enter shortcut title"),
"{are_you_sure}", _("Are you sure you want to delete this shortcut?"), NULL);
MidoriStartup load_on_startup;
gchar* homepage;
gboolean show_crash_dialog;
- gboolean customized_homepage_in_new_tabs;
+ gboolean speed_dial_in_new_tabs;
gchar* download_folder;
gboolean ask_for_destination_folder;
gboolean notify_transfer_completed;
PROP_LOAD_ON_STARTUP,
PROP_HOMEPAGE,
PROP_SHOW_CRASH_DIALOG,
- PROP_CUSTOMIZED_HOMEPAGE_IN_NEW_TABS,
+ PROP_SPEED_DIAL_IN_NEW_TABS,
PROP_DOWNLOAD_FOLDER,
PROP_ASK_FOR_DESTINATION_FOLDER,
PROP_NOTIFY_TRANSFER_COMPLETED,
flags));
/**
- * MidoriWebSettings:customized-homepage-in-new-tabs:
+ * MidoriWebSettings:speed-dial-in-new-tabs:
*
- * Show a customized homepage in newly opened tabs.
+ * Show spee dial in newly opened tabs.
*
* Since: 0.1.7
*/
g_object_class_install_property (gobject_class,
- PROP_CUSTOMIZED_HOMEPAGE_IN_NEW_TABS,
+ PROP_SPEED_DIAL_IN_NEW_TABS,
g_param_spec_boolean (
- "customized-homepage-in-new-tabs",
- _("Show customized homepage in new tabs"),
- _("Show a customized homepage in newly opened tabs"),
+ "speed-dial-in-new-tabs",
+ /* i18n: Speed dial, webpage shortcuts, named for the phone function */
+ _("Show speed dial in new tabs"),
+ _("Show speed dial in newly opened tabs"),
TRUE,
flags));
case PROP_SHOW_CRASH_DIALOG:
web_settings->show_crash_dialog = g_value_get_boolean (value);
break;
- case PROP_CUSTOMIZED_HOMEPAGE_IN_NEW_TABS:
- web_settings->customized_homepage_in_new_tabs = g_value_get_boolean (value);
+ case PROP_SPEED_DIAL_IN_NEW_TABS:
+ web_settings->speed_dial_in_new_tabs = g_value_get_boolean (value);
break;
case PROP_DOWNLOAD_FOLDER:
katze_assign (web_settings->download_folder, g_value_dup_string (value));
case PROP_SHOW_CRASH_DIALOG:
g_value_set_boolean (value, web_settings->show_crash_dialog);
break;
- case PROP_CUSTOMIZED_HOMEPAGE_IN_NEW_TABS:
- g_value_set_boolean (value, web_settings->customized_homepage_in_new_tabs);
+ case PROP_SPEED_DIAL_IN_NEW_TABS:
+ g_value_set_boolean (value, web_settings->speed_dial_in_new_tabs);
break;
case PROP_DOWNLOAD_FOLDER:
g_value_set_string (value, web_settings->download_folder);