Do not localize object properties, except WebSettings

Property name localization is only useful if the
strings are meant to be used in a user interface,
such as is the case with WebSettings, or for
graphical interface builders, which are not of
our concern, since we don't use Glade and friends
and nobody else is going to use our widgets.

In short, make translation work much easier.
This commit is contained in:
Christian Dywan 2008-10-15 03:32:11 +02:00
parent 7597e2026d
commit 58255d19aa
13 changed files with 111 additions and 114 deletions

View file

@ -120,8 +120,8 @@ katze_array_action_class_init (KatzeArrayActionClass* class)
PROP_ARRAY, PROP_ARRAY,
g_param_spec_object ( g_param_spec_object (
"array", "array",
_("Array"), "Array",
_("The array the action represents"), "The array the action represents",
KATZE_TYPE_ARRAY, KATZE_TYPE_ARRAY,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
} }

View file

@ -71,8 +71,8 @@ katze_item_class_init (KatzeItemClass* class)
PROP_NAME, PROP_NAME,
g_param_spec_string ( g_param_spec_string (
"name", "name",
_("Name"), "Name",
_("The name of the item"), "The name of the item",
NULL, NULL,
flags)); flags));
@ -80,8 +80,8 @@ katze_item_class_init (KatzeItemClass* class)
PROP_TEXT, PROP_TEXT,
g_param_spec_string ( g_param_spec_string (
"text", "text",
_("Text"), "Text",
_("The descriptive text of the item"), "The descriptive text of the item",
NULL, NULL,
flags)); flags));
@ -89,8 +89,8 @@ katze_item_class_init (KatzeItemClass* class)
PROP_URI, PROP_URI,
g_param_spec_string ( g_param_spec_string (
"uri", "uri",
_("URI"), "URI",
_("The URI of the item"), "The URI of the item",
NULL, NULL,
flags)); flags));
@ -98,8 +98,8 @@ katze_item_class_init (KatzeItemClass* class)
PROP_ICON, PROP_ICON,
g_param_spec_string ( g_param_spec_string (
"icon", "icon",
_("Icon"), "Icon",
_("The icon of the item"), "The icon of the item",
NULL, NULL,
flags)); flags));
@ -107,8 +107,8 @@ katze_item_class_init (KatzeItemClass* class)
PROP_TOKEN, PROP_TOKEN,
g_param_spec_string ( g_param_spec_string (
"token", "token",
_("Token"), "Token",
_("The token of the item"), "The token of the item",
NULL, NULL,
flags)); flags));
@ -116,8 +116,8 @@ katze_item_class_init (KatzeItemClass* class)
PROP_ADDED, PROP_ADDED,
g_param_spec_string ( g_param_spec_string (
"added", "added",
_("Added"), "Added",
_("When the item was added"), "When the item was added",
NULL, NULL,
flags)); flags));
@ -125,8 +125,8 @@ katze_item_class_init (KatzeItemClass* class)
PROP_VISITS, PROP_VISITS,
g_param_spec_int ( g_param_spec_int (
"visits", "visits",
_("Visits"), "Visits",
_("The number of visits of the item"), "The number of visits of the item",
G_MININT, G_MININT,
G_MAXINT, G_MAXINT,
0, 0,

View file

@ -13,7 +13,6 @@
#include "katze-utils.h" #include "katze-utils.h"
#include <gtk/gtk.h>
#include <glib/gi18n.h> #include <glib/gi18n.h>
struct _KatzeThrobber struct _KatzeThrobber
@ -51,7 +50,7 @@ enum
}; };
static void static void
katze_throbber_dispose(GObject* object); katze_throbber_dispose (GObject* object);
static void static void
katze_throbber_set_property (GObject* object, katze_throbber_set_property (GObject* object,
@ -132,8 +131,8 @@ katze_throbber_class_init (KatzeThrobberClass* class)
PROP_ICON_SIZE, PROP_ICON_SIZE,
g_param_spec_int ( g_param_spec_int (
"icon-size", "icon-size",
_("Icon size"), "Icon size",
_("Symbolic size to use for the animation"), "Symbolic size to use for the animation",
0, G_MAXINT, GTK_ICON_SIZE_MENU, 0, G_MAXINT, GTK_ICON_SIZE_MENU,
flags)); flags));
@ -141,8 +140,8 @@ katze_throbber_class_init (KatzeThrobberClass* class)
PROP_ICON_NAME, PROP_ICON_NAME,
g_param_spec_string ( g_param_spec_string (
"icon-name", "icon-name",
_("Icon Name"), "Icon Name",
_("The name of an icon containing animation frames"), "The name of an icon containing animation frames",
"process-working", "process-working",
flags)); flags));
@ -150,8 +149,8 @@ katze_throbber_class_init (KatzeThrobberClass* class)
PROP_PIXBUF, PROP_PIXBUF,
g_param_spec_object ( g_param_spec_object (
"pixbuf", "pixbuf",
_("Pixbuf"), "Pixbuf",
_("A GdkPixbuf containing animation frames"), "A GdkPixbuf containing animation frames",
GDK_TYPE_PIXBUF, GDK_TYPE_PIXBUF,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -159,8 +158,8 @@ katze_throbber_class_init (KatzeThrobberClass* class)
PROP_ANIMATED, PROP_ANIMATED,
g_param_spec_boolean ( g_param_spec_boolean (
"animated", "animated",
_("Animated"), "Animated",
_("Whether the throbber should be animated"), "Whether the throbber should be animated",
FALSE, FALSE,
flags)); flags));
@ -168,8 +167,8 @@ katze_throbber_class_init (KatzeThrobberClass* class)
PROP_STATIC_ICON_NAME, PROP_STATIC_ICON_NAME,
g_param_spec_string ( g_param_spec_string (
"static-icon-name", "static-icon-name",
_("Static Icon Name"), "Static Icon Name",
_("The name of an icon to be used as the static image"), "The name of an icon to be used as the static image",
NULL, NULL,
flags)); flags));
@ -177,8 +176,8 @@ katze_throbber_class_init (KatzeThrobberClass* class)
PROP_PIXBUF, PROP_PIXBUF,
g_param_spec_object ( g_param_spec_object (
"static-pixbuf", "static-pixbuf",
_("Static Pixbuf"), "Static Pixbuf",
_("A GdkPixbuf to be used as the static image"), "A GdkPixbuf to be used as the static image",
GDK_TYPE_PIXBUF, GDK_TYPE_PIXBUF,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -186,8 +185,8 @@ katze_throbber_class_init (KatzeThrobberClass* class)
PROP_STATIC_STOCK_ID, PROP_STATIC_STOCK_ID,
g_param_spec_string ( g_param_spec_string (
"static-stock-id", "static-stock-id",
_("Static Stock ID"), "Static Stock ID",
_("The stock ID of an icon to be used as the static image"), "The stock ID of an icon to be used as the static image",
NULL, NULL,
flags)); flags));
} }

