X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fui%2Fwidget%2Fentry.cpp;h=7b19ac861e3227c90e68df92793e591345867f0b;hb=c099a73a820051490fe3afe6cd0b5731b8057e92;hp=73a5edac162cf3c30d416c743cbbc389cc53fe84;hpb=9778e170b43ef3ab1416d84092061ff7d29325e3;p=inkscape.git diff --git a/src/ui/widget/entry.cpp b/src/ui/widget/entry.cpp index 73a5edac1..7b19ac861 100644 --- a/src/ui/widget/entry.cpp +++ b/src/ui/widget/entry.cpp @@ -1,35 +1,35 @@ -/** \file - * - * \brief Helperclass for Gtk::Entry widgets - * - * Authors: - * Johan Engelen - * - * Copyright (C) 2006 Authors - * - * Released under GNU GPL. Read the file 'COPYING' for more information - */ - -#ifdef HAVE_CONFIG_H -# include -#endif - -#include "entry.h" - -namespace Inkscape { -namespace UI { -namespace Widget { - -Entry::Entry(Glib::ustring const &label, Glib::ustring const &tooltip) - : _label(label, true), _entry(), _tooltips() -{ - pack_start(_label); - pack_start(_entry); - - _tooltips.set_tip(*this, tooltip); -} - -} // namespace Widget -} // namespace UI -} // namespace Inkscape - +/** \file + * + * \brief Helperclass for Gtk::Entry widgets + * + * Authors: + * Johan Engelen + * + * Copyright (C) 2006 Authors + * + * Released under GNU GPL. Read the file 'COPYING' for more information + */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "entry.h" + +namespace Inkscape { +namespace UI { +namespace Widget { + +Entry::Entry( Glib::ustring const &label, Glib::ustring const &tooltip, + Glib::ustring const &suffix, + Glib::ustring const &icon, + bool mnemonic) + : Labelled(label, tooltip, new Gtk::Entry(), suffix, icon, mnemonic) +{ +} + + +} // namespace Widget +} // namespace UI +} // namespace Inkscape +