]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/gtkdlgs.cpp
Merge commit 'e7c45da823515747a88569374d62717b72dcf078' into garux-merge
[xonotic/netradiant.git] / radiant / gtkdlgs.cpp
index 0a2206069f6a78f98c009dfc6abde978bc32f126..1deceec8b1f756d6c478f58967293b214be8500c 100644 (file)
@@ -480,6 +480,7 @@ void DoAbout(){
                                {
                     auto button = create_dialog_button( "Credits", G_CALLBACK( about_button_credits ), 0 );
                                        vbox2.pack_start( button, FALSE, FALSE, 0 );
+                                       gtk_widget_set_sensitive( GTK_WIDGET( button ), FALSE);
                                }
                                {
                     auto button = create_dialog_button( "Changes", G_CALLBACK( about_button_changelog ), 0 );
@@ -488,6 +489,7 @@ void DoAbout(){
                                {
                     auto button = create_dialog_button( "Issues", G_CALLBACK( about_button_issues ), 0 );
                                        vbox2.pack_start( button, FALSE, FALSE, 0 );
+                                       gtk_widget_set_sensitive( GTK_WIDGET( button ), FALSE);
                                }
                        }
                }
@@ -1041,7 +1043,7 @@ void DoTextEditor( const char* filename, int cursorpos, int length ){
                        ShellExecute( (HWND)GDK_WINDOW_HWND( gtk_widget_get_window( MainFrame_getWindow() ) ), "open", path.c_str(), 0, 0, SW_SHOW );
                }
                else{
-                       globalOutputStream() << "Failed to open '" << filename << "\n";
+                       globalOutputStream() << "Failed to open '" << filename << "'\nOne sits in .pk3 most likely!\n";
                }
                return;
        }
@@ -1062,7 +1064,7 @@ void DoTextEditor( const char* filename, int cursorpos, int length ){
                        DoGtkTextEditor( path.c_str(), cursorpos, length );
                }
                else{
-                       globalOutputStream() << "Failed to open '" << filename << "\n";
+                       globalOutputStream() << "Failed to open '" << filename << "'\nOne sits in .pk3 most likely!\n";
                }
                return;
        }