Commit 8877cae9 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

hide the button-bar.

2006-06-26  Sven Neumann  <sven@gimp.org>

	* app/gui/gui-vtable.c (gui_pdb_dialog_new): hide the button-bar.
parent b294077e
2006-06-26 Sven Neumann <sven@gimp.org>
* app/gui/gui-vtable.c (gui_pdb_dialog_new): hide the button-bar.
2006-06-26 Sven Neumann <sven@gimp.org>
* app/dialogs/quit-dialog.c: use STOCK_WARNING instead of
......
......@@ -44,6 +44,7 @@
#include "widgets/gimpactiongroup.h"
#include "widgets/gimpbrushselect.h"
#include "widgets/gimpdialogfactory.h"
#include "widgets/gimpdocked.h"
#include "widgets/gimperrorconsole.h"
#include "widgets/gimperrordialog.h"
#include "widgets/gimpfontselect.h"
......@@ -437,6 +438,7 @@ gui_pdb_dialog_new (Gimp *gimp,
GParameter *params = NULL;
gint n_params = 0;
GtkWidget *dialog;
GtkWidget *view;
params = gimp_parameters_append (dialog_type, params, &n_params,
"title", title,
......@@ -459,6 +461,10 @@ gui_pdb_dialog_new (Gimp *gimp,
gimp_parameters_free (params, n_params);
view = GIMP_PDB_DIALOG (dialog)->view;
if (view)
gimp_docked_set_show_button_bar (GIMP_DOCKED (view), FALSE);
gtk_widget_show (dialog);
return TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment