diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-07-11 20:16:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:58 -0500 |
commit | 805ebe10848316f357553cac516187475989abae (patch) | |
tree | 338cb9d2ad213a6887b72bb65851c3af30d5f629 /source4/gtk/tools/gwcrontab.c | |
parent | ec3a86254b41988b453da33112c9309f1ec2eb36 (diff) | |
download | samba-805ebe10848316f357553cac516187475989abae.tar.gz samba-805ebe10848316f357553cac516187475989abae.tar.bz2 samba-805ebe10848316f357553cac516187475989abae.zip |
r1455: More Gtk+ updates:
- Start working on 'gwsam'
- Add GtkSelectDomainDialog and GtkSelectHostDialog
(This used to be commit bea47671aa791f3c4d22263f9444aea1a73f47f1)
Diffstat (limited to 'source4/gtk/tools/gwcrontab.c')
-rw-r--r-- | source4/gtk/tools/gwcrontab.c | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/source4/gtk/tools/gwcrontab.c b/source4/gtk/tools/gwcrontab.c index 9683570664..aef9c15b52 100644 --- a/source4/gtk/tools/gwcrontab.c +++ b/source4/gtk/tools/gwcrontab.c @@ -19,19 +19,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#include <sys/types.h> -#include <sys/stat.h> -#include <unistd.h> -#include <string.h> -#include <stdio.h> - -#include <gdk/gdkkeysyms.h> -#include <gtk/gtk.h> #include "includes.h" +#include "gtk/common/gtk-smb.h" struct dcerpc_pipe *at_pipe = NULL; GtkWidget *mainwin; @@ -211,7 +200,7 @@ void on_about_activate (GtkMenuItem *menuitem, gpointer user_data) { - GtkDialog *aboutwin = GTK_DIALOG(create_gtk_samba_about_dialog()); + GtkDialog *aboutwin = GTK_DIALOG(create_gtk_samba_about_dialog("gwcrontab")); gtk_dialog_run(aboutwin); gtk_widget_destroy(GTK_WIDGET(aboutwin)); } @@ -242,6 +231,7 @@ create_mainwindow (void) accel_group = gtk_accel_group_new (); mainwindow = gtk_window_new (GTK_WINDOW_TOPLEVEL); + gtk_window_set_default_size (GTK_WINDOW (mainwindow), 642, 562); gtk_window_set_title (GTK_WINDOW (mainwindow), "Task Scheduler"); vbox = gtk_vbox_new (FALSE, 0); @@ -529,7 +519,7 @@ static GtkWidget*create_new_job_dialog (void) -int main(int argc, char **argv) + int main(int argc, char **argv) { gtk_init(&argc, &argv); mainwin = create_mainwindow(); |