~writer-devs/writer/trunk

« back to all changes in this revision

Viewing changes to src/Widgets/ImageToolBar.vala

  • Committer: Anthony Huben
  • Date: 2015-04-10 17:18:27 UTC
  • mfrom: (75.2.1 writer)
  • Revision ID: harp37@gmail.com-20150410171827-b91dhzh6pyhhel5d
Merged ImageToolBar branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
            var wrap_combobox = new Gtk.ComboBoxText ();
40
40
                wrap_combobox.append ("In line of text", ("In line of text"));
41
41
                wrap_combobox.append ("Float above text", ("Float above text"));
42
 
                wrap_combobox.append ("On the left", ("On the left"));
43
 
                wrap_combobox.append ("On the right", ("On the right"));
44
42
                wrap_combobox.set_active_id ("In line of text");
45
43
            var wrap_item = new Gtk.ToolItem ();
46
44
                wrap_item.add (wrap_combobox);
54
52
                    align_button.append (new Gtk.Button.from_icon_name ("format-justify-left-symbolic", Gtk.IconSize.BUTTON));
55
53
                    align_button.append (new Gtk.Button.from_icon_name ("format-justify-center-symbolic", Gtk.IconSize.BUTTON));
56
54
                    align_button.append (new Gtk.Button.from_icon_name ("format-justify-right-symbolic", Gtk.IconSize.BUTTON));
57
 
                    align_button.append (new Gtk.Button.from_icon_name ("format-justify-fill-symbolic", Gtk.IconSize.BUTTON));
58
55
                align_item.add (align_button);
59
56
                
60
57
            var edit_image_button = new Gtk.Button.with_label ("Edit Image");
83
80
                    editor.set_justification ("center"); break;
84
81
                case 2:
85
82
                    editor.set_justification ("right"); break;
86
 
                case 3:
87
 
                    editor.set_justification ("fill"); break;
88
83
                default:
89
84
                    editor.set_justification ("left"); break;
90
85
            }
91
86
        }
92
87
 
93
88
    }
94
 
}
 
 
b'\\ No newline at end of file'
 
89
}