#include "ephy-zoom-control.h"
#include "ephy-zoom.h"
-#include "ev-debug.h"
#include <gtk/gtk.h>
#include <gtk/gtkcombobox.h>
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EphyZoomControlClass),
NULL, /* base_init */
for (i = 0; i < n_zoom_levels; i++)
{
gtk_list_store_append (store, &iter);
- gtk_list_store_set (store, &iter,
- COL_TEXT, zoom_levels[i].name,
- COL_IS_SEP, zoom_levels[i].name == NULL,
- -1);
+
+ if (zoom_levels[i].name != NULL) {
+ gtk_list_store_set (store, &iter,
+ COL_TEXT, _(zoom_levels[i].name),
+ -1);
+ } else {
+ gtk_list_store_set (store, &iter,
+ COL_IS_SEP, zoom_levels[i].name == NULL,
+ -1);
+ }
}
p->combo = GTK_COMBO_BOX (gtk_combo_box_new_with_model (GTK_TREE_MODEL (store)));