Commit 4e68d93c authored by Jody Goldberg's avatar Jody Goldberg

More gi18n.h and other minor tweakage

parent 5be22936
......@@ -26,7 +26,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include "dao-gui-utils.h"
#include "value.h"
......
......@@ -19,7 +19,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
......
......@@ -24,7 +24,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -24,7 +24,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "analysis-tools.h"
......
......@@ -31,7 +31,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
......
......@@ -19,7 +19,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -25,7 +25,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -22,7 +22,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -19,7 +19,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -22,7 +22,7 @@
**/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -22,7 +22,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......@@ -523,7 +523,7 @@ cb_dialog_ok_clicked (G_GNUC_UNUSED GtkWidget *button,
-1);
item++;
this_array_item->offset = number - base;
this_array_item->asc = descending ? 1 : 0;
this_array_item->asc = descending ? TRUE : FALSE;
this_array_item->cs = case_sensitive;
this_array_item->val = sort_by_value;
this_array_item++;
......@@ -1128,16 +1128,11 @@ dialog_init (SortFlowState *state)
G_CALLBACK (cb_clear_clicked), state);
gtk_widget_set_sensitive (state->clear_button, FALSE);
gtk_button_stock_alignment_set (GTK_BUTTON (state->up_button),
0., .5, 0., 0.);
gtk_button_stock_alignment_set (GTK_BUTTON (state->down_button),
0., .5, 0., 0.);
gtk_button_stock_alignment_set (GTK_BUTTON (state->add_button),
0., .5, 0., 0.);
gtk_button_stock_alignment_set (GTK_BUTTON (state->delete_button),
0., .5, 0., 0.);
gtk_button_stock_alignment_set (GTK_BUTTON (state->clear_button),
0., .5, 0., 0.);
gtk_button_set_alignment (GTK_BUTTON (state->up_button), 0., .5);
gtk_button_set_alignment (GTK_BUTTON (state->down_button), 0., .5);
gtk_button_set_alignment (GTK_BUTTON (state->add_button), 0., .5);
gtk_button_set_alignment (GTK_BUTTON (state->delete_button), 0., .5);
gtk_button_set_alignment (GTK_BUTTON (state->clear_button), 0., .5);
gnumeric_init_help_button (
glade_xml_get_widget (state->gui, "help_button"),
GNUMERIC_HELP_LINK_CELL_SORT);
......
......@@ -21,7 +21,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -21,7 +21,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -23,7 +23,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -23,7 +23,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -24,7 +24,7 @@
* USA
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -24,7 +24,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -22,7 +22,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -23,7 +23,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -36,7 +36,7 @@
#include <sheet-style.h>
#include <value.h>
#include <workbook-edit.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gtk/gtkimage.h>
#include <gtk/gtklabel.h>
......
......@@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -24,7 +24,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......@@ -347,9 +347,9 @@ dialog_merge (WorkbookControlGUI *wbcg)
state->cancel_btn = glade_xml_get_widget (gui, "cancel_button");
gtk_widget_set_size_request (state->delete_btn, 100, -1);
gtk_button_stock_alignment_set (GTK_BUTTON (state->add_btn), 0., .5, 0., 0.);
gtk_button_stock_alignment_set (GTK_BUTTON (state->delete_btn), 0., .5, 0., 0.);
gtk_button_stock_alignment_set (GTK_BUTTON (state->change_btn), 0., .5, 0., 0.);
gtk_button_set_alignment (GTK_BUTTON (state->add_btn), 0., .5);
gtk_button_set_alignment (GTK_BUTTON (state->delete_btn), 0., .5);
gtk_button_set_alignment (GTK_BUTTON (state->change_btn), 0., .5);
table = GTK_TABLE (glade_xml_get_widget (gui, "main_table"));
state->zone = gnm_expr_entry_new (wbcg, TRUE);
......
......@@ -7,7 +7,7 @@
#include <gtk/gtklabel.h>
#include <gtk/gtkstock.h>
#include <gtk/gtkvbox.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include "dialogs.h"
static void
......
......@@ -21,7 +21,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
......
......@@ -17,7 +17,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -27,7 +27,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......@@ -745,12 +745,10 @@ dialog_plugin_manager (WorkbookControlGUI *wbcg)
pm_gui->button_directory_add = GTK_BUTTON (glade_xml_get_widget
(gui, "button_directory_add"));
gtk_button_stock_alignment_set (GTK_BUTTON (pm_gui->button_directory_add),
0., .5, 0., 0.);
gtk_button_set_alignment (GTK_BUTTON (pm_gui->button_directory_add), 0., .5);
pm_gui->button_directory_delete = GTK_BUTTON (glade_xml_get_widget
(gui, "button_directory_delete"));
gtk_button_stock_alignment_set (GTK_BUTTON (pm_gui->button_directory_delete),
0., .5, 0., 0.);
gtk_button_set_alignment (GTK_BUTTON (pm_gui->button_directory_delete), 0., .5);
cb_pm_dir_selection_changed (NULL, pm_gui);
g_signal_connect (pm_gui->selection_directory,
......
......@@ -24,7 +24,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "application.h"
#include "dialogs.h"
......
......@@ -21,7 +21,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -23,7 +23,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -21,7 +21,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -22,7 +22,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -25,7 +25,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......@@ -211,7 +211,7 @@ cb_selection_changed (G_GNUC_UNUSED GtkTreeSelection *ignored,
gtk_widget_set_sensitive (state->delete_btn, TRUE);
gtk_button_set_label (GTK_BUTTON (state->delete_btn),
is_deleted ? GTK_STOCK_UNDELETE : GTK_STOCK_DELETE);
gtk_button_stock_alignment_set (GTK_BUTTON (state->delete_btn), 0., .5, 0., 0.);
gtk_button_set_alignment (GTK_BUTTON (state->delete_btn), 0., .5);
gtk_widget_set_sensitive (state->up_btn,
location_of_iter (&iter, state->model) > 0);
......@@ -945,10 +945,10 @@ dialog_sheet_order (WorkbookControlGUI *wbcg)
"sheet_order_changed", G_CALLBACK (cb_sheet_order_changed),
state);
gtk_button_stock_alignment_set (GTK_BUTTON (state->up_btn), 0., .5, 0., 0.);
gtk_button_stock_alignment_set (GTK_BUTTON (state->down_btn), 0., .5, 0., 0.);
gtk_button_stock_alignment_set (GTK_BUTTON (state->add_btn), 0., .5, 0., 0.);
gtk_button_stock_alignment_set (GTK_BUTTON (state->delete_btn), 0., .5, 0., 0.);
gtk_button_set_alignment (GTK_BUTTON (state->up_btn), 0., .5);
gtk_button_set_alignment (GTK_BUTTON (state->down_btn), 0., .5);
gtk_button_set_alignment (GTK_BUTTON (state->add_btn), 0., .5);
gtk_button_set_alignment (GTK_BUTTON (state->delete_btn), 0., .5);
vbox = GTK_BOX (glade_xml_get_widget (gui,"sheet_order_buttons_vbox"));
cg = color_group_fetch ("back_color_group", wb_control_view (WORKBOOK_CONTROL (wbcg)));
......
......@@ -24,7 +24,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -25,7 +25,7 @@
#undef GTK_DISABLE_DEPRECATED
#warning "This file uses GTK_DISABLE_DEPRECATED"
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -22,7 +22,7 @@
#undef GTK_DISABLE_DEPRECATED
#warning "This file uses GTK_DISABLE_DEPRECATED"
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialog-stf-export-private.h"
......
......@@ -23,7 +23,7 @@
#undef GTK_DISABLE_DEPRECATED
#warning "This file uses GTK_DISABLE_DEPRECATED"
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialog-stf-export.h"
#include "dialog-stf-export-private.h"
......
......@@ -20,7 +20,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialog-stf.h"
#include <gui-util.h>
......
......@@ -20,7 +20,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialog-stf.h"
#include <format.h>
......
......@@ -20,7 +20,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialog-stf.h"
#include <gui-util.h>
......
......@@ -21,7 +21,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialog-stf-preview.h"
#include "dialog-stf.h"
......
......@@ -20,7 +20,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialog-stf.h"
......
......@@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -23,7 +23,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -19,7 +19,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -20,7 +20,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
......@@ -20,7 +20,7 @@
*/
#include <gnumeric-config.h>
#include <gnumeric-i18n.h>
#include <glib/gi18n.h>
#include <gnumeric.h>
#include "dialogs.h"
#include "help.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment