remove display of the dialogue from the miniature element
This commit is contained in:
parent
82af3768b0
commit
f5993b3f8b
@ -98,6 +98,8 @@ void WindowsManager::OnMessage(int32_t id, int32_t dataID)
|
|||||||
GTK_STOCK_OPEN, // button text
|
GTK_STOCK_OPEN, // button text
|
||||||
GTK_RESPONSE_ACCEPT, // response id
|
GTK_RESPONSE_ACCEPT, // response id
|
||||||
NULL); // end button/response list
|
NULL); // end button/response list
|
||||||
|
// this element did not apear in the miniature of the windows
|
||||||
|
gtk_window_set_skip_pager_hint(GTK_WINDOW(dialog), TRUE);
|
||||||
if( -1 != m_currentBufferID
|
if( -1 != m_currentBufferID
|
||||||
&& true == myBufferManager->Exist(m_currentBufferID) )
|
&& true == myBufferManager->Exist(m_currentBufferID) )
|
||||||
{
|
{
|
||||||
@ -140,6 +142,8 @@ void WindowsManager::OnMessage(int32_t id, int32_t dataID)
|
|||||||
GTK_STOCK_SAVE, // button text
|
GTK_STOCK_SAVE, // button text
|
||||||
GTK_RESPONSE_ACCEPT, // response id
|
GTK_RESPONSE_ACCEPT, // response id
|
||||||
NULL); // end button/response list
|
NULL); // end button/response list
|
||||||
|
// this element did not apear in the miniature of the windows
|
||||||
|
gtk_window_set_skip_pager_hint(GTK_WINDOW(dialog), TRUE);
|
||||||
if (gtk_dialog_run(GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT)
|
if (gtk_dialog_run(GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT)
|
||||||
{
|
{
|
||||||
Edn::String myfilename;
|
Edn::String myfilename;
|
||||||
@ -161,6 +165,8 @@ void WindowsManager::OnMessage(int32_t id, int32_t dataID)
|
|||||||
GTK_DIALOG_MODAL,
|
GTK_DIALOG_MODAL,
|
||||||
GTK_STOCK_QUIT, GTK_RESPONSE_NO,
|
GTK_STOCK_QUIT, GTK_RESPONSE_NO,
|
||||||
NULL);
|
NULL);
|
||||||
|
// this element did not apear in the miniature of the windows
|
||||||
|
gtk_window_set_skip_pager_hint(GTK_WINDOW(myDialog), TRUE);
|
||||||
GtkWidget *myContentArea = gtk_dialog_get_content_area( GTK_DIALOG(myDialog));
|
GtkWidget *myContentArea = gtk_dialog_get_content_area( GTK_DIALOG(myDialog));
|
||||||
GtkWidget *myLabel = gtk_label_new("");
|
GtkWidget *myLabel = gtk_label_new("");
|
||||||
gtk_label_set_markup (GTK_LABEL (myLabel),
|
gtk_label_set_markup (GTK_LABEL (myLabel),
|
||||||
@ -212,6 +218,8 @@ void WindowsManager::OnMessage(int32_t id, int32_t dataID)
|
|||||||
"Jump", GTK_RESPONSE_YES,
|
"Jump", GTK_RESPONSE_YES,
|
||||||
GTK_STOCK_QUIT, GTK_RESPONSE_NO,
|
GTK_STOCK_QUIT, GTK_RESPONSE_NO,
|
||||||
NULL);
|
NULL);
|
||||||
|
// this element did not apear in the miniature of the windows
|
||||||
|
gtk_window_set_skip_pager_hint(GTK_WINDOW(myDialog), TRUE);
|
||||||
// Set over main windows
|
// Set over main windows
|
||||||
gtk_window_set_transient_for(GTK_WINDOW(myDialog), GTK_WINDOW(m_mainWindow->GetWidget()));
|
gtk_window_set_transient_for(GTK_WINDOW(myDialog), GTK_WINDOW(m_mainWindow->GetWidget()));
|
||||||
// add writting area
|
// add writting area
|
||||||
|
Loading…
x
Reference in New Issue
Block a user