[yast-commit] r42731 - in /trunk/qt/src: YQUI.h YQUI_builtins.cc YQUI_core.cc YQWidgetFactory.cc
Author: sh-sh-sh Date: Wed Dec 5 19:33:31 2007 New Revision: 42731 URL: http://svn.opensuse.org/viewcvs/yast?rev=42731&view=rev Log: obsolete Modified: trunk/qt/src/YQUI.h trunk/qt/src/YQUI_builtins.cc trunk/qt/src/YQUI_core.cc trunk/qt/src/YQWidgetFactory.cc Modified: trunk/qt/src/YQUI.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQUI.h?rev=42731&r1=42730&r2=42731&view=diff ============================================================================== --- trunk/qt/src/YQUI.h (original) +++ trunk/qt/src/YQUI.h Wed Dec 5 19:33:31 2007 @@ -189,17 +189,6 @@ void internalError( const char * msg ); /** - * Check if dialogs are to be activated automatically - **/ - bool autoActivateDialogs() const { return _auto_activate_dialogs; } - - /** - * Change automatic dialog activation - **/ - void setAutoActivateDialogs( bool activate ) - { _auto_activate_dialogs = activate; } - - /** * Block (or unblock) events. If events are blocked, any event sent * should be ignored until events are unblocked again. * @@ -531,12 +520,6 @@ bool _do_exit_loop; /** - * Force new dialogs to the foreground and grab the keyboard focus? - * (Only if running without a window manager) - **/ - bool _auto_activate_dialogs; - - /** * Global reference to the UI **/ static YQUI * _ui; Modified: trunk/qt/src/YQUI_builtins.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQUI_builtins.cc?rev=42731&r1=42730&r2=42731&view=diff ============================================================================== --- trunk/qt/src/YQUI_builtins.cc (original) +++ trunk/qt/src/YQUI_builtins.cc Wed Dec 5 19:33:31 2007 @@ -79,8 +79,6 @@ YCPValue YQUI::runPkgSelection( YWidget * packageSelector ) { y2milestone( "Running package selection..." ); - _auto_activate_dialogs = false; - YCPValue input = YCPVoid(); try @@ -98,7 +96,6 @@ y2error( "This is a libzypp problem. Do not file a bug against the UI!" ); } - _auto_activate_dialogs = true; y2milestone( "Package selection done - returning %s", input->toString().c_str() ); return input; Modified: trunk/qt/src/YQUI_core.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQUI_core.cc?rev=42731&r1=42730&r2=42731&view=diff ============================================================================== --- trunk/qt/src/YQUI_core.cc (original) +++ trunk/qt/src/YQUI_core.cc Wed Dec 5 19:33:31 2007 @@ -58,7 +58,6 @@ , YUI( with_threads ) , _main_win( NULL ) , _do_exit_loop( false ) - , _auto_activate_dialogs( true ) { y2debug( "YQUI constructor start" ); Modified: trunk/qt/src/YQWidgetFactory.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQWidgetFactory.cc?rev=42731&r1=42730&r2=42731&view=diff ============================================================================== --- trunk/qt/src/YQWidgetFactory.cc (original) +++ trunk/qt/src/YQWidgetFactory.cc Wed Dec 5 19:33:31 2007 @@ -284,8 +284,6 @@ YQPackageSelector * YQWidgetFactory::createPackageSelector( YWidget * parent, long modeFlags ) { - YQUI::ui()->setAutoActivateDialogs( false ); - YQPackageSelectorPlugin * plugin = YQUI::ui()->packageSelectorPlugin(); if ( plugin ) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
sh-sh-sh@svn.opensuse.org