Show
Ignore:
Timestamp:
04/14/06 07:09:05 (3 years ago)
Author:
jordi
Message:

The previous and next page toolbar items are now "considered important", so when the toolbar's style is GTK_TOOLBAR_BOTH_HORIZ, its labels will be shown.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/gtk/MainView.cxx

    r49 r57  
    458458        exit (EXIT_FAILURE); 
    459459    } 
     460 
     461    // Set the previous and next pages toolitems important, so they will 
     462    // be shown when the toolbar's style is GTK_TOOLBAR_BOTH_HORIZ. 
     463    GtkWidget *prevPage = gtk_ui_manager_get_widget (m_UIManager, 
     464                                  "/ToolBar/GoToPreviousPage"); 
     465    gtk_tool_item_set_is_important (GTK_TOOL_ITEM (prevPage), TRUE); 
     466    GtkWidget *nextPage = gtk_ui_manager_get_widget (m_UIManager,  
     467                                  "/ToolBar/GoToNextPage"); 
     468    gtk_tool_item_set_is_important (GTK_TOOL_ITEM (nextPage), TRUE); 
    460469} 
    461470