View file

@ -12,7 +12,6 @@
#ifndef __KATZE_THROBBER_H__ #ifndef __KATZE_THROBBER_H__
#define __KATZE_THROBBER_H__ #define __KATZE_THROBBER_H__
#include <gdk/gdk.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
G_BEGIN_DECLS G_BEGIN_DECLS

View file

@ -16,9 +16,8 @@
#include <config.h> #include <config.h>
#endif #endif
#include <glib.h>
#if HAVE_GIO #if HAVE_GIO
#include <gio/gio.h> #include <gio/gio.h>
#endif #endif
#include <webkit/webkit.h> #include <webkit/webkit.h>

View file

@ -112,8 +112,8 @@ midori_addons_class_init (MidoriAddonsClass* class)
PROP_WEB_WIDGET, PROP_WEB_WIDGET,
g_param_spec_object ( g_param_spec_object (
"web-widget", "web-widget",
_("Web Widget"), "Web Widget",
_("The assigned web widget"), "The assigned web widget",
GTK_TYPE_WIDGET, GTK_TYPE_WIDGET,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -121,8 +121,8 @@ midori_addons_class_init (MidoriAddonsClass* class)
PROP_KIND, PROP_KIND,
g_param_spec_enum ( g_param_spec_enum (
"kind", "kind",
_("Kind"), "Kind",
_("The kind of addons"), "The kind of addons",
MIDORI_TYPE_ADDON_KIND, MIDORI_TYPE_ADDON_KIND,
MIDORI_ADDON_NONE, MIDORI_ADDON_NONE,
flags)); flags));

View file

