From 2a3ad02e8011b7e2630a755a6caea8f58807a212 Mon Sep 17 00:00:00 2001 From: Jesse van den Kieboom Date: Thu, 17 Jul 2014 14:02:34 +0200 Subject: [PATCH] Remove unused GitgInfoBar --- gitg/Makefile.am | 1 - gitg/gitg-info-bar.vala | 64 ----------------------------------------- 2 files changed, 65 deletions(-) delete mode 100644 gitg/gitg-info-bar.vala diff --git a/gitg/Makefile.am b/gitg/Makefile.am index dfd441af..b8ed78b9 100644 --- a/gitg/Makefile.am +++ b/gitg/Makefile.am @@ -53,7 +53,6 @@ gitg_gitg_VALASOURCES = \ gitg/gitg-window.vala \ gitg/gitg-clone-dialog.vala \ gitg/gitg-author-details-dialog.vala \ - gitg/gitg-info-bar.vala \ gitg/gitg-resource.vala \ gitg/gitg-dash-view.vala \ gitg/gitg-application.vala \ diff --git a/gitg/gitg-info-bar.vala b/gitg/gitg-info-bar.vala deleted file mode 100644 index e09d714b..00000000 --- a/gitg/gitg-info-bar.vala +++ /dev/null @@ -1,64 +0,0 @@ -/* - * This file is part of gitg - * - * Copyright (C) 2014 - Jesse van den Kieboom - * - * gitg is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * gitg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with gitg. If not, see . - */ - -namespace Gitg -{ - -[GtkTemplate (ui = "/org/gnome/gitg/ui/gitg-info-bar.ui")] -class InfoBar : Gtk.InfoBar -{ - [GtkChild] - private Gtk.Label d_title_label; - - [GtkChild] - private Gtk.Label d_message_label; - - private string d_title; - private string d_message; - - public string title - { - get { return d_title; } - set - { - d_title = value; - - var escaped = Markup.escape_text(d_title); - d_title_label.set_markup(@"$escaped"); - } - } - - public string message - { - get { return d_message; } - set - { - d_message = value; - - var escaped = Markup.escape_text(d_message); - - d_message_label.set_markup(@"$escaped"); - } - } - -} - -} - -// ex:ts=4 noet