~ubuntu-branches/debian/sid/xiphos/sid

« back to all changes in this revision

Viewing changes to src/gnome2/about_trans.c

  • Committer: Package Import Robot
  • Author(s): Dimitri John Ledkov
  • Date: 2014-07-12 17:08:46 UTC
  • mfrom: (1.3.3)
  • Revision ID: package-import@ubuntu.com-20140712170846-ja9jzhgt51d3fkrd
Tags: 3.2.2+dfsg1-1
* New upstream release.
* Bump standards version.
* Switch uscan to sf.net redirector.
* Unpack waf in get-orig-source target.
* Bump to debhelper 9.
* Add uuid-dev build-dep.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * Xiphos Bible Study Tool
3
3
 * about_trans.c - About Translation
4
4
 *
5
 
 * Copyright (C) 2008-2011 Xiphos Developer Team
 
5
 * Copyright (C) 2008-2014 Xiphos Developer Team
6
6
 *
7
7
 * This program is free software; you can redistribute it and/or modify
8
8
 * it under the terms of the GNU General Public License as published by
104
104
                          "dialog_vbox", dialog_vbox);
105
105
        gtk_widget_show(dialog_vbox);
106
106
 
107
 
        vbox = gtk_vbox_new(FALSE, 0);
 
107
        UI_VBOX(vbox, FALSE, 0);
108
108
        gtk_widget_show(vbox);
109
109
        gtk_box_pack_start(GTK_BOX(dialog_vbox), vbox, TRUE, TRUE,
110
110
                           0);
156
156
        gtk_container_set_border_width(GTK_CONTAINER
157
157
                                       (dialog_action_area), 10);
158
158
 
159
 
        hbuttonbox = gtk_hbutton_box_new();
 
159
#ifdef USE_GTK_3
 
160
    hbuttonbox = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL);
 
161
#else
 
162
    hbuttonbox = gtk_hbutton_box_new();
 
163
#endif
160
164
        gtk_widget_show(hbuttonbox);
161
165
        gtk_box_pack_start(GTK_BOX(dialog_action_area), hbuttonbox,
162
166
                           TRUE, TRUE, 0);
163
167
        gtk_button_box_set_layout(GTK_BUTTON_BOX(hbuttonbox),
164
168
                                  GTK_BUTTONBOX_END);
165
 
 
166
 
        button = gtk_button_new_from_stock (GTK_STOCK_CLOSE);
 
169
        button = 
 
170
#ifdef HAVE_GTK_310
 
171
                gtk_button_new_from_icon_name ("gtk-close",
 
172
                               GTK_ICON_SIZE_BUTTON);
 
173
#else                        
 
174
                gtk_button_new_from_stock (GTK_STOCK_CLOSE);
 
175
#endif                                        
167
176
        gtk_widget_show(button);
168
177
        gtk_container_add(GTK_CONTAINER(hbuttonbox), button);
169
178
#ifdef HAVE_GTK_218