@ -125,8 +125,8 @@ midori_app_class_init (MidoriAppClass* class)
PROP_SETTINGS, PROP_SETTINGS,
g_param_spec_object ( g_param_spec_object (
"settings", "settings",
_("Settings"), "Settings",
_("The associated settings"), "The associated settings",
MIDORI_TYPE_WEB_SETTINGS, MIDORI_TYPE_WEB_SETTINGS,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -134,8 +134,8 @@ midori_app_class_init (MidoriAppClass* class)
PROP_BOOKMARKS, PROP_BOOKMARKS,
g_param_spec_object ( g_param_spec_object (
"bookmarks", "bookmarks",
_("Bookmarks"), "Bookmarks",
_("The bookmarks folder, containing all bookmarks"), "The bookmarks folder, containing all bookmarks",
KATZE_TYPE_ARRAY, KATZE_TYPE_ARRAY,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -143,8 +143,8 @@ midori_app_class_init (MidoriAppClass* class)
PROP_TRASH, PROP_TRASH,
g_param_spec_object ( g_param_spec_object (
"trash", "trash",
_("Trash"), "Trash",
_("The trash, collecting recently closed tabs and windows"), "The trash, collecting recently closed tabs and windows",
KATZE_TYPE_ARRAY, KATZE_TYPE_ARRAY,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -152,8 +152,8 @@ midori_app_class_init (MidoriAppClass* class)
PROP_SEARCH_ENGINES, PROP_SEARCH_ENGINES,
g_param_spec_object ( g_param_spec_object (
"search-engines", "search-engines",
_("Search Engines"), "Search Engines",
_("The list of search engines"), "The list of search engines",
KATZE_TYPE_ARRAY, KATZE_TYPE_ARRAY,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -161,8 +161,8 @@ midori_app_class_init (MidoriAppClass* class)
PROP_BROWSER, PROP_BROWSER,
g_param_spec_object ( g_param_spec_object (
"browser", "browser",
_("Browser"), "Browser",
_("The current browser"), "The current browser",
MIDORI_TYPE_BROWSER, MIDORI_TYPE_BROWSER,
G_PARAM_READABLE)); G_PARAM_READABLE));
@ -170,8 +170,8 @@ midori_app_class_init (MidoriAppClass* class)
PROP_BROWSER_COUNT, PROP_BROWSER_COUNT,
g_param_spec_uint ( g_param_spec_uint (
"browser-count", "browser-count",
_("Browser Count"), "Browser Count",
_("The current number of browsers"), "The current number of browsers",
0, G_MAXUINT, 0, 0, G_MAXUINT, 0,
G_PARAM_READABLE)); G_PARAM_READABLE));
@ -179,8 +179,8 @@ midori_app_class_init (MidoriAppClass* class)
PROP_HISTORY, PROP_HISTORY,
g_param_spec_object ( g_param_spec_object (
"history", "history",
_("History"), "History",
_("The list of history items"), "The list of history items",
KATZE_TYPE_ARRAY, KATZE_TYPE_ARRAY,
G_PARAM_READWRITE)); G_PARAM_READWRITE));

View file

@ -963,8 +963,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
PROP_MENUBAR, PROP_MENUBAR,
g_param_spec_object ( g_param_spec_object (
"menubar", "menubar",
_("Menubar"), "Menubar",
_("The menubar"), "The menubar",
GTK_TYPE_MENU_BAR, GTK_TYPE_MENU_BAR,
G_PARAM_READABLE)); G_PARAM_READABLE));
@ -972,8 +972,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
PROP_NAVIGATIONBAR, PROP_NAVIGATIONBAR,
g_param_spec_object ( g_param_spec_object (
"navigationbar", "navigationbar",
_("Navigationbar"), "Navigationbar",
_("The navigationbar"), "The navigationbar",
GTK_TYPE_TOOLBAR, GTK_TYPE_TOOLBAR,
G_PARAM_READABLE)); G_PARAM_READABLE));
@ -981,8 +981,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
PROP_URI, PROP_URI,
g_param_spec_string ( g_param_spec_string (
"uri", "uri",
_("URI"), "URI",
_("The current URI"), "The current URI",
"about:blank", "about:blank",
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -990,8 +990,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
PROP_TAB, PROP_TAB,
g_param_spec_object ( g_param_spec_object (
"tab", "tab",
_("Tab"), "Tab",
_("The current tab"), "The current tab",
GTK_TYPE_WIDGET, GTK_TYPE_WIDGET,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -999,8 +999,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
PROP_STATUSBAR, PROP_STATUSBAR,
g_param_spec_object ( g_param_spec_object (
"statusbar", "statusbar",
_("Statusbar"), "Statusbar",
_("The statusbar"), "The statusbar",
GTK_TYPE_STATUSBAR, GTK_TYPE_STATUSBAR,
G_PARAM_READABLE)); G_PARAM_READABLE));
@ -1019,8 +1019,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
PROP_STATUSBAR_TEXT, PROP_STATUSBAR_TEXT,
g_param_spec_string ( g_param_spec_string (
"statusbar-text", "statusbar-text",
_("Statusbar Text"), "Statusbar Text",
_("The text that is displayed in the statusbar"), "The text that is displayed in the statusbar",
"", "",
flags)); flags));
@ -1038,8 +1038,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
PROP_SETTINGS, PROP_SETTINGS,
g_param_spec_object ( g_param_spec_object (
"settings", "settings",
_("Settings"), "Settings",
_("The associated settings"), "The associated settings",
MIDORI_TYPE_WEB_SETTINGS, MIDORI_TYPE_WEB_SETTINGS,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -1055,8 +1055,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
PROP_BOOKMARKS, PROP_BOOKMARKS,
g_param_spec_object ( g_param_spec_object (
"bookmarks", "bookmarks",
_("Bookmarks"), "Bookmarks",
_("The bookmarks folder, containing all bookmarks"), "The bookmarks folder, containing all bookmarks",
KATZE_TYPE_ARRAY, KATZE_TYPE_ARRAY,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -1074,8 +1074,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
PROP_TRASH, PROP_TRASH,
g_param_spec_object ( g_param_spec_object (
"trash", "trash",
_("Trash"), "Trash",
_("The trash, collecting recently closed tabs and windows"), "The trash, collecting recently closed tabs and windows",
KATZE_TYPE_ARRAY, KATZE_TYPE_ARRAY,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -1091,8 +1091,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
PROP_SEARCH_ENGINES, PROP_SEARCH_ENGINES,
g_param_spec_object ( g_param_spec_object (
"search-engines", "search-engines",
_("Search Engines"), "Search Engines",
_("The list of search engines to be used for web search"), "The list of search engines to be used for web search",
KATZE_TYPE_ARRAY, KATZE_TYPE_ARRAY,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -1108,8 +1108,8 @@ midori_browser_class_init (MidoriBrowserClass* class)
PROP_HISTORY, PROP_HISTORY,
g_param_spec_object ( g_param_spec_object (
"history", "history",
_("History"), "History",
_("The list of history items"), "The list of history items",
KATZE_TYPE_ARRAY, KATZE_TYPE_ARRAY,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
} }
@ -3048,7 +3048,7 @@ static const GtkToggleActionEntry toggle_entries[] = {
N_("_Navigationbar"), "", N_("_Navigationbar"), "",
N_("Show navigationbar"), G_CALLBACK (_action_navigationbar_activate), N_("Show navigationbar"), G_CALLBACK (_action_navigationbar_activate),
FALSE }, FALSE },
{ "Panel", NULL, { "Panel", GTK_STOCK_INDENT,
N_("Side_panel"), "F9", N_("Side_panel"), "F9",
N_("Show sidepanel"), G_CALLBACK (_action_panel_activate), N_("Show sidepanel"), G_CALLBACK (_action_panel_activate),
FALSE }, FALSE },

View file

@ -179,8 +179,8 @@ midori_location_action_class_init (MidoriLocationActionClass* class)
PROP_PROGRESS, PROP_PROGRESS,
g_param_spec_double ( g_param_spec_double (
"progress", "progress",
_("Progress"), "Progress",
_("The current progress of the action"), "The current progress of the action",
0.0, 1.0, 0.0, 0.0, 1.0, 0.0,
G_PARAM_WRITABLE)); G_PARAM_WRITABLE));
@ -188,8 +188,8 @@ midori_location_action_class_init (MidoriLocationActionClass* class)
PROP_SECONDARY_ICON, PROP_SECONDARY_ICON,
g_param_spec_string ( g_param_spec_string (
"secondary-icon", "secondary-icon",
_("Secondary"), "Secondary",
_("The stock ID of the secondary icon"), "The stock ID of the secondary icon",
NULL, NULL,
G_PARAM_WRITABLE)); G_PARAM_WRITABLE));
} }

View file

@ -143,8 +143,8 @@ midori_panel_class_init (MidoriPanelClass* class)
PROP_SHADOW_TYPE, PROP_SHADOW_TYPE,
g_param_spec_enum ( g_param_spec_enum (
"shadow-type", "shadow-type",
_("Shadow Type"), "Shadow Type",
_("Appearance of the shadow around each panel"), "Appearance of the shadow around each panel",
GTK_TYPE_SHADOW_TYPE, GTK_TYPE_SHADOW_TYPE,
GTK_SHADOW_NONE, GTK_SHADOW_NONE,
flags)); flags));
@ -153,8 +153,8 @@ midori_panel_class_init (MidoriPanelClass* class)
PROP_MENU, PROP_MENU,
g_param_spec_object ( g_param_spec_object (
"menu", "menu",
_("Menu"), "Menu",
_("Menu to hold panel items"), "Menu to hold panel items",
GTK_TYPE_MENU, GTK_TYPE_MENU,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -162,8 +162,8 @@ midori_panel_class_init (MidoriPanelClass* class)
PROP_PAGE, PROP_PAGE,
g_param_spec_int ( g_param_spec_int (
"page", "page",
_("Page"), "Page",
_("The index of the current page"), "The index of the current page",
-1, G_MAXINT, -1, -1, G_MAXINT, -1,
flags)); flags));
} }
@ -401,7 +401,7 @@ midori_panel_append_page (MidoriPanel* panel,
gtk_widget_show (toolbar); gtk_widget_show (toolbar);
gtk_container_add (GTK_CONTAINER (panel->toolbook), toolbar); gtk_container_add (GTK_CONTAINER (panel->toolbook), toolbar);
n = midori_panel_page_num (panel, child); n = midori_panel_page_num (panel, scrolled);
g_object_set_data (G_OBJECT (child), "label", (gchar*)label); g_object_set_data (G_OBJECT (child), "label", (gchar*)label);
@ -421,7 +421,7 @@ midori_panel_append_page (MidoriPanel* panel,
{ {
menuitem = gtk_image_menu_item_new_from_stock (stock_id, NULL); menuitem = gtk_image_menu_item_new_from_stock (stock_id, NULL);
gtk_widget_show (menuitem); gtk_widget_show (menuitem);
g_object_set_data (G_OBJECT (menuitem), "page", child); g_object_set_data (G_OBJECT (menuitem), "page", scrolled);
g_object_set_data (G_OBJECT (menuitem), "toolitem", toolitem); g_object_set_data (G_OBJECT (menuitem), "toolitem", toolitem);
g_signal_connect (menuitem, "activate", g_signal_connect (menuitem, "activate",
G_CALLBACK (midori_panel_menu_item_activate_cb), G_CALLBACK (midori_panel_menu_item_activate_cb),

View file

@ -58,8 +58,8 @@ midori_preferences_class_init (MidoriPreferencesClass* class)
PROP_SETTINGS, PROP_SETTINGS,
g_param_spec_object ( g_param_spec_object (
"settings", "settings",
_("Settings"), "Settings",
_("Settings instance to provide properties"), "Settings instance to provide properties",
MIDORI_TYPE_WEB_SETTINGS, MIDORI_TYPE_WEB_SETTINGS,
G_PARAM_WRITABLE)); G_PARAM_WRITABLE));
} }

View file

@ -165,8 +165,8 @@ midori_search_action_class_init (MidoriSearchActionClass* class)
PROP_SEARCH_ENGINES, PROP_SEARCH_ENGINES,
g_param_spec_object ( g_param_spec_object (
"search-engines", "search-engines",
_("Search Engines"), "Search Engines",
_("The list of search engines"), "The list of search engines",
KATZE_TYPE_ARRAY, KATZE_TYPE_ARRAY,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -174,8 +174,8 @@ midori_search_action_class_init (MidoriSearchActionClass* class)
PROP_CURRENT_ITEM, PROP_CURRENT_ITEM,
g_param_spec_object ( g_param_spec_object (
"current-item", "current-item",
_("Current Item"), "Current Item",
_("The currently selected item"), "The currently selected item",
KATZE_TYPE_ITEM, KATZE_TYPE_ITEM,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -183,8 +183,8 @@ midori_search_action_class_init (MidoriSearchActionClass* class)
PROP_TEXT, PROP_TEXT,
g_param_spec_string ( g_param_spec_string (
"text", "text",
_("Text"), "Text",
_("The current text typed in the entry"), "The current text typed in the entry",
NULL, NULL,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -192,8 +192,8 @@ midori_search_action_class_init (MidoriSearchActionClass* class)
PROP_DIALOG, PROP_DIALOG,
g_param_spec_object ( g_param_spec_object (
"dialog", "dialog",
_("Dialog"), "Dialog",
_("A dialog to manage search engines"), "A dialog to manage search engines",
GTK_TYPE_DIALOG, GTK_TYPE_DIALOG,
G_PARAM_READABLE)); G_PARAM_READABLE));
} }

View file

@ -344,8 +344,8 @@ midori_view_class_init (MidoriViewClass* class)
PROP_URI, PROP_URI,
g_param_spec_string ( g_param_spec_string (
"uri", "uri",
_("Uri"), "Uri",
_("The URI of the currently loaded page"), "The URI of the currently loaded page",
"about:blank", "about:blank",
G_PARAM_READABLE)); G_PARAM_READABLE));
@ -353,8 +353,8 @@ midori_view_class_init (MidoriViewClass* class)
PROP_TITLE, PROP_TITLE,
g_param_spec_string ( g_param_spec_string (
"title", "title",
_("Title"), "Title",
_("The title of the currently loaded page"), "The title of the currently loaded page",
NULL, NULL,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -362,8 +362,8 @@ midori_view_class_init (MidoriViewClass* class)
PROP_ICON, PROP_ICON,
g_param_spec_object ( g_param_spec_object (
"icon", "icon",
_("Icon"), "Icon",
_("The icon of the view"), "The icon of the view",
GDK_TYPE_PIXBUF, GDK_TYPE_PIXBUF,
G_PARAM_READABLE)); G_PARAM_READABLE));
@ -371,8 +371,8 @@ midori_view_class_init (MidoriViewClass* class)
PROP_LOAD_STATUS, PROP_LOAD_STATUS,
g_param_spec_enum ( g_param_spec_enum (
"load-status", "load-status",
_("Load Status"), "Load Status",
_("The current loading status"), "The current loading status",
MIDORI_TYPE_LOAD_STATUS, MIDORI_TYPE_LOAD_STATUS,
MIDORI_LOAD_FINISHED, MIDORI_LOAD_FINISHED,
G_PARAM_READABLE)); G_PARAM_READABLE));
@ -381,8 +381,8 @@ midori_view_class_init (MidoriViewClass* class)
PROP_PROGRESS, PROP_PROGRESS,
g_param_spec_double ( g_param_spec_double (
"progress", "progress",
_("Progress"), "Progress",
_("The current loading progress"), "The current loading progress",
0.0, 1.0, 0.0, 0.0, 1.0, 0.0,
G_PARAM_READABLE)); G_PARAM_READABLE));
@ -390,8 +390,8 @@ midori_view_class_init (MidoriViewClass* class)
PROP_ZOOM_LEVEL, PROP_ZOOM_LEVEL,
g_param_spec_float ( g_param_spec_float (
"zoom-level", "zoom-level",
_("Zoom Level"), "Zoom Level",
_("The current zoom level"), "The current zoom level",
G_MINFLOAT, G_MINFLOAT,
G_MAXFLOAT, G_MAXFLOAT,
1.0f, 1.0f,
@ -401,8 +401,8 @@ midori_view_class_init (MidoriViewClass* class)
PROP_STATUSBAR_TEXT, PROP_STATUSBAR_TEXT,
g_param_spec_string ( g_param_spec_string (
"statusbar-text", "statusbar-text",
_("Statusbar Text"), "Statusbar Text",
_("The text displayed in the statusbar"), "The text displayed in the statusbar",
"", "",
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -410,8 +410,8 @@ midori_view_class_init (MidoriViewClass* class)
PROP_SETTINGS, PROP_SETTINGS,
g_param_spec_object ( g_param_spec_object (
"settings", "settings",
_("Settings"), "Settings",
_("The associated settings"), "The associated settings",
MIDORI_TYPE_WEB_SETTINGS, MIDORI_TYPE_WEB_SETTINGS,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
} }