/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-06-13 21:51:09 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20140613215109-1o4421hhbm8ztbei
* Changes a thing in the about dialoug.
* Changed the style of the close button in the prefs dialoug.
* Added, for future use, style.js...

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
 
17
17
const SettingsData = imports.settings_data;
 
18
/* const Style = imports.style; */
18
19
const PreferencesUI = imports.preferences_ui;
19
20
 
20
21
const Application = new Lang.Class ({
45
46
    this._prepare_app_menu ();
46
47
    this._prepare_header_bar ();
47
48
    
 
49
    /* Style.load_css (); */
48
50
    
49
51
    this.window.show_all ();
50
52
  },
106
108
    this.set_app_menu (menu);
107
109
    
108
110
    let about_action = new Gio.SimpleAction ({name: "about"});
109
 
    about_action.connect ('activate', Lang.bind (this, function (){
 
111
    about_action.connect ('activate', Lang.bind (this, function () {
110
112
      let about_dialog = new Gtk.AboutDialog ({use_header_bar: true,
111
113
                                               transient_for: this.window,
112
114
                                               modal: true,
113
115
                                               version: "pre-alpha ~BZR~",
114
116
                                     program_name: GLib.get_application_name (),
115
 
                                 copyright: "Gustav \'Gego\' Hartvigsson, 2014",
 
117
                                 copyright: "Gustav \'Gego/XAREN\' Hartvigsson, 2014",
116
118
                                           license_type: Gtk.License.LGPL_3_0});
117
119
      
118
120
      about_dialog.authors = ["Gustav Hartvigsson <gustav.hartvigsson@gmail.com>"];