# # # patch "lib/perl/AdvancedFind.pm" # from [280518f0b96bb4d69e7399a9bfe89130245f3d3c] # to [380704d8fa44730cb8d24233f20b695d620038d8] # # patch "lib/perl/Annotate.pm" # from [8e16510372349c2b286acd7d8f0c7c06e1975fe4] # to [5659c22ef38f8b16a038753c2fba26ed1b0cf84c] # # patch "lib/perl/ChangeLog.pm" # from [f04c9d5849e92fe642eaa58b21866c23e3d41f55] # to [ecdacf3b46e0f5adeecef7a1a5c156ca61e54f9b] # # patch "lib/perl/FindFiles.pm" # from [e597fc549bb07ff954304865451efdb25b94fc47] # to [a3598006cda47c307e8854739da83002460057d6] # # patch "lib/perl/FindText.pm" # from [66d051cf3875e01c5578e9a6cf583643c9e9d2bd] # to [be9140c92dbca6d16cef6a661ac5aba4034e33b1] # # patch "lib/perl/History.pm" # from [6a5a71441f721d4a9a4af1fb6e2376649c16f9ca] # to [051b901ef191a7db2d96ed8ecddde62f9afb2d89] # # patch "lib/perl/Preferences.pm" # from [cc6cf881c0843db848e916482b81fd9891968125] # to [5de8791183ecbe3cef6590b7fd40ee05b21665a4] # # patch "lib/ui/mtn-browse.glade" # from [f2d7fc307e2ce3b79b699090f21781ca799c7064] # to [7a2b7331f893c0f11674a2a72eefd89f3fbb35c5] # # patch "mtn-browse" # from [9a6c0e14fc44ee0a732ca04359bccca34658e964] # to [41c8d05b4e6cfb670a939161f4656bfa06c8ef42] # ============================================================ --- lib/perl/AdvancedFind.pm 280518f0b96bb4d69e7399a9bfe89130245f3d3c +++ lib/perl/AdvancedFind.pm 380704d8fa44730cb8d24233f20b695d620038d8 @@ -681,8 +681,13 @@ sub get_advanced_find_window($) create_format_tags($instance->{details_textview}->get_buffer()); $instance->{details_textview}->modify_font($mono_font); + # Reparent the advanced find window to the specified browser. + + $instance->{window}->set_transient_for($browser->{window}); + local $instance->{in_cb} = 1; $instance->{window}->show_all(); + $instance->{window}->present(); # Register the window for management and set up the help callbacks. @@ -701,7 +706,6 @@ sub get_advanced_find_window($) # Update the advanced find dialog's state. - $instance->{window}->set_transient_for($browser->{window}); $instance->{branch_combo_details}->{preset} = 0; $instance->{revision_combo_details}->{preset} = 0; &{$instance->{update_handler}}($instance, NEW_FIND); @@ -732,6 +736,7 @@ sub get_advanced_find_window($) set_search_column(AFLS_REVISION_ID_COLUMN); &{$instance->{update_handler}}($instance, NEW_FIND); $instance->{window}->show_all(); + $instance->{window}->present(); } ============================================================ --- lib/perl/Annotate.pm 8e16510372349c2b286acd7d8f0c7c06e1975fe4 +++ lib/perl/Annotate.pm 5659c22ef38f8b16a038753c2fba26ed1b0cf84c @@ -104,6 +104,7 @@ sub display_annotation($$$) $instance->{window}->set_title(__x("Annotated Listing Of {file}", file => $instance->{file_name})); $instance->{window}->show_all(); + $instance->{window}->present(); $wm->make_busy($instance, 1); $instance->{appbar}->push($instance->{appbar}->get_status()->get_text()); ============================================================ --- lib/perl/ChangeLog.pm f04c9d5849e92fe642eaa58b21866c23e3d41f55 +++ lib/perl/ChangeLog.pm ecdacf3b46e0f5adeecef7a1a5c156ca61e54f9b @@ -124,6 +124,7 @@ sub display_change_log($$;$$) $instance->{changelog_scrolledwindow}->get_hadjustment()->set_value(0); } $instance->{window}->show_all(); + $instance->{window}->present(); } # ============================================================ --- lib/perl/FindFiles.pm e597fc549bb07ff954304865451efdb25b94fc47 +++ lib/perl/FindFiles.pm a3598006cda47c307e8854739da83002460057d6 @@ -132,6 +132,7 @@ sub display_find_files($$$$$) $instance->{starting_point}); $instance->{window}->show_all(); + $instance->{window}->present(); } # ============================================================ --- lib/perl/FindText.pm 66d051cf3875e01c5578e9a6cf583643c9e9d2bd +++ lib/perl/FindText.pm be9140c92dbca6d16cef6a661ac5aba4034e33b1 @@ -768,6 +768,7 @@ sub get_find_text_window($$) $instance->{window}->set_transient_for($parent); $instance->{window}->show_all(); + $instance->{window}->present(); # Make sure that the find comboboxentry has the focus. ============================================================ --- lib/perl/History.pm 6a5a71441f721d4a9a4af1fb6e2376649c16f9ca +++ lib/perl/History.pm 051b901ef191a7db2d96ed8ecddde62f9afb2d89 @@ -142,6 +142,7 @@ sub display_revision_change_history($$$) $tag : $revision_id)); $instance->{history_label}->set_markup(__("Revision History")); $instance->{window}->show_all(); + $instance->{window}->present(); $wm->make_busy($instance, 1); $instance->{appbar}->push($instance->{appbar}->get_status()->get_text()); @@ -344,6 +345,7 @@ sub display_file_change_history($$$) file => $instance->{file_name})); $instance->{history_label}->set_markup(__("File History")); $instance->{window}->show_all(); + $instance->{window}->present(); $wm->make_busy($instance, 1); $instance->{appbar}->push($instance->{appbar}->get_status()->get_text()); @@ -553,6 +555,7 @@ sub display_revision_comparison($$$;$) set_markup(__("Revision Comparison")); } $instance->{window}->show_all(); + $instance->{window}->present(); $wm->make_busy($instance, 1); $instance->{appbar}->push($instance->{appbar}->get_status()->get_text()); ============================================================ --- lib/perl/Preferences.pm cc6cf881c0843db848e916482b81fd9891968125 +++ lib/perl/Preferences.pm 5de8791183ecbe3cef6590b7fd40ee05b21665a4 @@ -1150,6 +1150,7 @@ sub get_preferences_window($$) local $instance->{in_cb} = 1; $instance->{window}->show_all(); + $instance->{window}->present(); # Register the window for management and set up the help callbacks. @@ -1179,6 +1180,7 @@ sub get_preferences_window($$) $instance->{mime_types_treeview}->set_search_column(MTLS_NAME_COLUMN); load_preferences_into_gui($instance); $instance->{window}->show_all(); + $instance->{window}->present(); } ============================================================ --- lib/ui/mtn-browse.glade f2d7fc307e2ce3b79b699090f21781ca799c7064 +++ lib/ui/mtn-browse.glade 7a2b7331f893c0f11674a2a72eefd89f3fbb35c5 @@ -21,7 +21,7 @@ False GDK_WINDOW_TYPE_HINT_NORMAL GDK_GRAVITY_NORTH_WEST - False + True ============================================================ --- mtn-browse 9a6c0e14fc44ee0a732ca04359bccca34658e964 +++ mtn-browse 41c8d05b4e6cfb670a939161f4656bfa06c8ef42 @@ -1777,6 +1777,7 @@ sub get_browser_window(;$$$$$) local $browser->{in_cb} = 1; $browser->{window}->show_all(); + $browser->{window}->present(); # Register the window for management and set up the help callbacks. @@ -1852,6 +1853,7 @@ sub get_browser_window(;$$$$$) } &{$browser->{update_handler}}($browser, ALL_CHANGED); $browser->{window}->show_all(); + $browser->{window}->present(); # Now update with the details of the specified database.