[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: gaf.git: branch: master updated (1.6.1-20100214-290-g1c531ec)
The branch, master has been updated
discards 4e5cec5a2b5610a021dc2011e2451ebafb61c41a (commit)
via 1c531ec953bb3a7fe895eafc65c3d4f85c2603c6 (commit)
from 4e5cec5a2b5610a021dc2011e2451ebafb61c41a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
gschem/include/prototype.h | 3 ---
gschem/lib/system-gschemrc.scm | 6 ++----
gschem/src/g_keys.c | 1 -
gschem/src/g_register.c | 1 -
gschem/src/i_callbacks.c | 24 ------------------------
gschem/src/o_misc.c | 30 ------------------------------
6 files changed, 2 insertions(+), 63 deletions(-)
=================
Commit Messages
=================
commit 1c531ec953bb3a7fe895eafc65c3d4f85c2603c6
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
gschem: Delete "Edit"->"Make Inv Text Vis" menu item
This menu item trips up more people than it helps. Remove
it and associated code. (By popular request on geda-user.)
:100644 100644 211d07d... 49c4f7e... M gschem/include/prototype.h
:100644 100644 854ac1f... 95df6d7... M gschem/lib/system-gschemrc.scm
:100644 100644 d743ef8... f3d36c4... M gschem/src/g_keys.c
:100644 100644 2b71dd7... 4a9fd39... M gschem/src/g_register.c
:100644 100644 b50d67b... 18135b8... M gschem/src/i_callbacks.c
:100644 100644 4da4f74... d629054... M gschem/src/o_misc.c
=========
Changes
=========
commit 1c531ec953bb3a7fe895eafc65c3d4f85c2603c6
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
gschem: Delete "Edit"->"Make Inv Text Vis" menu item
This menu item trips up more people than it helps. Remove
it and associated code. (By popular request on geda-user.)
diff --git a/gschem/include/prototype.h b/gschem/include/prototype.h
index 211d07d..49c4f7e 100644
--- a/gschem/include/prototype.h
+++ b/gschem/include/prototype.h
@@ -91,7 +91,6 @@ SCM g_keys_edit_embed(SCM rest);
SCM g_keys_edit_unembed(SCM rest);
SCM g_keys_edit_update(SCM rest);
SCM g_keys_edit_show_hidden(SCM rest);
-SCM g_keys_edit_make_visible(SCM rest);
SCM g_keys_edit_find(SCM rest);
SCM g_keys_edit_show_text(SCM rest);
SCM g_keys_edit_hide_text(SCM rest);
@@ -351,7 +350,6 @@ void i_callback_edit_embed(gpointer data, guint callback_action, GtkWidget *widg
void i_callback_edit_unembed(gpointer data, guint callback_action, GtkWidget *widget);
void i_callback_edit_update(gpointer data, guint callback_action, GtkWidget *widget);
void i_callback_edit_show_hidden(gpointer data, guint callback_action, GtkWidget *widget);
-void i_callback_edit_make_visible(gpointer data, guint callback_action, GtkWidget *widget);
void i_callback_edit_find(gpointer data, guint callback_action, GtkWidget *widget);
void i_callback_edit_hide_text(gpointer data, guint callback_action, GtkWidget *widget);
void i_callback_edit_show_text(gpointer data, guint callback_action, GtkWidget *widget);
@@ -606,7 +604,6 @@ void o_rotate_call_hooks(GSCHEM_TOPLEVEL *w_current, GList *list);
void o_mirror_world_update(GSCHEM_TOPLEVEL *w_current, int centerx, int centery, GList *list);
void o_edit_show_hidden_lowlevel(GSCHEM_TOPLEVEL *w_current, const GList *o_list);
void o_edit_show_hidden(GSCHEM_TOPLEVEL *w_current, const GList *o_list);
-void o_edit_make_visible(GSCHEM_TOPLEVEL *w_current, const GList *o_list);
int o_edit_find_text(GSCHEM_TOPLEVEL *w_current, const GList *o_list, char *stext, int descend, int skip);
void o_edit_hide_specific_text(GSCHEM_TOPLEVEL *w_current, const GList *o_list, char *stext);
void o_edit_show_specific_text(GSCHEM_TOPLEVEL *w_current, const GList *o_list, char *stext);
diff --git a/gschem/lib/system-gschemrc.scm b/gschem/lib/system-gschemrc.scm
index 854ac1f..95df6d7 100644
--- a/gschem/lib/system-gschemrc.scm
+++ b/gschem/lib/system-gschemrc.scm
@@ -1199,8 +1199,7 @@
("b" . edit-embed)
("u" . edit-unembed)
("p" . edit-update)
- ("n" . edit-show-hidden)
- ("v" . edit-make-text-visible)))
+ ("n" . edit-show-hidden)))
;;; ("h" . edit-stretch-hotkey) Obsolete
@@ -1429,8 +1428,7 @@
(,(N_ "Embed Component/Picture") edit-embed edit-embed #f)
(,(N_ "Unembed Component/Picture") edit-unembed edit-unembed #f)
(,(N_ "Update Component") edit-update edit-update "gtk-refresh")
- (,(N_ "Show/Hide Inv Text") edit-show-hidden edit-show-hidden #f)
- (,(N_ "Make Inv Text Vis") edit-make-text-visible edit-make-text-visible #f)))
+ (,(N_ "Show/Hide Inv Text") edit-show-hidden edit-show-hidden #f)))
(define buffer-menu-items
;;
diff --git a/gschem/src/g_keys.c b/gschem/src/g_keys.c
index d743ef8..f3d36c4 100644
--- a/gschem/src/g_keys.c
+++ b/gschem/src/g_keys.c
@@ -251,7 +251,6 @@ DEFINE_G_KEYS(edit_embed)
DEFINE_G_KEYS(edit_unembed)
DEFINE_G_KEYS(edit_update)
DEFINE_G_KEYS(edit_show_hidden)
-DEFINE_G_KEYS(edit_make_visible)
DEFINE_G_KEYS(edit_find)
DEFINE_G_KEYS(edit_show_text)
DEFINE_G_KEYS(edit_hide_text)
diff --git a/gschem/src/g_register.c b/gschem/src/g_register.c
index 2b71dd7..4a9fd39 100644
--- a/gschem/src/g_register.c
+++ b/gschem/src/g_register.c
@@ -192,7 +192,6 @@ static struct gsubr_t gschem_funcs[] = {
{ "edit-unembed", 0, 0, 0, g_keys_edit_unembed },
{ "edit-update", 0, 0, 0, g_keys_edit_update },
{ "edit-show-hidden", 0, 0, 0, g_keys_edit_show_hidden },
- { "edit-make-text-visible", 0, 0, 0, g_keys_edit_make_visible },
{ "edit-find-text", 0, 0, 0, g_keys_edit_find },
{ "edit-show-text", 0, 0, 0, g_keys_edit_show_text },
{ "edit-hide-text", 0, 0, 0, g_keys_edit_hide_text },
diff --git a/gschem/src/i_callbacks.c b/gschem/src/i_callbacks.c
index b50d67b..18135b8 100644
--- a/gschem/src/i_callbacks.c
+++ b/gschem/src/i_callbacks.c
@@ -1175,30 +1175,6 @@ DEFINE_I_CALLBACK(edit_show_hidden)
* \par Function Description
*
*/
-DEFINE_I_CALLBACK(edit_make_visible)
-{
- GSCHEM_TOPLEVEL *w_current = (GSCHEM_TOPLEVEL*) data;
-
- exit_if_null(w_current);
-
- /* This is a new addition 3/15 to prevent this from executing
- * inside an action */
- if (w_current->inside_action)
- return;
-
- i_update_middle_button(w_current,
- i_callback_edit_make_visible,
- _("MakeVisible"));
-
- o_edit_make_visible (w_current,
- s_page_objects (w_current->toplevel->page_current));
-}
-
-/*! \todo Finish function documentation!!!
- * \brief
- * \par Function Description
- *
- */
DEFINE_I_CALLBACK(edit_find)
{
GSCHEM_TOPLEVEL *w_current = (GSCHEM_TOPLEVEL*) data;
diff --git a/gschem/src/o_misc.c b/gschem/src/o_misc.c
index 4da4f74..d629054 100644
--- a/gschem/src/o_misc.c
+++ b/gschem/src/o_misc.c
@@ -412,36 +412,6 @@ void o_edit_show_hidden (GSCHEM_TOPLEVEL *w_current, const GList *o_list)
}
}
-/*! \todo Finish function documentation!!!
- * \brief
- * \par Function Description
- *
- */
-void o_edit_make_visible (GSCHEM_TOPLEVEL *w_current, const GList *o_list)
-{
- /* this function actually changes the visibility flag */
- TOPLEVEL *toplevel = w_current->toplevel;
- OBJECT *o_current;
- const GList *iter;
-
- iter = o_list;
- while (iter != NULL) {
- o_current = (OBJECT *)iter->data;
-
- if (o_current->type == OBJ_TEXT) {
- if (!o_is_visible (toplevel, o_current)) {
- o_set_visibility (toplevel, o_current, VISIBLE);
- o_text_recreate(toplevel, o_current);
-
- toplevel->page_current->CHANGED = 1;
- }
- }
- iter = g_list_next (iter);
- }
- o_undo_savestate(w_current, UNDO_ALL);
-
-}
-
#define FIND_WINDOW_HALF_SIZE (5000)
OBJECT *last_o = NULL;
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs