Advertisement
Guest User

Untitled

a guest
Apr 11th, 2014
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.83 KB | None | 0 0
  1. === modified file 'src/PantheonTerminalWindow.vala'
  2. --- src/PantheonTerminalWindow.vala 2014-04-11 09:06:07 +0000
  3. +++ src/PantheonTerminalWindow.vala 2014-04-11 09:47:41 +0000
  4. @@ -155,9 +155,11 @@
  5.              var label = new Gtk.Label ("");
  6.              label.margin_top = 6;
  7.              label.margin_bottom = 6;
  8. -            /* label.set_style_class ("title"); */
  9. +            label.get_style_context ().add_class ("title");
  10.              box.set_center_widget (label);
  11. -            /* g_signal_connect_object (dialog, "notify::title", G_CALLBACK (update_title), label, 0); */
  12. +            notify["title"].connect (() => {
  13. +                label.label = title;
  14. +            });
  15.  
  16.              this.set_titlebar (box);
  17.  
  18. @@ -678,4 +680,4 @@
  19.                action_fullscreen }
  20.          };
  21.      }
  22. -}
  23. \ No newline at end of file
  24. +}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement