]> git.lyx.org Git - lyx.git/commitdiff
Proper naming for tab-group-close.
authorPavel Sanda <sanda@lyx.org>
Sat, 29 Sep 2012 15:16:52 +0000 (17:16 +0200)
committerPavel Sanda <sanda@lyx.org>
Sat, 29 Sep 2012 15:16:52 +0000 (17:16 +0200)
14 files changed:
RELEASE-NOTES
development/qmake/Resources.qrc
lib/Makefile.am
lib/images/classic/close-tab-group.png [deleted file]
lib/images/classic/tab-group-close.png [new file with mode: 0644]
lib/images/close-tab-group.png [deleted file]
lib/images/oxygen/close-tab-group.png [deleted file]
lib/images/oxygen/tab-group-close.png [new file with mode: 0644]
lib/images/tab-group-close.png [new file with mode: 0644]
lib/ui/stdcontext.inc
lib/ui/stdmenus.inc
src/FuncCode.h
src/LyXAction.cpp
src/frontends/qt4/GuiView.cpp

index 3d5d7469cd7d6e6f2489f603d58d3306c47aaf43..1883dc58b2e2ce36c49635220952648ba49bb283 100644 (file)
@@ -79,6 +79,8 @@ The following LyX functions have been changed:
   to show the settings dialog. This is no longer possible and one should use
   inset-settings for this purpose.
  
+-  LFUN_CLOSE_TAB_GROUP_CLOSE ("close-tab-group") was renamed to
+   LFUN_TAB_GROUP_CLOSE ("tab-group-close").
 
 The following LyX key bindings have been changed:
 
index 13262b5d98f98dbe52fd9a92f0c8afcc6da9bdd8..070769869c2ffe9c5831bac3a1b486dceab50c49 100644 (file)
 <file alias="images/all-changes-accept.png">../../lib/images/all-changes-accept.png</file>
 <file alias="images/banner.png">../../lib/images/banner.png</file>
 <file alias="images/url-insert.png">../../lib/images/url-insert.png</file>
-<file alias="images/close-tab-group.png">../../lib/images/close-tab-group.png</file>
+<file alias="images/tab-group-close.png">../../lib/images/tab-group-close.png</file>
 <file alias="images/tabular-feature_delete-row.png">../../lib/images/tabular-feature_delete-row.png</file>
 <file alias="images/tabular-feature_set-longtabular.png">../../lib/images/tabular-feature_set-longtabular.png</file>
 <file alias="images/buffer-view_pdf2.png">../../lib/images/buffer-view_pdf2.png</file>
index 557818aaf43e45fb00f6e3e2e97355ab616c80a5..80ca7e79fb5ccfe116d25db6996eb06249146dea 100644 (file)
@@ -355,7 +355,7 @@ dist_images_DATA = \
        images/changes-output.png \
        images/changes-track.png \
        images/closetab.png \
-       images/close-tab-group.png \
+       images/tab-group-close.png \
        images/copy.png \
        images/cut.png \
        images/demote.png \
@@ -1212,7 +1212,7 @@ dist_imagesoxygen_DATA = \
        images/oxygen/change-reject.png \
        images/oxygen/changes-output.png \
        images/oxygen/changes-track.png \
-       images/oxygen/close-tab-group.png \
+       images/oxygen/tab-group-close.png \
        images/oxygen/closetab.png \
        images/oxygen/copy.png \
        images/oxygen/cut.png \
@@ -1322,7 +1322,7 @@ dist_imagesclassic_DATA = \
        images/classic/changes-merge.png  \
        images/classic/changes-output.png  \
        images/classic/changes-track.png  \
-       images/classic/close-tab-group.png  \
+       images/classic/tab-group-close.png  \
        images/classic/copy.png  \
        images/classic/cut.png  \
        images/classic/demote.png  \
