Commit 003ef6d30b07b07fdfd3031f0c02140c4b136ae0

Authored by Perry Werneck
1 parent 4b02345e

Fixing windows version.

Showing 2 changed files with 2 additions and 20 deletions   Show diff stats
src/objects/window/window.c
... ... @@ -297,24 +297,6 @@ static void pw3270ApplicationWindow_init(pw3270ApplicationWindow *widget) {
297 297 gtk_notebook_set_show_border(widget->notebook, FALSE);
298 298 gtk_notebook_set_group_name(widget->notebook,PACKAGE_NAME ":Terminals");
299 299  
300   - /*
301   - {
302   - // Create new tab action widget
303   - GtkWidget * new_tab = gtk_button_new_from_icon_name("tab-new-symbolic",GTK_ICON_SIZE_LARGE_TOOLBAR);
304   - gtk_button_set_relief(GTK_BUTTON(new_tab),GTK_RELIEF_NONE);
305   - gtk_actionable_set_action_name(GTK_ACTIONABLE(new_tab),g_intern_static_string("app.new.tab"));
306   -
307   - gtk_widget_set_margin_start(new_tab,6);
308   - gtk_widget_set_margin_end(new_tab,6);
309   - gtk_widget_set_margin_bottom(new_tab,0);
310   - gtk_widget_set_valign(new_tab,GTK_ALIGN_END);
311   -
312   - gtk_button_set_image_position(GTK_BUTTON(new_tab),GTK_POS_BOTTOM);
313   - gtk_widget_show_all(new_tab);
314   - gtk_notebook_set_action_widget(widget->notebook,new_tab,GTK_PACK_START);
315   - }
316   - */
317   -
318 300 // Create boxes
319 301 GtkBox * hBox = GTK_BOX(gtk_box_new(GTK_ORIENTATION_HORIZONTAL,0));
320 302 GtkBox * vBox = GTK_BOX(gtk_box_new(GTK_ORIENTATION_VERTICAL,0));
... ... @@ -889,7 +871,7 @@ GSettings *pw3270_application_window_settings_new() {
889 871 GSettingsSchema * schema =
890 872 g_settings_schema_source_lookup(
891 873 source,
892   - "br.com.bb." G_STRINGIFY(PRODUCT_NAME),
  874 + "br.com.bb." G_STRINGIFY(PRODUCT_NAME) ".window",
893 875 TRUE);
894 876  
895 877 debug("schema %s=%p","br.com.bb." PACKAGE_NAME,schema);
... ...
win/pw3270.nsi.in
... ... @@ -122,7 +122,7 @@ SubSection "@PRODUCT_NAME@" SecMain
122 122 # Schema
123 123 CreateDirectory "$INSTDIR\schemas"
124 124 file "/oname=$INSTDIR\schemas\@PRODUCT_NAME@-application.gschema.xml" "share\glib-2.0\schemas\pw3270-application.gschema.xml"
125   - file "/oname=$INSTDIR\schemas\@PRODUCT_NAME@-window.gmasma.xml" "share\glib-2.0\schemas\pw3270-window.gschema.xml"
  125 + file "/oname=$INSTDIR\schemas\@PRODUCT_NAME@-window.gschema.xml" "share\glib-2.0\schemas\pw3270-window.gschema.xml"
126 126  
127 127 # Configuration files
128 128 file "/oname=$INSTDIR\colors.conf" "share\@PRODUCT_NAME@\colors.conf"
... ...