]> err.no Git - mapper/commitdiff
Maemo/Hildon fixes
authorKaj-Michael Lang <milang@onion.tal.org>
Mon, 15 Oct 2007 13:34:02 +0000 (16:34 +0300)
committerKaj-Michael Lang <milang@onion.tal.org>
Mon, 15 Oct 2007 13:34:02 +0000 (16:34 +0300)
src/maemo-osso.c
src/ui-common.c

index a84ea8c5b7a816a93b8eed9fb6b9471c74793476..e703effbc4806a37789b6ac75aa8ad7280aff3b6 100644 (file)
@@ -24,6 +24,7 @@
 #include "gps.h"
 #include "settings-gconf.h"
 #include "settings.h"
+#include "config-gconf.h"
 #include "ui-common.h"
 
 gint
index a79e994d50f1f50cdc91f67eff0d9071de575f6a..6694db9caac17c5761ccc6ae58943498ee01756d 100644 (file)
@@ -860,9 +860,12 @@ dialog = gtk_dialog_new();
 gtk_window_set_title(GTK_WINDOW(dialog), title);
 gtk_window_set_transient_for(GTK_WINDOW(dialog), GTK_WINDOW(_window));
 gtk_window_set_modal(GTK_WINDOW(dialog), TRUE);
+#ifdef WITH_HILDON
+gtk_window_set_decorated(GTK_WINDOW(dialog), FALSE);
+gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), gtk_label_new(title), TRUE, TRUE, 0);
+#else
 gtk_window_set_deletable(GTK_WINDOW(dialog), FALSE);
-/* gtk_window_set_decorated(GTK_WINDOW(dialog), FALSE); */
-/* gtk_window_set_default_size(GTK_WINDOW(dialog), 300, 100); */
+#endif
 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), progress, TRUE, TRUE, 0);
 gtk_widget_show_all(dialog);
 return dialog;