diff --git a/lib/images/classic/close-tab-group.png b/lib/images/classic/close-tab-group.png
deleted file mode 100644 (file)
index 02511b7..0000000
Binary files a/lib/images/classic/close-tab-group.png and /dev/null differ
diff --git a/lib/images/classic/tab-group-close.png b/lib/images/classic/tab-group-close.png
new file mode 100644 (file)
index 0000000..02511b7
Binary files /dev/null and b/lib/images/classic/tab-group-close.png differ
diff --git a/lib/images/close-tab-group.png b/lib/images/close-tab-group.png
deleted file mode 100644 (file)
index 02511b7..0000000
Binary files a/lib/images/close-tab-group.png and /dev/null differ
diff --git a/lib/images/oxygen/close-tab-group.png b/lib/images/oxygen/close-tab-group.png
deleted file mode 100644 (file)
index 6f15ad8..0000000
Binary files a/lib/images/oxygen/close-tab-group.png and /dev/null differ
diff --git a/lib/images/oxygen/tab-group-close.png b/lib/images/oxygen/tab-group-close.png
new file mode 100644 (file)
index 0000000..6f15ad8
Binary files /dev/null and b/lib/images/oxygen/tab-group-close.png differ
diff --git a/lib/images/tab-group-close.png b/lib/images/tab-group-close.png
new file mode 100644 (file)
index 0000000..02511b7
Binary files /dev/null and b/lib/images/tab-group-close.png differ
index fb6a45d2d5708fc6bf19e2fc3ac83645da8181ee..41f498288c180e9fea40bd334dac5f07a2c1ece8 100644 (file)
@@ -317,7 +317,7 @@ Menuset
                LanguageSelector
                Separator
                Item "Fullscreen Mode" "ui-toggle fullscreen"
-               OptItem "Close Current View" "close-tab-group"
+               OptItem "Close Current View" "tab-group-close"
        End
 
 
index 097de8e2d5ce73dffd9b82bb4538837418cc9871..cb0093571af7e0bd6c60bbb160553b9339e45f9f 100644 (file)
@@ -330,7 +330,7 @@ Menuset
                Separator
                Item "Split View Into Left and Right Half|i" "split-view horizontal"
                Item "Split View Into Upper and Lower Half|e" "split-view vertical"
-               OptItem "Close Current View|w" "close-tab-group"
+               OptItem "Close Current View|w" "tab-group-close"
                Item "Fullscreen|l" "ui-toggle fullscreen"      
                Submenu "Toolbars|b" "toolbars"
                Separator
index d196d641affcd5a66a8f9052d04bff4bf327ea86..f70d461f6d007bdbc7b9339653fa3bbe18f26736 100644 (file)
@@ -51,7 +51,7 @@ enum FuncCode
        LFUN_SELECTION_PASTE, // JMarc 2008/12/15
        LFUN_CUT,
        LFUN_COPY,
-       LFUN_CLOSE_TAB_GROUP,
+       LFUN_TAB_GROUP_CLOSE,
        LFUN_NOTE_NEXT,
        // 20
        LFUN_INSET_TOGGLE,
index 929c35236b6b54e663784a417ff49b070b9e34b0..d1248b06c3db4656921289d3ec998f62a9053687 100644 (file)
@@ -2676,15 +2676,15 @@ void LyXAction::init()
                { LFUN_SPLIT_VIEW, "split-view", ReadOnly, Buffer },
 
 /*!
- * \var lyx::FuncCode lyx::LFUN_CLOSE_TAB_GROUP
+ * \var lyx::FuncCode lyx::LFUN_TAB_GROUP_CLOSE
  * \li Action: Close the current tab group.
  * \li Notion: This only closes the work areas, not the buffers themselves.
                The still opened buffers can be visualized in another tab group.
- * \li Syntax: close-tab-group
+ * \li Syntax: tab-group-close
  * \li Origin: Abdel, 21 Feb 2008
  * \endvar
  */
-               { LFUN_CLOSE_TAB_GROUP, "close-tab-group", ReadOnly, Buffer },
+               { LFUN_TAB_GROUP_CLOSE, "tab-group-close", ReadOnly, Buffer },
 
 /*!
  * \var lyx::FuncCode lyx::LFUN_VIEW_CLOSE
index 3eda5409a27cd6e0f4382abdb946e9e009ce7a4e..a68252186e7957a344b01cab1873757def154971 100644 (file)
@@ -1717,7 +1717,7 @@ bool GuiView::getStatus(FuncRequest const & cmd, FuncStatus & flag)
                                         d.splitter_->orientation() == Qt::Horizontal);
                break;
 
-       case LFUN_CLOSE_TAB_GROUP:
+       case LFUN_TAB_GROUP_CLOSE:
                enable = d.tabWorkAreaCount() > 1;
                break;
 
@@ -3603,7 +3603,7 @@ void GuiView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
                        setCurrentWorkArea(wa);
                        break;
                }
-               case LFUN_CLOSE_TAB_GROUP:
+               case LFUN_TAB_GROUP_CLOSE:
                        if (TabWorkArea * twa = d.currentTabWorkArea()) {
                                closeTabWorkArea(twa);
                                d.current_work_area_ = 0;