summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 91a7ce8)
raw | patch | inline | side by side (parent: 91a7ce8)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Thu, 1 Jun 2006 03:06:21 +0000 (03:06 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Thu, 1 Jun 2006 03:06:21 +0000 (03:06 +0000) |
src/widgets/toolbox.cpp | patch | blob | history |
index b166accc2e25a6a3d17cd81c480153a2e614ee65..0877b31816e639d4bb6a0795ed82bee1484bd54f 100644 (file)
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
sp_repr_css_attr_unref (css);
free (family);
gtk_widget_hide (GTK_WIDGET (g_object_get_data (G_OBJECT(tbl), "warning-image")));
+
+ gtk_widget_grab_focus (GTK_WIDGET(desktop->canvas));
}
void
sp_desktop_set_style (desktop, css, true, true);
sp_document_done (sp_desktop_document (SP_ACTIVE_DESKTOP));
sp_repr_css_attr_unref (css);
+
+ gtk_widget_grab_focus (GTK_WIDGET(desktop->canvas));
}
void
sp_desktop_set_style (desktop, css, true, true);
sp_document_done (sp_desktop_document (SP_ACTIVE_DESKTOP));
sp_repr_css_attr_unref (css);
+
+ gtk_widget_grab_focus (GTK_WIDGET(desktop->canvas));
}
void
sp_desktop_set_style (desktop, css, true, true);
sp_document_done (sp_desktop_document (SP_ACTIVE_DESKTOP));
sp_repr_css_attr_unref (css);
+
+ gtk_widget_grab_focus (GTK_WIDGET(desktop->canvas));
}
sp_desktop_set_style (desktop, css, true, true);
sp_document_done (sp_desktop_document (SP_ACTIVE_DESKTOP));
sp_repr_css_attr_unref (css);
+
+ gtk_widget_grab_focus (GTK_WIDGET(desktop->canvas));
}
void
gtk_box_pack_start (GTK_BOX (row), rbutton, FALSE, FALSE, 0);
g_object_set_data (G_OBJECT (tbl), "text-start", rbutton);
g_signal_connect (G_OBJECT (rbutton), "toggled", G_CALLBACK (sp_text_toolbox_anchoring_toggled), gpointer(0));
- gtk_tooltips_set_tip(tt, rbutton, _("Rag right"), NULL);
+ gtk_tooltips_set_tip(tt, rbutton, _("Align right"), NULL);
// center
rbutton = gtk_radio_button_new (gtk_radio_button_group (GTK_RADIO_BUTTON (group)));
gtk_box_pack_start (GTK_BOX (row), rbutton, FALSE, FALSE, 0);
g_object_set_data (G_OBJECT (tbl), "text-middle", rbutton);
g_signal_connect (G_OBJECT (rbutton), "toggled", G_CALLBACK (sp_text_toolbox_anchoring_toggled), gpointer (1));
- gtk_tooltips_set_tip(tt, rbutton, _("Centered"), NULL);
+ gtk_tooltips_set_tip(tt, rbutton, _("Center"), NULL);
// right
rbutton = gtk_radio_button_new (gtk_radio_button_group (GTK_RADIO_BUTTON (group)));
gtk_box_pack_start (GTK_BOX (row), rbutton, FALSE, FALSE, 0);
g_object_set_data (G_OBJECT (tbl), "text-end", rbutton);
g_signal_connect (G_OBJECT (rbutton), "toggled", G_CALLBACK (sp_text_toolbox_anchoring_toggled), gpointer(2));
- gtk_tooltips_set_tip(tt, rbutton, _("Rag left"), NULL);
+ gtk_tooltips_set_tip(tt, rbutton, _("Align left"), NULL);
// fill
rbutton = gtk_radio_button_new (gtk_radio_button_group (GTK_RADIO_BUTTON (group)));
gtk_box_pack_start (GTK_BOX (row), rbutton, FALSE, FALSE, 0);
g_object_set_data (G_OBJECT (tbl), "text-fill", rbutton);
g_signal_connect (G_OBJECT (rbutton), "toggled", G_CALLBACK (sp_text_toolbox_anchoring_toggled), gpointer(3));
- gtk_tooltips_set_tip(tt, rbutton, _("Justified"), NULL);
+ gtk_tooltips_set_tip(tt, rbutton, _("Justify"), NULL);
aux_toolbox_space (tbl, 1);
gtk_box_pack_start (GTK_BOX (tbl), row, FALSE, FALSE, 4);