mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Fix link in the about dialog
This commit is contained in:
parent
c73a4bf3b9
commit
d70d6242c1
2 changed files with 5 additions and 5 deletions
|
@ -1,2 +1,2 @@
|
||||||
// generated header, see makeversion.py
|
// generated header, see makeversion.py
|
||||||
#define RADIANT_ABOUTMSG "http://icculus.org/GtkRadiant/"
|
#define RADIANT_ABOUTMSG "http://icculus.org/gtkradiant/"
|
||||||
|
|
|
@ -2099,12 +2099,12 @@ void DoAbout(){
|
||||||
CString s = g_strBitmapsPath;
|
CString s = g_strBitmapsPath;
|
||||||
s += "logo.png";
|
s += "logo.png";
|
||||||
GtkWidget *logo_image = gtk_image_new_from_file( s.GetBuffer() );
|
GtkWidget *logo_image = gtk_image_new_from_file( s.GetBuffer() );
|
||||||
gtk_box_pack_start( GTK_BOX( outer_vbox ), logo_image, FALSE, FALSE, 0 );
|
gtk_box_pack_start( GTK_BOX( outer_vbox ), logo_image, FALSE, TRUE, 0 );
|
||||||
gtk_widget_show( logo_image );
|
gtk_widget_show( logo_image );
|
||||||
|
|
||||||
// all other widgets layout
|
// all other widgets layout
|
||||||
GtkWidget *inner_vbox = gtk_vbox_new( FALSE, ABT_WIDGET_PADDING );
|
GtkWidget *inner_vbox = gtk_vbox_new( FALSE, ABT_WIDGET_PADDING );
|
||||||
gtk_box_pack_start( GTK_BOX( outer_vbox ), inner_vbox, FALSE, FALSE, 0 );
|
gtk_box_pack_start( GTK_BOX( outer_vbox ), inner_vbox, TRUE, TRUE, 0 );
|
||||||
gtk_container_set_border_width( GTK_CONTAINER( inner_vbox ), ABT_WIDGET_PADDING );
|
gtk_container_set_border_width( GTK_CONTAINER( inner_vbox ), ABT_WIDGET_PADDING );
|
||||||
gtk_widget_show( inner_vbox );
|
gtk_widget_show( inner_vbox );
|
||||||
|
|
||||||
|
@ -2129,7 +2129,7 @@ void DoAbout(){
|
||||||
|
|
||||||
// OpenGL properties
|
// OpenGL properties
|
||||||
GtkWidget *gl_prop_frame = gtk_frame_new( _( "OpenGL Properties" ) );
|
GtkWidget *gl_prop_frame = gtk_frame_new( _( "OpenGL Properties" ) );
|
||||||
gtk_box_pack_start( GTK_BOX( inner_vbox ), gl_prop_frame, FALSE, FALSE, 0 );
|
gtk_box_pack_start( GTK_BOX( inner_vbox ), gl_prop_frame, FALSE, TRUE, 0 );
|
||||||
gtk_widget_show( gl_prop_frame );
|
gtk_widget_show( gl_prop_frame );
|
||||||
|
|
||||||
GtkWidget *gl_prop_table = gtk_table_new( 3, 2, FALSE );
|
GtkWidget *gl_prop_table = gtk_table_new( 3, 2, FALSE );
|
||||||
|
@ -2205,7 +2205,7 @@ void DoAbout(){
|
||||||
gtk_container_add( GTK_CONTAINER( gl_ext_scroll ), gl_ext_textview );
|
gtk_container_add( GTK_CONTAINER( gl_ext_scroll ), gl_ext_textview );
|
||||||
GtkTextBuffer* buffer = gtk_text_view_get_buffer( GTK_TEXT_VIEW( gl_ext_textview ) );
|
GtkTextBuffer* buffer = gtk_text_view_get_buffer( GTK_TEXT_VIEW( gl_ext_textview ) );
|
||||||
gtk_text_buffer_set_text( buffer, (char *)qglGetString( GL_EXTENSIONS ), -1 );
|
gtk_text_buffer_set_text( buffer, (char *)qglGetString( GL_EXTENSIONS ), -1 );
|
||||||
gtk_text_view_set_wrap_mode( GTK_TEXT_VIEW( gl_ext_textview ), GTK_WRAP_WORD );;
|
gtk_text_view_set_wrap_mode( GTK_TEXT_VIEW( gl_ext_textview ), GTK_WRAP_WORD );
|
||||||
gtk_widget_show( gl_ext_textview );
|
gtk_widget_show( gl_ext_textview );
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue