diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/extension/extension.cpp | 3 | ||||
| -rw-r--r-- | src/ui/desktop/menubar.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/extension/extension.cpp b/src/extension/extension.cpp index a373e5ec0..77a171487 100644 --- a/src/extension/extension.cpp +++ b/src/extension/extension.cpp @@ -796,7 +796,8 @@ Extension::get_help_widget() if (_help == nullptr) { Gtk::Label * content = Gtk::manage(new Gtk::Label(_("Currently there is no help available for this Extension. Please look on the Inkscape website or ask on the mailing lists if you have questions regarding this extension."))); - content->set_alignment(Gtk::ALIGN_START, Gtk::ALIGN_START); + content->set_xalign(0); + content->set_yalign(0); retval->pack_start(*content, true, true, 4); content->set_line_wrap(true); content->show(); diff --git a/src/ui/desktop/menubar.cpp b/src/ui/desktop/menubar.cpp index 7300e8c3b..04e97a933 100644 --- a/src/ui/desktop/menubar.cpp +++ b/src/ui/desktop/menubar.cpp @@ -124,7 +124,7 @@ build_menu_item_from_verb(SPAction* action, } Gtk::AccelLabel* label = Gtk::manage(new Gtk::AccelLabel(action->name, true)); - label->set_alignment(0.0, 0.5); + label->set_xalign(0.0); label->set_accel_widget(*menuitem); sp_shortcut_add_accelerator((GtkWidget*)menuitem->gobj(), sp_shortcut_get_primary(action->verb)); |
