/gpump/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/gpump/trunk

« back to all changes in this revision

Viewing changes to src/app.js

  • Committer: Gustav Hartvigsson
  • Date: 2014-11-20 21:44:41 UTC
  • mto: This revision was merged to the branch mainline in revision 53.
  • Revision ID: gustav.hartvigsson@gmail.com-20141120214441-4eyrav9z68h1fymd
* Made a few style changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
210
210
   * assigning callback functions to them.
211
211
   */
212
212
  _prepare_header_bar: function () {
213
 
    this.headerbar.pack_start ((this.new_post_btn = new Gtk.Button ({
 
213
    
 
214
    let button_container = new Gtk.Box ({orientation: Gtk.Orientation.HORIZONTAL});
 
215
    
 
216
    button_container.pack_start ((this.new_post_btn = new Gtk.Button ({
214
217
      image: (new Gtk.Image ({icon_name: 'text-editor-symbolic'})),
215
 
      tooltip_text: _("Create new post")
216
 
    })));
 
218
      tooltip_text: _("Create new post"),
 
219
    })), false, false, null);
217
220
    
218
 
    this.headerbar.pack_start ((this.refresh_btn = new Gtk.Button({
 
221
    button_container.pack_start ((this.refresh_btn = new Gtk.Button({
219
222
      image: (new Gtk.Image ({icon_name: 'emblem-synchronizing-symbolic'})),
220
 
      tooltip_text: _("Refresh the stream")
221
 
    })));
 
223
      tooltip_text: _("Refresh the stream"),
 
224
    })), false, false, null);
 
225
    
 
226
    let special_btn_container_style_ctx = button_container.get_style_context ();
 
227
    special_btn_container_style_ctx.add_class ("linked");
 
228
    
 
229
    this.headerbar.pack_start (button_container);
222
230
    
223
231
    this.headerbar.pack_end ((this.user_menu_btn = new UserButton.UserButton ({
224
232
      image: (new Gtk.Image ({icon_name: 'mail-send-symbolic'})),