From fd0811dcc801243642d5603fe45dc2a9080ba8af Mon Sep 17 00:00:00 2001 From: Neroth Date: Mon, 23 Jan 2012 03:08:55 +0100 Subject: [PATCH] Modal dialog style modification --- src/weather-settings.js.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/weather-settings.js.in b/src/weather-settings.js.in index c558505..8dc07b4 100644 --- a/src/weather-settings.js.in +++ b/src/weather-settings.js.in @@ -65,6 +65,8 @@ WeatherSetting.prototype = var textDialog = _("Name of the city"); var dialog = new Gtk.Dialog({title : ""}); var entry = new Gtk.Entry(); + entry.margin_top = 12; + entry.margin_bottom = 12; var label = new Gtk.Label({label : textDialog}); dialog.set_border_width(12); @@ -73,7 +75,7 @@ WeatherSetting.prototype = dialog.set_transient_for(this.Window.get_object("main-window")); dialog.add_button(Gtk.STOCK_CANCEL, 0); - dialog.add_button(_("Add..."), 1); + dialog.add_button(Gtk.STOCK_OK, 1); var dialog_area = dialog.get_content_area(); dialog_area.pack_start(label); dialog_area.pack_start(entry); @@ -97,6 +99,7 @@ WeatherSetting.prototype = var textDialog = _("Remove %s ?").replace("%s",city[ac]); var dialog = new Gtk.Dialog({title : ""}); var label = new Gtk.Label({label : textDialog}); + label.margin_bottom = 12; dialog.set_border_width(12); dialog.set_modal(1);