mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
most of the 2.X->3.0 commit (up to rev 4299) except for gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet
git-svn-id: svn://localhost/ardour2/branches/3.0@4313 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
30daaebaa2
commit
bc89fe0147
252 changed files with 28174 additions and 14382 deletions
|
|
@ -65,6 +65,9 @@ UI::UI (string namestr, int *argc, char ***argv)
|
|||
: AbstractUI<UIRequest> (namestr, true)
|
||||
{
|
||||
theMain = new Main (argc, argv);
|
||||
#ifndef GTK_NEW_TOOLTIP_API
|
||||
tips = new Tooltips;
|
||||
#endif
|
||||
|
||||
_active = false;
|
||||
|
||||
|
|
@ -95,6 +98,7 @@ UI::UI (string namestr, int *argc, char ***argv)
|
|||
|
||||
errors->dismiss_button().set_name ("ErrorLogCloseButton");
|
||||
errors->signal_delete_event().connect (bind (sigc::ptr_fun (just_hide_it), (Window *) errors));
|
||||
errors->set_type_hint (Gdk::WINDOW_TYPE_HINT_UTILITY);
|
||||
|
||||
register_thread (pthread_self(), X_("GUI"));
|
||||
|
||||
|
|
@ -372,7 +376,16 @@ UI::do_request (UIRequest* req)
|
|||
|
||||
} else if (req->type == SetTip) {
|
||||
|
||||
/* XXX need to figure out how this works */
|
||||
#ifdef GTK_NEW_TOOLTIP_API
|
||||
/* even if the installed GTK is up to date,
|
||||
at present (November 2008) our included
|
||||
version of gtkmm is not. so use the GTK
|
||||
API that we've verified has the right function.
|
||||
*/
|
||||
gtk_widget_set_tooltip_text (req->widget->gobj(), req->msg);
|
||||
#else
|
||||
tips->set_tip (*req->widget, req->msg, "");
|
||||
#endif
|
||||
|
||||
} else {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue