Rename lot viewer related files to be more in line with other dialogs

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21148 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens 2011-08-10 21:10:42 +00:00
parent 185ffe0194
commit 78056d6e92
10 changed files with 19 additions and 15 deletions

View File

@ -198,6 +198,7 @@ src/gnome/assistant-stock-split.c
src/gnome/dialog-commodities.c
src/gnome/dialog-fincalc.c
src/gnome/dialog-find-transactions.c
src/gnome/dialog-lot-viewer.c
src/gnome/dialog-new-user.c
src/gnome/dialog-price-edit-db.c
src/gnome/dialog-price-editor.c
@ -233,8 +234,8 @@ src/gnome/gtkbuilder/assistant-stock-split.glade
src/gnome/gtkbuilder/autoclear.glade
src/gnome/gtkbuilder/budget.glade
src/gnome/gtkbuilder/commodities.glade
src/gnome/gtkbuilder/dialog-lot-viewer.glade
src/gnome/gtkbuilder/fincalc.glade
src/gnome/gtkbuilder/lots.glade
src/gnome/gtkbuilder/newuser.glade
src/gnome/gtkbuilder/owner.glade
src/gnome/gtkbuilder/price.glade
@ -245,7 +246,6 @@ src/gnome/gtkbuilder/register.glade
src/gnome/gtkbuilder/sched-xact.glade
src/gnome/gtkbuilder/tax.glade
src/gnome/gtkbuilder/userpass.glade
src/gnome/lot-viewer.c
src/gnome/reconcile-list.c
src/gnome/schemas/apps_gnucash_dialog_commodities.schemas.in
src/gnome/schemas/apps_gnucash_dialog_common.schemas.in

View File

@ -60,7 +60,7 @@
#include "gnc-ui.h"
#include "gnc-ui-util.h"
#include "guile-mappings.h"
#include "lot-viewer.h"
#include "dialog-lot-viewer.h"
#include "dialog-object-references.h"
/* This static indicates the debugging module that this .o belongs to. */

View File

@ -26,13 +26,13 @@
* FUNCTION:
* Lots implement the fundamental conceptual idea behind invoices,
* inventory lots, and stock market investment lots. See the file
* src/doc/lots.txt for implmentation overview.
* src/doc/lots.txt for implementation overview.
*
* XXX Lots are not currently treated in a correct transactional
* manner. There's now a per-Lot dirty flag in the QofInstance, but
* this code still needs to emit the correct signals when a lot has
* changed. This is true both in the Scrub2.c and in
* src/gnome/lot-viewer.c
* src/gnome/dialog-lot-viewer.c
*
* HISTORY:
* Created by Linas Vepstas May 2002

View File

@ -31,6 +31,7 @@ libgnc_gnome_la_SOURCES = \
dialog-commodities.c \
dialog-fincalc.c \
dialog-find-transactions.c \
dialog-lot-viewer.c \
dialog-new-user.c \
dialog-price-editor.c \
dialog-price-edit-db.c \
@ -49,7 +50,6 @@ libgnc_gnome_la_SOURCES = \
gnc-plugin-page-sx-list.c \
gnc-plugin-page-register.c \
gnc-split-reg.c \
lot-viewer.c \
reconcile-list.c \
top-level.c \
window-reconcile.c \
@ -70,6 +70,7 @@ noinst_HEADERS = \
assistant-stock-split.h \
dialog-fincalc.h \
dialog-find-transactions.h \
dialog-lot-viewer.h \
dialog-new-user.h \
dialog-print-check.h \
dialog-progress.h \
@ -85,7 +86,6 @@ noinst_HEADERS = \
gnc-plugin-page-sx-list.h \
gnc-plugin-page-register.h \
gnc-split-reg.h \
lot-viewer.h \
reconcile-list.h \
top-level.h \
window-reconcile.h \

View File

@ -1,6 +1,7 @@
/*******************************************************************\
* lot-viewer.c -- a basic lot viewer for GnuCash *
* dialog-lot-viewer.c -- a basic lot viewer for GnuCash *
* Copyright (C) 2003 Linas Vepstas <linas@linas.org> *
* Copyright (C) 2011 Geert Janssens <geert@kobaltwit.be> *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License as *
@ -40,13 +41,13 @@
#include "Transaction.h"
#include "dialog-utils.h"
#include "lot-viewer.h"
#include "dialog-lot-viewer.h"
#include "gnc-component-manager.h"
#include "gnc-ui-util.h"
#include "gnc-gconf-utils.h"
#include "misc-gnome-utils.h"
#define LOT_VIEWER_CM_CLASS "lot-viewer"
#define LOT_VIEWER_CM_CLASS "dialog-lot-viewer"
enum lot_cols
{
@ -743,7 +744,7 @@ lv_create (GNCLotViewer *lv)
builder = gtk_builder_new();
gnc_builder_add_from_file (builder, "lots.glade", "Lot Viewer Window");
gnc_builder_add_from_file (builder, "dialog-lot-viewer.glade", "Lot Viewer Window");
lv->window = GTK_WIDGET(gtk_builder_get_object (builder, "Lot Viewer Window"));

View File

@ -1,6 +1,7 @@
/*******************************************************************\
* lot-viewer.h -- a basic lot viewer for GnuCash *
* dialog-lot-viewer.h -- a basic lot viewer for GnuCash *
* Copyright (C) 2003 Linas Vepstas <linas@linas.org> *
* Copyright (C) 2011 Geert Janssens <geert@kobaltwit.be> *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License as *

View File

@ -60,7 +60,7 @@
#include "gnc-tree-model-account-types.h"
#include "gnc-ui.h"
#include "gnc-ui-util.h"
#include "lot-viewer.h"
#include "dialog-lot-viewer.h"
#include "window-reconcile.h"
#include "window-autoclear.h"
#include "window-main-summarybar.h"

View File

@ -68,7 +68,7 @@
#include "gnc-main-window.h"
#include "gnc-session.h"
#include "gnucash-sheet.h"
#include "lot-viewer.h"
#include "dialog-lot-viewer.h"
#include "Scrub.h"
#include "qof.h"
#include "window-reconcile.h"

View File

@ -8,8 +8,8 @@ gtkbuilder_DATA = \
autoclear.glade \
budget.glade \
commodities.glade \
dialog-lot-viewer.glade \
fincalc.glade \
lots.glade \
newuser.glade \
owner.glade \
price.glade \

View File

@ -201,6 +201,8 @@
<packing>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
<property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
<property name="x_padding">12</property>
</packing>
</child>